Commit Graph

157 Commits

Author SHA1 Message Date
Lennart Poettering c4e2ceae94 dbus: follow standardized fdo PropertiesChanged signal spec 2010-08-20 02:31:54 +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 8a2b3c097b service: make sure sysv services marked as interactive in the LSB header get output on the TTY in all cases 2010-08-20 02:31:54 +02:00
Kay Sievers 71e4012737 update fixme 2010-08-19 10:02:42 +02:00
Lennart Poettering e59077036b hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
2010-08-19 03:02:22 +02:00
Lennart Poettering 490ebb027d update fixme 2010-08-19 02:04:47 +02:00
Lennart Poettering b2423f1f43 modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this 2010-08-19 02:03:17 +02:00
Lennart Poettering 9f24a81068 units: make sure getty@xxx.service is always run before gettys.target 2010-08-18 23:12:16 +02:00
Lennart Poettering 26192dfc21 random-seed: honour kernel pool size when saving/restoring seed 2010-08-18 19:38:45 +02:00
Lennart Poettering d51d2d3db9 update fixme 2010-08-17 22:50:28 +02:00
Lennart Poettering f556ea46f6 units: add generic sysctl/hwclock-save service 2010-08-17 22:14:58 +02:00
Lennart Poettering 40b3203173 update fixme 2010-08-17 22:09:18 +02:00
Lennart Poettering 1c27d3f3fd main: properly fallback to rescue.target if default.target is hosed 2010-08-17 20:42:53 +02:00
Lennart Poettering 02ee865a46 service: rename ValidNoProcess= to RemainAfterExit= 2010-08-17 19:37:36 +02:00
Lennart Poettering 85ad5b18ad systemctl: break output properly for 80ch terminals 2010-08-17 18:53:47 +02:00
Kay Sievers 8acb3d88d3 update fixme 2010-08-17 10:34:58 +02:00
Kay Sievers 21c57e1d0b update fixme 2010-08-17 10:33:37 +02:00
Kay Sievers 20d910092d update fixme 2010-08-17 09:37:11 +02:00
Lennart Poettering ee70614cd8 update fixme 2010-08-17 04:53:08 +02:00
Lennart Poettering 03467c88fb emacs: disable tabs in .h files, too 2010-08-17 03:50:18 +02:00
Lennart Poettering 3aef3aee6e update fixme 2010-08-17 03:49:49 +02:00
Lennart Poettering 5192bd1945 auto-getty: rework auto console getty logic to work in conjunction with single user mode 2010-08-17 03:29:46 +02:00
Lennart Poettering ca2cab5dcd random-seed: add little tool for saving/loading random seed on shutdown/boot, but don't enable it by default 2010-08-14 19:17:37 +02:00
Lennart Poettering d90e1a301d systemctl: skip writing of utmp if we booted using systemd, under the assumption that systemd-update-utmp is used 2010-08-14 19:14:52 +02:00
Lennart Poettering 36c32ba297 systemctl: sort 'list-units' output 2010-08-14 03:40:10 +02:00
Lennart Poettering c88f64bd1a units: move runlevel[2-5] links to /lib because they are legacy and hence should not be as obviously in sight. The user may still override them by placing links in /etc 2010-08-13 19:13:25 +02:00
Lennart Poettering 34e9ba669e service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering 00b07cb3f3 update fixme 2010-08-13 04:57:19 +02:00
Lennart Poettering 0278dfeb30 unit: create three seperate plymouth service for halt/poweroff/reboot 2010-08-13 02:19:24 +02:00
Lennart Poettering 598b557bf0 systemctl: when calling 'status' accept a PID 2010-08-13 02:07:22 +02:00
Lennart Poettering 20c5e441cb update fixme 2010-08-13 01:38:21 +02:00
Lennart Poettering c31b4423a9 systemctl: show sysv path if it is set if the fragment path isn't in systemctl status 2010-08-13 01:29:30 +02:00
Lennart Poettering 3059b1c1f4 systemctl: at full stop after last message before shutting down 2010-08-12 17:15:10 +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 afea26ad7d main: disable nscd properly, if possible 2010-08-11 23:31:07 +02:00
Lennart Poettering 444a79d340 dbus: properly pass capabilities 2010-08-11 23:19:28 +02:00
Lennart Poettering e51bc1a23e selinux: split off selinux calls into seperate file label.c 2010-08-11 22:58:34 +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 b95cf3629e util: when replacing env vars replace unset envvars by nothing
This makes it easier to support /etc/sysconfig/xxxx with command line
env vars in style of $OPTIONS which might or might not be set.
2010-08-11 01:44:38 +02:00
Lennart Poettering b5e9dba8d6 unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
Some unit shall never be start on user request (e.g. shutdown.target)
others never be stopped on user request (e.g. auditd.servce), hence
offer options for both.
2010-08-11 01:44:37 +02:00
Kay Sievers 77d98d666a update fixme 2010-08-10 07:14:46 +02:00
Lennart Poettering 33b8d91917 update fixme 2010-08-10 00:27:57 +02:00
Lennart Poettering 47342320a0 main: fix auto restarting of units after a configuration reload 2010-08-09 23:53:49 +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
Lennart Poettering 6e98720f14 service: hide output of sysv scripts if quiet is passed on the kernel cmdline 2010-08-09 18:00:24 +02:00
Kay Sievers 00bfd428a9 update fixme 2010-08-09 16:19:04 +02:00
Lennart Poettering c593cfe164 sd-daemon: fix compilation on old systems lacking SOCK_CLOEXEC 2010-08-06 21:34:11 +02:00
Kay Sievers b9911f4434 update fixme 2010-08-06 13:23:50 +02:00
Lennart Poettering 2e81c8a557 manager: downgrade a few log msgs regarding conflicting but fixable jobs 2010-08-06 02:58:46 +02:00