Commit graph

101 commits

Author SHA1 Message Date
Lennart Poettering 6210e7fc31 manager: always pull 'following' units into transaction 2010-11-14 23:48:21 +01:00
Lennart Poettering 41242c42bf manager: don't fail transaction if adding CONFLICTED_BY job fails 2010-11-14 23:48:20 +01:00
Lennart Poettering c5fd1e57e4 manager: be a bit more verbose if we receive unknown epoll event 2010-11-12 03:04:29 +01:00
Lennart Poettering 7f4e08056d cryptsetup: hook up tool with ask-password 2010-11-12 00:40:27 +01:00
Lennart Poettering 5a1e99375d manager: hookup generators 2010-11-12 00:40:26 +01:00
Lennart Poettering e9ddabc246 manager: parse RD_TIMESTAMP passed from initrd 2010-11-10 22:38:44 +01:00
Lennart Poettering 2ce5c8f9ab manager: when isolating undo all pending jobs, too 2010-11-10 22:38:43 +01:00
Lennart Poettering 143072edea manager: only minimize impact if we are in fail mode 2010-11-10 22:38:42 +01:00
Lennart Poettering ead8e4788e unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires= 2010-10-29 16:28:27 +02:00
Lennart Poettering b81884e746 unit: replace StopRetroactively= by BindTo= dependencies
The property StopRetroactively= needs to be per-dependency, not
per-unit, in order to properly express dependencies between .mount units
and its .device and fsck .service units. If the .device unit is
unplugged the mount should go away, but if the fsck process terminates
the .mount should stay.
2010-10-29 00:45:46 +02:00
Lennart Poettering 28c3247e79 manager: show which jobs are actually installed after a transaction 2010-10-28 04:05:09 +02:00
Lennart Poettering 799fd0fd23 service: unify tstamp serialization code 2010-10-28 03:16:03 +02:00
Lennart Poettering 10717a1a8d unit: serialize active timestamps 2010-10-27 00:01:12 +02:00
Lennart Poettering da8f9f8cff errors: refer to systemctl status when useful 2010-10-26 22:40:02 +02:00
Lennart Poettering 1f5558b499 manager: properly parse finish timestamp 2010-10-20 14:41:07 +02:00
Lennart Poettering f2382a94e0 manager: properly write header marker on serialization 2010-10-20 14:40:44 +02:00
Lennart Poettering 4e4343146a swap: listen for POLLPRI events on /proc/swaps if available 2010-10-18 23:09:09 +02:00
Lennart Poettering 47a483a1ab manager: serialize/deserialize finish timestamp 2010-10-18 22:39:06 +02:00
Lennart Poettering 0003d1ab75 manager: hookup shutdown helper and signals 2010-10-14 00:54:48 +02:00
Lennart Poettering e04aad61bb swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks 2010-10-12 04:08:04 +02:00
Lennart Poettering 6daf4f9001 unit: rename 'banned' load state to 'masked' 2010-10-08 18:21:52 +02:00
Lennart Poettering b9c0d4415b systemctl: fix 'systemctl enable getty@.service' 2010-10-08 03:09:25 +02:00
Lennart Poettering 00dc5d769a unit: introduce 'banned' load state for units symlinked to /dev/null 2010-10-08 02:31:36 +02:00
Lennart Poettering 0e098b15c7 util: never use sizeof(sa_family_t) when calculating sockaddr sizes 2010-10-07 02:34:17 +02:00
Lennart Poettering e983b76024 manager: notify plymouth about progress if it is running 2010-10-06 03:55:49 +02:00
Lennart Poettering b0c918b97f manager: measure startup times 2010-09-21 04:14:38 +02:00
Lennart Poettering e409f87570 manager: count how many jobs we executed 2010-09-21 03:51:31 +02:00
Lennart Poettering e43ac8788b manager: log job mode when running job 2010-09-14 02:16:14 +02:00
Michal Schmidt 54ec68b6f6 manager: report correctly which job was deleted when breaking cycle 2010-09-11 02:00:27 +02:00
Lennart Poettering 18ffdfda48 unit: unify some code 2010-09-01 03:35:04 +02:00
Lennart Poettering 8f6df3fa98 dbus: don't accept activation requests anymore if we are going down anyway 2010-09-01 03:30:59 +02:00
Lennart Poettering fe71c02cf5 manager: reword some error messages regarding "logs"
https://bugzilla.redhat.com/show_bug.cgi?id=627785
2010-09-01 00:32:32 +02:00
Lennart Poettering 60dc72b563 manager: make sure we free the dbus error only if we actually use one 2010-08-31 23:51:12 +02:00
Matthew Miller fdf20a3160 manager: add missing second part of s/maintenance/failed/ 2010-08-31 00:23:34 +02:00
Lennart Poettering c88e7f4e57 manager: don't try to minimize transaction when using isolate
We should not avoid stopping services when using isolate, since that
kinda defeats the point of it.

http://bugzilla.redhat.com/show_bug.cgi?id=627014
2010-08-30 23:51:52 +02:00
Lennart Poettering 2528a7a62c unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
Lennart Poettering b2bb3dbed9 console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.

This also adds an automatic hvc console for virtualizers.

https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-30 23:03:58 +02:00
Lennart Poettering 6309077509 log: pass SCM_CREDENTIALS when logging to syslog 2010-08-21 01:51:16 +02:00
Lennart Poettering d06dacd002 service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl 2010-08-20 02:31:54 +02:00
Lennart Poettering f614480831 systemctl: add support for delayed shutdown, similar to sysv in style 2010-08-16 15:37:52 +02:00
Lennart Poettering d6c9574fb5 emacs: make sure nobody accidently adds tabs to our sources 2010-08-14 19:59:25 +02:00
Lennart Poettering bbd3a7ba5c audit: suppress repeated audit events when deserializing 2010-08-12 03:51:58 +02:00
Lennart Poettering 8821a00fd5 unit: don't show ENOENT configuration file warnings for units that are not essential 2010-08-12 01:05:35 +02:00
Lennart Poettering e364ad0628 clang: fix numerous little issues found with clang-analyzer 2010-08-11 22:04:25 +02:00
Lennart Poettering 10f8e83cbb manager: serialize/deserialize startup time, too 2010-08-11 20:19:27 +02:00
Lennart Poettering e543deaeb5 audit: initialize audit only if it is enabled 2010-08-11 17:52:01 +02:00
Lennart Poettering 830f6caa77 audit: smaller fixes to audit hookup 2010-08-11 15:19:50 +02:00
Lennart Poettering cd6d0a456b utmp: enable systemd-update-utmp by default 2010-08-11 04:38:55 +02:00
Lennart Poettering 4927fcae48 audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary 2010-08-11 01:44:38 +02:00
Lennart Poettering 69dd2852bb manager: when two pending jobs conflict, keep the one that "conflicts", remove the one that is "conflicted"
This gives the writer of units control which unit is kept and which is
stopped when two units conflict.
2010-08-09 22:32:30 +02:00