chiark / gitweb /
elogind.git
9 years agodevice: don't warn if we cannot bump the socket buffer
Lennart Poettering [Sat, 8 Jan 2011 01:30:07 +0000 (02:30 +0100)]
device: don't warn if we cannot bump the socket buffer

9 years agoupdate TODO
Lennart Poettering [Fri, 7 Jan 2011 00:12:27 +0000 (01:12 +0100)]
update TODO

9 years agologger: when passing on PID info, fall back to our own if originating process is...
Lennart Poettering [Thu, 6 Jan 2011 23:18:51 +0000 (00:18 +0100)]
logger: when passing on PID info, fall back to our own if originating process is already gone

9 years agoservice: don't hit an assert if information in LSB headers is incorrectly formatted
Lennart Poettering [Thu, 6 Jan 2011 22:52:58 +0000 (23:52 +0100)]
service: don't hit an assert if information in LSB headers is incorrectly formatted

https://bugzilla.redhat.com/show_bug.cgi?id=667665

9 years agoexecute,util: fix two small memory leaks
Lennart Poettering [Thu, 6 Jan 2011 22:52:17 +0000 (23:52 +0100)]
execute,util: fix two small memory leaks

9 years agospecifier: at minimal test
Lennart Poettering [Thu, 6 Jan 2011 22:51:52 +0000 (23:51 +0100)]
specifier: at minimal test

9 years agogetty: unset locale before execution
Lennart Poettering [Thu, 6 Jan 2011 19:38:06 +0000 (20:38 +0100)]
getty: unset locale before execution

On the console indian characters cannot be displayed, hence it is
advisable to disable indian locales on the console, which most
distributions traditionally did from a shell fragment executed post
login. If getty gets started with locale settings passed it would itself
however be translated without the no-indian-on-console fixup applied.

Hence, for now don't pass any locale settings to getty/login, and thus
rely on the classic post-login script fragment to set and fix the
locale.

Eventually we probably want to drop this again since the system locale
should be read and set at one place, and not at multiple, and that one
place should be PID 1.

https://bugzilla.redhat.com/show_bug.cgi?id=663900

9 years agoexecute: drop empty assignments from env blocks on execution but keep them around...
Lennart Poettering [Thu, 6 Jan 2011 19:38:02 +0000 (20:38 +0100)]
execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible

9 years agoumount: don't try to detach the dm device the root dir is on, to minimize warning...
Lennart Poettering [Thu, 6 Jan 2011 18:10:17 +0000 (19:10 +0100)]
umount: don't try to detach the dm device the root dir is on, to minimize warning messages

9 years agoupdate TODO
Lennart Poettering [Thu, 6 Jan 2011 17:54:10 +0000 (18:54 +0100)]
update TODO

9 years agolocale: fix variable names
Lennart Poettering [Thu, 6 Jan 2011 00:39:25 +0000 (01:39 +0100)]
locale: fix variable names

9 years agofragment: allow prefixing of the EnvironmentFile= path with - to ignore errors
Lennart Poettering [Thu, 6 Jan 2011 00:39:08 +0000 (01:39 +0100)]
fragment: allow prefixing of the EnvironmentFile= path with - to ignore errors

9 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 15:17:55 +0000 (16:17 +0100)]
update TODO

9 years agoutil: don't pass invalid fd to fdopendir() on error to avoid corruption of errno
Lennart Poettering [Wed, 5 Jan 2011 15:17:26 +0000 (16:17 +0100)]
util: don't pass invalid fd to fdopendir() on error to avoid corruption of errno

9 years agotmpfiles: nicer message when two or more conflicting lines are configured for the...
Lennart Poettering [Wed, 5 Jan 2011 15:11:15 +0000 (16:11 +0100)]
tmpfiles: nicer message when two or more conflicting lines are configured for the same file

9 years agofragment: properly handle quotes in assignments in EnvironmentFile= files
Lennart Poettering [Wed, 5 Jan 2011 15:06:35 +0000 (16:06 +0100)]
fragment: properly handle quotes in assignments in EnvironmentFile= files

9 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 14:42:20 +0000 (15:42 +0100)]
update TODO

9 years agoupdate TODO
Lennart Poettering [Wed, 5 Jan 2011 00:04:59 +0000 (01:04 +0100)]
update TODO

9 years agosysctl: don't warn if sysctls are gone
Lennart Poettering [Tue, 4 Jan 2011 23:05:53 +0000 (00:05 +0100)]
sysctl: don't warn if sysctls are gone

9 years agoreadahead: ignore if files are removed during collection or before replay
Lennart Poettering [Tue, 4 Jan 2011 22:42:58 +0000 (23:42 +0100)]
readahead: ignore if files are removed during collection or before replay

9 years agoserial: use TERM=vt100 instead of TERM=vt100-nav
Lennart Poettering [Tue, 4 Jan 2011 20:45:52 +0000 (21:45 +0100)]
serial: use TERM=vt100 instead of TERM=vt100-nav

TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.

Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.

9 years agosystemctl: Don't use Debian's 'sensible-pager', use 'pager' instead
Lennart Poettering [Tue, 4 Jan 2011 13:51:48 +0000 (14:51 +0100)]
systemctl: Don't use Debian's 'sensible-pager', use 'pager' instead

9 years agofix help message for --with-tty-gid configure option
Michael Biebl [Tue, 4 Jan 2011 01:26:30 +0000 (02:26 +0100)]
fix help message for --with-tty-gid configure option

9 years agocryptsetup: call mkswap on dm device, not on source device
Lennart Poettering [Tue, 4 Jan 2011 01:12:07 +0000 (02:12 +0100)]
cryptsetup: call mkswap on dm device, not on source device

9 years agomount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable...
Lennart Poettering [Tue, 4 Jan 2011 00:58:38 +0000 (01:58 +0100)]
mount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable via configure switch

9 years agosystemctl: drop redundant getenv('LESS') check
Lennart Poettering [Tue, 4 Jan 2011 00:18:57 +0000 (01:18 +0100)]
systemctl: drop redundant getenv('LESS') check

9 years agosystemctl: spawn pager only for commands that generates long output
Lennart Poettering [Tue, 4 Jan 2011 00:04:20 +0000 (01:04 +0100)]
systemctl: spawn pager only for commands that generates long output

9 years agosystemctl: make the child the pager, leave systemctl as parent
Lennart Poettering [Mon, 3 Jan 2011 23:58:28 +0000 (00:58 +0100)]
systemctl: make the child the pager, leave systemctl as parent

It's nicer if the child process gets reinitialized cleanly instead of
the parent process.

9 years agosystemctl: try harder to find a suitable pager
Lennart Poettering [Mon, 3 Jan 2011 23:47:40 +0000 (00:47 +0100)]
systemctl: try harder to find a suitable pager

9 years agosystemctl: implement auto-pager a la git
Miklos Vajna [Sat, 1 Jan 2011 23:25:57 +0000 (00:25 +0100)]
systemctl: implement auto-pager a la git

9 years agoarch: remove welcome message
Tom Gundersen [Mon, 27 Dec 2010 22:52:02 +0000 (23:52 +0100)]
arch: remove welcome message

This is now done by os-release downstream.

9 years agoman: remaining spelling fixes
Miklos Vajna [Fri, 31 Dec 2010 00:50:51 +0000 (01:50 +0100)]
man: remaining spelling fixes

9 years agoshutdown: drop redundant sync() invocation
Lennart Poettering [Sat, 1 Jan 2011 18:54:12 +0000 (19:54 +0100)]
shutdown: drop redundant sync() invocation

9 years agoutil: invoke sync() implicitly on freeze()
Lennart Poettering [Sat, 1 Jan 2011 18:50:32 +0000 (19:50 +0100)]
util: invoke sync() implicitly on freeze()

Suggested by Tom Gundersen.

9 years agoupdate TODO
Kay Sievers [Tue, 28 Dec 2010 18:18:26 +0000 (19:18 +0100)]
update TODO

9 years agoupdate TODO
Kay Sievers [Tue, 28 Dec 2010 17:53:09 +0000 (18:53 +0100)]
update TODO

9 years agotmpfiles: ensure we do no follow symlinks when cleaning up dirs
Lennart Poettering [Tue, 28 Dec 2010 13:20:21 +0000 (14:20 +0100)]
tmpfiles: ensure we do no follow symlinks when cleaning up dirs

Patch suggested by Miloslav Trmac.

9 years agoservice: ifdef (more) distro-specific compat logic
Michael Biebl [Mon, 27 Dec 2010 17:41:54 +0000 (18:41 +0100)]
service: ifdef (more) distro-specific compat logic

This should make it easier to get rid of that compat code later and
avoids problems like stripping of rc. from /etc/init.d/rc.local on
Debian.

9 years agoupdate TODO
Lennart Poettering [Sat, 25 Dec 2010 18:06:48 +0000 (19:06 +0100)]
update TODO

9 years agopam: do not sort user sessions into their own cgroups in the 'cpu' hierarchy by default
Lennart Poettering [Fri, 24 Dec 2010 09:48:20 +0000 (10:48 +0100)]
pam: do not sort user sessions into their own cgroups in the 'cpu' hierarchy by default

While this offers quite a few benefits for normally scheduled processes
this breaks RT scheduling for all user processes, since we do not assign
an RT share to the cgroups created via this mechanism. If the user
cgroups have no RT share assigned no member process can make use of RT
functionality. However, software like JACK and PA/rtkit assume that RT
is available in some way or another, either via RLIMIT_RTPRIO or via
some privileged service. Creating implicit cpu cgroups but not adding
RT shares to them hence breaks these applications.

There is no sane way to implicitly add RT shares to these groups, since
they are pulled from a global, limited pool and it would hence be very
hard to make this work without limiting the number of concurrent
sessions, or constantly rewriting the cpu share settings of already
logged in session cgroups.

Most likely this issue needs to be fixed in-kernel because we can enable
this feature by default again.

9 years agomount-setup: drop noexec flag from default mount options for /dev/shm
Lennart Poettering [Thu, 23 Dec 2010 21:33:24 +0000 (22:33 +0100)]
mount-setup: drop noexec flag from default mount options for /dev/shm

We shouldn't break PROT_EXEC which is a valid mmap() flag.

9 years agoutil: properly handle OOM when allocating Debian version string
Lennart Poettering [Tue, 21 Dec 2010 09:05:20 +0000 (14:35 +0530)]
util: properly handle OOM when allocating Debian version string

9 years agodebian: Prefix welcome string with "Debian "
Michael Biebl [Tue, 21 Dec 2010 02:07:36 +0000 (03:07 +0100)]
debian: Prefix welcome string with "Debian "

For stable releases /etc/debian_version only contains a version number,
so we add a prefix "Debian ".

9 years agoFix misspellings in os-release manpage and hwclock-load.service
Miklos Vajna [Sat, 18 Dec 2010 01:45:12 +0000 (02:45 +0100)]
Fix misspellings in os-release manpage and hwclock-load.service

9 years agoFrugalware: start gettys after local.service
Miklos Vajna [Thu, 16 Dec 2010 14:00:51 +0000 (15:00 +0100)]
Frugalware: start gettys after local.service

9 years agoservice: ifdef distro-specific compat logic
Kay Sievers [Thu, 16 Dec 2010 13:29:34 +0000 (14:29 +0100)]
service: ifdef distro-specific compat logic

9 years agoservice: drop rc. prefix on frugalware linux
Miklos Vajna [Tue, 7 Dec 2010 21:51:21 +0000 (22:51 +0100)]
service: drop rc. prefix on frugalware linux

9 years agoman: daemon - fix misspellings
Miklos Vajna [Thu, 16 Dec 2010 00:55:59 +0000 (01:55 +0100)]
man: daemon - fix misspellings

9 years agoupdate TODO
Kay Sievers [Wed, 15 Dec 2010 16:24:22 +0000 (17:24 +0100)]
update TODO

9 years agosystemd.pc: change 'session' to 'user'
Jesse Zhang [Fri, 10 Dec 2010 08:00:49 +0000 (16:00 +0800)]
systemd.pc: change 'session' to 'user'

commit af2d49f ("drop support for MANAGER_SESSION, introduce
MANAGER_USER instead") forgot to update systemd.pc.

Signed-off-by: Jesse Zhang <zh.jesse@gmail.com>
9 years agosuse: add 'smtp' LSB facility
Kay Sievers [Thu, 9 Dec 2010 17:50:30 +0000 (18:50 +0100)]
suse: add 'smtp' LSB facility

9 years agoman: modules-load.d - fix misspellings
Miklos Vajna [Sun, 5 Dec 2010 09:14:06 +0000 (10:14 +0100)]
man: modules-load.d - fix misspellings

9 years agoupdate README
Kay Sievers [Wed, 1 Dec 2010 20:02:46 +0000 (21:02 +0100)]
update README

9 years agoupdate TODO
Kay Sievers [Wed, 1 Dec 2010 15:56:41 +0000 (16:56 +0100)]
update TODO

9 years agopath: fix watching the root directory
Michal Schmidt [Wed, 1 Dec 2010 14:39:52 +0000 (15:39 +0100)]
path: fix watching the root directory

If you have a path unit with:
  DirectoryNotEmpty=/foo
and "/foo" does not exist, creating it later escapes the attention of systemd.

When adding watches for parent directories, systemd never adds one for the root
directory. It attempts to add a watch for an empty string instead, which fails.

If the path is "/", we must not trim the slash.

9 years agosrc/quotacheck.c: Fix typo
Ozan Çağlayan [Wed, 1 Dec 2010 12:40:09 +0000 (14:40 +0200)]
src/quotacheck.c: Fix typo

Fix quota misspelling in quotacheck.c

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
9 years agoman: systemctl - clarify condrestart, force-reload
Ran Benita [Tue, 30 Nov 2010 17:05:13 +0000 (19:05 +0200)]
man: systemctl - clarify condrestart, force-reload

9 years agobuild-sys: frugalware linux support
Miklos Vajna [Mon, 29 Nov 2010 13:42:10 +0000 (14:42 +0100)]
build-sys: frugalware linux support

9 years agoman: systemctl - spelling fixes
Ran Benita [Sun, 28 Nov 2010 13:00:49 +0000 (14:00 +0100)]
man: systemctl - spelling fixes

9 years agoEnsure LIBNOTIFY07 conditional is always set
Michael Biebl [Sat, 27 Nov 2010 12:29:14 +0000 (13:29 +0100)]
Ensure LIBNOTIFY07 conditional is always set

Also use PKG_CHECK_EXISTS to test if libnotify is recent enough

9 years agoupdate README
Kay Sievers [Fri, 26 Nov 2010 19:48:29 +0000 (20:48 +0100)]
update README

9 years agoCreate convenience library libsystemd_daemon.la for sd-daemon.c
Michael Biebl [Fri, 26 Nov 2010 19:25:00 +0000 (20:25 +0100)]
Create convenience library libsystemd_daemon.la for sd-daemon.c

Instead of compiling sd-daemon.c 10 times, create a noinst convenience
library libsystemd_daemon.la.

9 years agognome-ask-password-agent: also support libnotify < 0.7 for now
Kay Sievers [Fri, 26 Nov 2010 16:59:53 +0000 (17:59 +0100)]
gnome-ask-password-agent: also support libnotify < 0.7 for now

9 years agoupdate TODO
Kay Sievers [Fri, 26 Nov 2010 15:08:35 +0000 (16:08 +0100)]
update TODO

9 years agoudev: make sure we aleways read from netlink, if there is data
Kay Sievers [Fri, 26 Nov 2010 15:06:30 +0000 (16:06 +0100)]
udev: make sure we aleways read from netlink, if there is data

9 years agoudev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices
Kay Sievers [Fri, 26 Nov 2010 03:51:30 +0000 (04:51 +0100)]
udev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices

9 years agoupdate TODO
Lennart Poettering [Fri, 26 Nov 2010 00:54:50 +0000 (01:54 +0100)]
update TODO

9 years agoupdate TODO
Lennart Poettering [Fri, 26 Nov 2010 00:42:22 +0000 (01:42 +0100)]
update TODO

9 years agoupdate TODO
Kay Sievers [Thu, 25 Nov 2010 15:01:22 +0000 (16:01 +0100)]
update TODO

9 years agoupdate TODO
Kay Sievers [Thu, 25 Nov 2010 06:01:01 +0000 (07:01 +0100)]
update TODO

9 years agobuild-sys: prepare release 15 v15
Lennart Poettering [Thu, 25 Nov 2010 00:41:25 +0000 (01:41 +0100)]
build-sys: prepare release 15

9 years agodbus: use the right data slot allocator
Lennart Poettering [Thu, 25 Nov 2010 00:37:21 +0000 (01:37 +0100)]
dbus: use the right data slot allocator

Thanks to 'trapni' on IRC for tracking this down.

9 years agounits: Remove Gentoo specific xdm.service v14
Gustavo Sverzut Barbieri [Thu, 25 Nov 2010 01:17:53 +0000 (23:17 -0200)]
units: Remove Gentoo specific xdm.service

That unity pulls in OpenRC which in turn pulls in most of legacy
system that causes lots of troubles as it is too smart, thus not
recommended.

Moreover, SystemD developers seems to agree that a service file per DM
is the best approach, so having gdm.service, kdm.service, slim.service
is better than a single wrapper for them.

9 years agobump version in preparation for release
Lennart Poettering [Wed, 24 Nov 2010 22:41:37 +0000 (23:41 +0100)]
bump version in preparation for release

9 years agomanager: bump up max number of units to 128K
Lennart Poettering [Wed, 24 Nov 2010 22:36:40 +0000 (23:36 +0100)]
manager: bump up max number of units to 128K

https://bugzilla.redhat.com/show_bug.cgi?id=655857

9 years agobuild-sys: get rid of special fedor install target
Lennart Poettering [Wed, 24 Nov 2010 22:23:23 +0000 (23:23 +0100)]
build-sys: get rid of special fedor install target

9 years agobuild-sys: distribute introspect.awk
Thierry Reding [Wed, 24 Nov 2010 18:49:21 +0000 (19:49 +0100)]
build-sys: distribute introspect.awk

9 years agobuild-sys: fix out-of-tree build
Thierry Reding [Wed, 24 Nov 2010 18:49:15 +0000 (19:49 +0100)]
build-sys: fix out-of-tree build

The introspect AWK script is located in the source tree, which is not
necessarily the same as the build tree, so prepend $(srcdir).

9 years agomount: trivial typo fix
Lennart Poettering [Wed, 24 Nov 2010 21:27:45 +0000 (22:27 +0100)]
mount: trivial typo fix

9 years agobuild-sys: allow cross-compilation
Thierry Reding [Tue, 23 Nov 2010 20:12:11 +0000 (21:12 +0100)]
build-sys: allow cross-compilation

When cross-compiling systemd, the introspection XML files fail to be
generated because the systemd host binary is not executable. This patch
works around this by putting the introspection XML data into separate
ELF sections and extracting them from the binary when generating the XML
files.

The extracted XML data is passed through the strings utility in order to
strip the trailing NUL character. A small AWK script is used to prepend
the doctype and add the opening and closing node tags respectively.
Finally, the C preprocessor is used to substitute the correct doctype
information from the D-Bus header files.

9 years agoupdate TODO
Lennart Poettering [Tue, 23 Nov 2010 18:42:35 +0000 (19:42 +0100)]
update TODO

9 years agounits: simplify shutdown scripts
Lennart Poettering [Tue, 23 Nov 2010 00:37:18 +0000 (01:37 +0100)]
units: simplify shutdown scripts

9 years agologger: fix error handling
Lennart Poettering [Tue, 23 Nov 2010 00:36:54 +0000 (01:36 +0100)]
logger: fix error handling

9 years agoswap: order file-based swap devices after remount-rootfs
Lennart Poettering [Mon, 22 Nov 2010 20:06:38 +0000 (21:06 +0100)]
swap: order file-based swap devices after remount-rootfs

9 years agomount_cgroup_controllers: expect 2 items from fscanf()
Kay Sievers [Mon, 22 Nov 2010 10:06:38 +0000 (11:06 +0100)]
mount_cgroup_controllers: expect 2 items from fscanf()

9 years agoman: make clear that VERSION and VERSION_ID is not mandatory in os-release.5
Lennart Poettering [Sun, 21 Nov 2010 23:26:08 +0000 (00:26 +0100)]
man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5

9 years agosystemctl: don't return LSB status error codes for systemctl show
Lennart Poettering [Sun, 21 Nov 2010 21:40:03 +0000 (22:40 +0100)]
systemctl: don't return LSB status error codes for systemctl show

Use them only for systemctl status.

https://bugzilla.redhat.com/show_bug.cgi?id=637183

9 years agomount: do not try to mount disable cgroup controllers
Lennart Poettering [Sun, 21 Nov 2010 21:29:10 +0000 (22:29 +0100)]
mount: do not try to mount disable cgroup controllers

https://bugzilla.redhat.com/show_bug.cgi?id=655222

9 years agosystemctl: redirect enable/disable to chkconfig if applicable
Lennart Poettering [Sun, 21 Nov 2010 21:17:04 +0000 (22:17 +0100)]
systemctl: redirect enable/disable to chkconfig if applicable

9 years agoman: document /etc/modules-load.d/
Lennart Poettering [Sun, 21 Nov 2010 19:41:00 +0000 (20:41 +0100)]
man: document /etc/modules-load.d/

9 years agoman: document /etc/os-release
Lennart Poettering [Sun, 21 Nov 2010 19:05:51 +0000 (20:05 +0100)]
man: document /etc/os-release

9 years agoman: document locale.conf
Lennart Poettering [Sun, 21 Nov 2010 18:29:27 +0000 (19:29 +0100)]
man: document locale.conf

9 years agoman: document /etc/vconsole.conf
Lennart Poettering [Sun, 21 Nov 2010 18:12:44 +0000 (19:12 +0100)]
man: document /etc/vconsole.conf

9 years agoman: document /etc/hostname
Lennart Poettering [Sun, 21 Nov 2010 15:29:56 +0000 (16:29 +0100)]
man: document /etc/hostname

9 years agounits: move a couple of units from base.target to sysinit.target
Lennart Poettering [Fri, 19 Nov 2010 15:24:21 +0000 (16:24 +0100)]
units: move a couple of units from base.target to sysinit.target

9 years agoman: reorder things to follow the same order everywhere
Lennart Poettering [Fri, 19 Nov 2010 15:14:52 +0000 (16:14 +0100)]
man: reorder things to follow the same order everywhere

9 years agoRevert "Revert "fsck: add new -l switch to fsck mount options""
Lennart Poettering [Fri, 19 Nov 2010 03:22:36 +0000 (04:22 +0100)]
Revert "Revert "fsck: add new -l switch to fsck mount options""

This reverts commit c8bc83f5eac49f083ae53d965577118c1b5c1116.

As Karel pointed out the -l switch doesn't actualy conflict with
per-filesystem options, since those can be seperated by -- in the
command line. Since -l is here to stay we hence enable it again for now.

9 years agobuild-sys: bump for v13 v13
Lennart Poettering [Thu, 18 Nov 2010 22:56:34 +0000 (23:56 +0100)]
build-sys: bump for v13

9 years agocryptsetup: actually show disk name
Lennart Poettering [Thu, 18 Nov 2010 22:40:27 +0000 (23:40 +0100)]
cryptsetup: actually show disk name

9 years agocryptsetup: show udev device name when asking for password
Lennart Poettering [Thu, 18 Nov 2010 22:34:42 +0000 (23:34 +0100)]
cryptsetup: show udev device name when asking for password