chiark / gitweb /
elogind.git
13 years agolabel: udev might be making changes in /dev while we iterate through it
Lennart Poettering [Fri, 25 Feb 2011 00:47:31 +0000 (01:47 +0100)]
label: udev might be making changes in /dev while we iterate through it

Also, there are most likely dead symlinks in there, so let's ignore
ENOENT when we relabel.

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

13 years agosystemctl: properly handle job results
Lennart Poettering [Thu, 24 Feb 2011 02:24:51 +0000 (03:24 +0100)]
systemctl: properly handle job results

13 years agojob: also trigger on-failure dependencies when jobs faile due to dependencies, timeout
Lennart Poettering [Thu, 24 Feb 2011 02:24:23 +0000 (03:24 +0100)]
job: also trigger on-failure dependencies when jobs faile due to dependencies, timeout

13 years agojob: don't access j->type when j is already freed
Lennart Poettering [Thu, 24 Feb 2011 02:23:43 +0000 (03:23 +0100)]
job: don't access j->type when j is already freed

13 years agojob: when cancelling jobs, make sure to propagate this properly to depending jobs
Lennart Poettering [Thu, 24 Feb 2011 02:23:14 +0000 (03:23 +0100)]
job: when cancelling jobs, make sure to propagate this properly to depending jobs

13 years agojob: start job timeout on enqueuing not when we start to process a job
Lennart Poettering [Thu, 24 Feb 2011 01:41:34 +0000 (02:41 +0100)]
job: start job timeout on enqueuing not when we start to process a job

This practically reverses 23e1e0c4a3bc93fb841ac9575953ed5d0ef5282d.

This makes it easier to timeout individual jobs so that this timeout can
be relied on, since blocked dependencies will not influence the timeout.

13 years agounit: increase default timeout to 3min
Lennart Poettering [Thu, 24 Feb 2011 01:38:19 +0000 (02:38 +0100)]
unit: increase default timeout to 3min

13 years agologger: leave the logger longer around and allow it do handle more connections
Lennart Poettering [Thu, 24 Feb 2011 01:38:02 +0000 (02:38 +0100)]
logger: leave the logger longer around and allow it do handle more connections

13 years agodbus: pass along information why a job failed when it failed (dbus api change!)
Lennart Poettering [Thu, 24 Feb 2011 01:36:34 +0000 (02:36 +0100)]
dbus: pass along information why a job failed when it failed (dbus api change!)

13 years agogeneral: unify error code we generate on timeout
Lennart Poettering [Thu, 24 Feb 2011 01:33:57 +0000 (02:33 +0100)]
general: unify error code we generate on timeout

13 years agounits: synchronize gettys to plymouth even if plymouth is killed by gdm
Lennart Poettering [Thu, 24 Feb 2011 01:32:50 +0000 (02:32 +0100)]
units: synchronize gettys to plymouth even if plymouth is killed by gdm

13 years agoupdate TODO
Lennart Poettering [Wed, 23 Feb 2011 18:44:08 +0000 (19:44 +0100)]
update TODO

13 years agojob: start job timer when we begin running the job, not already when we add it to...
Lennart Poettering [Wed, 23 Feb 2011 17:46:57 +0000 (18:46 +0100)]
job: start job timer when we begin running the job, not already when we add it to the queue of jobs

13 years agocryptsetup: try to show the mount point for a crypto disk if we can
Lennart Poettering [Wed, 23 Feb 2011 17:46:27 +0000 (18:46 +0100)]
cryptsetup: try to show the mount point for a crypto disk if we can

13 years agorescue: terminate plymouth entirely when going into rescue mode
Lennart Poettering [Wed, 23 Feb 2011 17:42:08 +0000 (18:42 +0100)]
rescue: terminate plymouth entirely when going into rescue mode

13 years agoask-password: fix handling of timeouts when waiting for password
Lennart Poettering [Wed, 23 Feb 2011 00:12:29 +0000 (01:12 +0100)]
ask-password: fix handling of timeouts when waiting for password

13 years agoask-password: supported plymouth cached passwords
Lennart Poettering [Wed, 23 Feb 2011 00:12:07 +0000 (01:12 +0100)]
ask-password: supported plymouth cached passwords

13 years agomain: print warning if /usr is on a seperate partition
Lennart Poettering [Wed, 23 Feb 2011 00:10:20 +0000 (01:10 +0100)]
main: print warning if /usr is on a seperate partition

13 years agoplymouth: don't wait forever for plymouth in case it is stuck
Lennart Poettering [Tue, 22 Feb 2011 15:26:07 +0000 (16:26 +0100)]
plymouth: don't wait forever for plymouth in case it is stuck

13 years agoupdate TODO
Lennart Poettering [Tue, 22 Feb 2011 01:45:06 +0000 (02:45 +0100)]
update TODO

13 years agovirtualization: check cpuid first, since it is cheaper than DMI
Lennart Poettering [Tue, 22 Feb 2011 00:39:19 +0000 (01:39 +0100)]
virtualization: check cpuid first, since it is cheaper than DMI

13 years agoutil: make string static
Lennart Poettering [Mon, 21 Feb 2011 23:19:03 +0000 (00:19 +0100)]
util: make string static

13 years agoplymouth: ensure we start not a single getty before plymouth is gone because we never...
Lennart Poettering [Mon, 21 Feb 2011 22:55:17 +0000 (23:55 +0100)]
plymouth: ensure we start not a single getty before plymouth is gone because we never know which ttys plymouth still controls

13 years agoREADME: document that we need ipv6
Lennart Poettering [Mon, 21 Feb 2011 21:40:56 +0000 (22:40 +0100)]
README: document that we need ipv6

13 years agocondition: drop pointless double negation
Lennart Poettering [Mon, 21 Feb 2011 21:10:04 +0000 (22:10 +0100)]
condition: drop pointless double negation

13 years agounit: introduce ConditionVirtualization=
Lennart Poettering [Mon, 21 Feb 2011 21:07:55 +0000 (22:07 +0100)]
unit: introduce ConditionVirtualization=

13 years agovirtualization: beef virtualization code
Lennart Poettering [Mon, 21 Feb 2011 20:48:59 +0000 (21:48 +0100)]
virtualization: beef virtualization code

13 years agodbus: don't rely that timer/path units have an initialized unit field
Lennart Poettering [Mon, 21 Feb 2011 18:26:53 +0000 (19:26 +0100)]
dbus: don't rely that timer/path units have an initialized unit field

13 years agomount: make sure network mounts are ordered after network.target
Lennart Poettering [Mon, 21 Feb 2011 12:32:18 +0000 (13:32 +0100)]
mount: make sure network mounts are ordered after network.target

13 years agokmsg-syslogd: fix build
Lennart Poettering [Mon, 21 Feb 2011 03:01:26 +0000 (04:01 +0100)]
kmsg-syslogd: fix build

13 years agokmsg-syslogd: increase terminate timeout to 5min to generte less debug spew
Lennart Poettering [Sun, 20 Feb 2011 22:20:19 +0000 (23:20 +0100)]
kmsg-syslogd: increase terminate timeout to 5min to generte less debug spew

13 years agosystemctl: shutdown(8) - call kexec if kexec kernel is loaded
Kay Sievers [Sun, 20 Feb 2011 20:09:07 +0000 (21:09 +0100)]
systemctl: shutdown(8) - call kexec if kexec kernel is loaded

13 years agounit: don't timeout fsck
Lennart Poettering [Sun, 20 Feb 2011 19:27:59 +0000 (20:27 +0100)]
unit: don't timeout fsck

13 years agoman: fixed typo in SyslogIdentifier=
Mike Kazantsev [Sat, 19 Feb 2011 05:10:49 +0000 (10:10 +0500)]
man: fixed typo in SyslogIdentifier=

13 years agotmpfiles: never clean up block devices
Lennart Poettering [Sat, 19 Feb 2011 13:20:16 +0000 (14:20 +0100)]
tmpfiles: never clean up block devices

13 years agomain: refuse --test as root
Lennart Poettering [Sat, 19 Feb 2011 13:20:00 +0000 (14:20 +0100)]
main: refuse --test as root

13 years agounits: order fsck@.service before basic.target instead of local-fs.target to relax...
Lennart Poettering [Fri, 18 Feb 2011 11:39:30 +0000 (12:39 +0100)]
units: order fsck@.service before basic.target instead of local-fs.target to relax things a little

13 years agoreadahead: remove misleading error messages
Lennart Poettering [Fri, 18 Feb 2011 01:26:01 +0000 (02:26 +0100)]
readahead: remove misleading error messages

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

13 years agoman: don't do more reloads than necessary in spec files
Lennart Poettering [Fri, 18 Feb 2011 01:25:18 +0000 (02:25 +0100)]
man: don't do more reloads than necessary in spec files

13 years agoutil: retry opening a TTY on EIO
Lennart Poettering [Thu, 17 Feb 2011 15:29:47 +0000 (16:29 +0100)]
util: retry opening a TTY on EIO

https://bugs.freedesktop.org/show_bug.cgi?id=33996
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245

13 years agoutil: beef up logic to find ctty name
Lennart Poettering [Thu, 17 Feb 2011 15:29:04 +0000 (16:29 +0100)]
util: beef up logic to find ctty name

13 years agotmpfiles: kill double slashes in unix socket names, just in case
Lennart Poettering [Thu, 17 Feb 2011 12:13:34 +0000 (13:13 +0100)]
tmpfiles: kill double slashes in unix socket names, just in case

13 years agobuild-sys: prepare release v18 v18
Lennart Poettering [Wed, 16 Feb 2011 21:18:28 +0000 (22:18 +0100)]
build-sys: prepare release v18

13 years agosystemctl: introduce --ignore-dependencies
Lennart Poettering [Wed, 16 Feb 2011 20:59:31 +0000 (21:59 +0100)]
systemctl: introduce --ignore-dependencies

13 years agosystemctl: introduce --failed to show only failed services
Lennart Poettering [Wed, 16 Feb 2011 19:34:59 +0000 (20:34 +0100)]
systemctl: introduce --failed to show only failed services

13 years agorescue: make 'systemctl default' fail if there is already something running when...
Lennart Poettering [Wed, 16 Feb 2011 18:34:24 +0000 (19:34 +0100)]
rescue: make 'systemctl default' fail if there is already something running when the shell exited

13 years agoutil: seperate welcome line from other output by empty lines
Lennart Poettering [Wed, 16 Feb 2011 18:33:37 +0000 (19:33 +0100)]
util: seperate welcome line from other output by empty lines

13 years agomanager: don't consider transaction jobs conflicting with queued jobs redundant
Lennart Poettering [Wed, 16 Feb 2011 18:33:17 +0000 (19:33 +0100)]
manager: don't consider transaction jobs conflicting with queued jobs redundant

13 years agoREADME: update requirements
Lennart Poettering [Wed, 16 Feb 2011 18:09:11 +0000 (19:09 +0100)]
README: update requirements

13 years agoudev: ignore block devices which no known contents, to avoid trying of mounts/swapons...
Lennart Poettering [Wed, 16 Feb 2011 11:57:00 +0000 (12:57 +0100)]
udev: ignore block devices which no known contents, to avoid trying of mounts/swapons when devices aren't set up full yet

13 years agoswap: handle "nofail" from fstab
Kay Sievers [Tue, 15 Feb 2011 17:38:15 +0000 (18:38 +0100)]
swap: handle "nofail" from fstab

13 years agocleanup TODO
Lennart Poettering [Tue, 15 Feb 2011 12:09:00 +0000 (13:09 +0100)]
cleanup TODO

13 years agomount,swap: properly add dependencies to logger if needed
Lennart Poettering [Tue, 15 Feb 2011 11:28:26 +0000 (12:28 +0100)]
mount,swap: properly add dependencies to logger if needed

13 years agoservice: change default std output to inherit
Lennart Poettering [Tue, 15 Feb 2011 11:27:29 +0000 (12:27 +0100)]
service: change default std output to inherit

13 years agoexec: introduce global defaults for the standard output of services
Lennart Poettering [Tue, 15 Feb 2011 10:52:29 +0000 (11:52 +0100)]
exec: introduce global defaults for the standard output of services

13 years agoudev: use SYSTEMD_READY to mask uninitialized DM devices
Lennart Poettering [Tue, 15 Feb 2011 09:59:46 +0000 (10:59 +0100)]
udev: use SYSTEMD_READY to mask uninitialized DM devices

13 years agofsck: output to /dev/console by default in addition to syslog
Lennart Poettering [Tue, 15 Feb 2011 00:28:31 +0000 (01:28 +0100)]
fsck: output to /dev/console by default in addition to syslog

13 years agoexecute: optionally forward program output to /dev/console in addition to syslog...
Lennart Poettering [Tue, 15 Feb 2011 00:27:53 +0000 (01:27 +0100)]
execute: optionally forward program output to /dev/console in addition to syslog/kmsg

13 years agosocket: refuse socket activation for SysV services
Lennart Poettering [Mon, 14 Feb 2011 23:40:17 +0000 (00:40 +0100)]
socket: refuse socket activation for SysV services

Make sure that when a .socket unit is installed without its matching
.service we don't end up activating a legacy SysV/LSB service with the
same name. SysV/LSB style services do not support passing sockets and we
don't want to extend SysV/LSB to ensure we don't break compatibility
with other systems.

13 years agofsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set
Lennart Poettering [Mon, 14 Feb 2011 23:30:51 +0000 (00:30 +0100)]
fsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set

13 years agoshutdown: execute all binaries in /lib/systemd/system-shutdown as last step before...
Lennart Poettering [Mon, 14 Feb 2011 23:30:11 +0000 (00:30 +0100)]
shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot()

13 years agojob: make status message printing more verbose
Lennart Poettering [Mon, 14 Feb 2011 22:10:31 +0000 (23:10 +0100)]
job: make status message printing more verbose

13 years agocryptsetup: fix unit file description
Lennart Poettering [Mon, 14 Feb 2011 22:09:27 +0000 (23:09 +0100)]
cryptsetup: fix unit file description

13 years agotmpfiles: never delete AF_UNIX sockets that are alive
Lennart Poettering [Mon, 14 Feb 2011 20:55:06 +0000 (21:55 +0100)]
tmpfiles: never delete AF_UNIX sockets that are alive

13 years agogetty: don't parse console= anymore, use /sys/class/tty/console/active instead
Lennart Poettering [Mon, 14 Feb 2011 18:57:18 +0000 (19:57 +0100)]
getty: don't parse console= anymore, use /sys/class/tty/console/active instead

13 years agoutil: properly resolve /dev/console if more than once console= argument was passed...
Lennart Poettering [Mon, 14 Feb 2011 18:54:15 +0000 (19:54 +0100)]
util: properly resolve /dev/console if more than once console= argument was passed on the kernel command line

13 years agogetty: do not auto-spawn getty's on VC ttys if console=ttyN is used
Lennart Poettering [Mon, 14 Feb 2011 17:56:51 +0000 (18:56 +0100)]
getty: do not auto-spawn getty's on VC ttys if console=ttyN is used

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

13 years agofsck: skip root fsck if dracut already did it
Lennart Poettering [Mon, 14 Feb 2011 10:42:47 +0000 (11:42 +0100)]
fsck: skip root fsck if dracut already did it

13 years agoupdate TODO
Lennart Poettering [Sun, 13 Feb 2011 18:02:18 +0000 (19:02 +0100)]
update TODO

13 years agoutil: when determining the right TERM for /dev/console consult /sys/class/tty/console...
Lennart Poettering [Sun, 13 Feb 2011 18:01:47 +0000 (19:01 +0100)]
util: when determining the right TERM for /dev/console consult /sys/class/tty/console/active

13 years agoservice: when guessing the main PID don't consider processes that aren't our children
Lennart Poettering [Sun, 13 Feb 2011 17:52:02 +0000 (18:52 +0100)]
service: when guessing the main PID don't consider processes that aren't our children

13 years agoservice: make main pid guessing optional, and reread pid file after reloads
Lennart Poettering [Sun, 13 Feb 2011 17:51:30 +0000 (18:51 +0100)]
service: make main pid guessing optional, and reread pid file after reloads

13 years agopam: introduce whitelist and blacklist user list feature
Lennart Poettering [Sun, 13 Feb 2011 17:21:11 +0000 (18:21 +0100)]
pam: introduce whitelist and blacklist user list feature

This is useful to exclude root from the session logout killings or to
limit killing to the selinux guest users.

13 years agosystemctl: minor optimizations
Lennart Poettering [Sun, 13 Feb 2011 16:18:45 +0000 (17:18 +0100)]
systemctl: minor optimizations

13 years agosystemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that lockin...
Lennart Poettering [Sun, 13 Feb 2011 16:09:29 +0000 (17:09 +0100)]
systemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that locking by tty works

13 years agoreadahead: disable readahead in virtual machines
Lennart Poettering [Sun, 13 Feb 2011 14:46:05 +0000 (15:46 +0100)]
readahead: disable readahead in virtual machines

13 years agotmpfiles: simplify default tmpfiles configuration by using globs
Lennart Poettering [Sun, 13 Feb 2011 14:11:28 +0000 (15:11 +0100)]
tmpfiles: simplify default tmpfiles configuration by using globs

13 years agosystemd: document systemd-tmpfiles
Lennart Poettering [Sun, 13 Feb 2011 14:08:15 +0000 (15:08 +0100)]
systemd: document systemd-tmpfiles

13 years agotmpfiles: move binary to /bin to make it publicly available
Lennart Poettering [Sun, 13 Feb 2011 13:04:57 +0000 (14:04 +0100)]
tmpfiles: move binary to /bin to make it publicly available

13 years agotmpfiles: take names of tmpfiles configuration files on the command line
Lennart Poettering [Sun, 13 Feb 2011 13:00:54 +0000 (14:00 +0100)]
tmpfiles: take names of tmpfiles configuration files on the command line

13 years agotmpfiles: log to stderr if possible
Lennart Poettering [Sat, 12 Feb 2011 08:31:38 +0000 (09:31 +0100)]
tmpfiles: log to stderr if possible

13 years agotmpfiles: support globs
Lennart Poettering [Sat, 12 Feb 2011 08:31:25 +0000 (09:31 +0100)]
tmpfiles: support globs

13 years agoupdate TODO
Lennart Poettering [Wed, 9 Feb 2011 21:48:54 +0000 (22:48 +0100)]
update TODO

13 years agounits: introduce and hook up sound.target
Lennart Poettering [Wed, 9 Feb 2011 20:07:28 +0000 (21:07 +0100)]
units: introduce and hook up sound.target

13 years agodbus: allow all clients access to org.freedesktop.DBus.Peer
Lennart Poettering [Wed, 9 Feb 2011 14:21:20 +0000 (15:21 +0100)]
dbus: allow all clients access to org.freedesktop.DBus.Peer

13 years agoman: document SYSTEMD_READY=
Lennart Poettering [Wed, 9 Feb 2011 14:02:03 +0000 (15:02 +0100)]
man: document SYSTEMD_READY=

13 years agodevice: consider udev devices with SYSTEMD_READY=0 as unplugged
Lennart Poettering [Wed, 9 Feb 2011 13:48:52 +0000 (14:48 +0100)]
device: consider udev devices with SYSTEMD_READY=0 as unplugged

13 years agosystemd: show status when run with plymouth, and don't start plymouth a second time...
Lennart Poettering [Wed, 9 Feb 2011 13:17:52 +0000 (14:17 +0100)]
systemd: show status when run with plymouth, and don't start plymouth a second time when it is already running

13 years agomanager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console
Lennart Poettering [Wed, 9 Feb 2011 11:12:30 +0000 (12:12 +0100)]
manager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console

13 years agoman: clarify a few things
Lennart Poettering [Wed, 9 Feb 2011 10:00:17 +0000 (11:00 +0100)]
man: clarify a few things

13 years agosystemctl: fix opening params
Lennart Poettering [Wed, 9 Feb 2011 00:11:19 +0000 (01:11 +0100)]
systemctl: fix opening params

13 years agosystemctl: don't start agent for --user
Lennart Poettering [Wed, 9 Feb 2011 00:09:09 +0000 (01:09 +0100)]
systemctl: don't start agent for --user

13 years agosystemctl: make sure the tty agent does not retain a copy of stdio
Lennart Poettering [Tue, 8 Feb 2011 23:58:43 +0000 (00:58 +0100)]
systemctl: make sure the tty agent does not retain a copy of stdio

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

13 years agoplymouth: move plymouth out of TARGET_FEDORA
Jeff Mahoney [Tue, 8 Feb 2011 17:47:32 +0000 (18:47 +0100)]
plymouth: move plymouth out of TARGET_FEDORA

13 years agolocale: unify some code between fedora and altlinux
Lennart Poettering [Tue, 8 Feb 2011 11:54:06 +0000 (12:54 +0100)]
locale: unify some code between fedora and altlinux

13 years agobuild-sys: initial support ALTLinux
Alexey Shabalin [Tue, 8 Feb 2011 11:50:56 +0000 (12:50 +0100)]
build-sys: initial support ALTLinux

Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.

13 years agobuild-sys: make less noise when checking file
Lucas De Marchi [Wed, 26 Jan 2011 20:10:18 +0000 (18:10 -0200)]
build-sys: make less noise when checking file

There's already a condition that gives a warning if user is
cross-compiling an relying on files from the build system. AC_CHECK_FILE
macro only tests for file in the build system. Hence use a simple
'test -f' that does the same job, without the warning.

13 years agoupdate TODO
Lennart Poettering [Tue, 8 Feb 2011 11:12:23 +0000 (12:12 +0100)]
update TODO

13 years agobuild-sys: fix AC_COMPILE_IFELSE tests
Lucas De Marchi [Wed, 26 Jan 2011 19:59:11 +0000 (17:59 -0200)]
build-sys: fix AC_COMPILE_IFELSE tests

This removes some warnings when bootstrapping. The warnings were introduced
in autoconf 2.68. Reference:

http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html

The following code

AC_COMPILE_IFELSE([
<MY C CODE HERE>
], ...)

is changed to

AC_COMPILE_IFELSE(
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
<MY C CODE HERE>
])], ...)

13 years agobuild-sys: ensure selinux configure check follows logic of other optional features
Lennart Poettering [Tue, 8 Feb 2011 10:44:38 +0000 (11:44 +0100)]
build-sys: ensure selinux configure check follows logic of other optional features