1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 01:27:11 +03:00
Commit Graph

1099 Commits

Author SHA1 Message Date
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
3454f9e519 conf: add commented default SysVConsole= value 2010-08-11 01:44:37 +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
add060fea4 build-sys: prepare release 7 2010-08-10 03:47:00 +02:00
Lennart Poettering
1310609b05 unit: hook plymouth into the boot
https://bugzilla.redhat.com/show_bug.cgi?id=619922
2010-08-10 03:44:05 +02:00
Lennart Poettering
1f31e8d3a6 units: ignore exit codes of killall scripts 2010-08-10 00:30:53 +02:00
Lennart Poettering
33b8d91917 update fixme 2010-08-10 00:27:57 +02:00
Lennart Poettering
61bec80cf3 getty: properly synchronize of tty devices being plugged in 2010-08-10 00:21:25 +02:00
Lennart Poettering
1e532d14ad units: make sure that killall does not wait for the tty 2010-08-10 00:08:13 +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
76143638fd swap: properly enter maintenance mode on failure 2010-08-09 22:44:52 +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
Lennart Poettering
5de6b30219 service: properly remember if a sysv is actually enabled
Previously we checked the SysV priority value to figure out if a SysV
unit was enabled or not, since th value was mostly read from the S
startup links. Since we read this value from the LSB headers as a
fallback we hence ended up considering a lot more services enabled than
were actually enabled.

This patch adds an explicit boolean which encodes whether a sysv service
is enabled or not via S links.

https://bugzilla.redhat.com/show_bug.cgi?id=615293
2010-08-09 17:12:25 +02:00
Lennart Poettering
2cf3143ac3 service: show restart value in dump 2010-08-09 17:07:05 +02:00
Lennart Poettering
04ade7d215 dbus: don't call bus_path_escape() with NULL unit name
Fixes an assertion triggerable via D-Bus.

https://bugzilla.redhat.com/show_bug.cgi?id=622008
2010-08-09 17:07:05 +02:00
Lennart Poettering
6d4fc029d9 systemctl: show exit code only if it is actually set 2010-08-09 17:06:18 +02:00
Kay Sievers
00bfd428a9 update fixme 2010-08-09 16:19:04 +02:00
Lennart Poettering
0a9962a1df man: minor man page fix 2010-08-07 18:09:39 +02:00
Michal Schmidt
4a4d6b4b31 systemctl: fix parsing of DBus reply in 'dot'
"systemctl dot" has been broken since the addition of the "Following="
property.
2010-08-07 18:08:03 +02:00
Lennart Poettering
485ccf9a5b man: minor man page fix 2010-08-06 21:36:58 +02:00
Lennart Poettering
4502d22cb8 util: when formatting timestamps return '0' for 0 timestamps instead of empty string 2010-08-06 21:34:11 +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
7e551fbd68 build-sys: prepare new release 2010-08-06 12:15:54 +02:00
Lennart Poettering
6908d3842a man: document %triggerin usage 2010-08-06 11:59:37 +02:00
Lennart Poettering
ee6cb28869 device: properly handle devices that are referenced before they show up 2010-08-06 04:17:51 +02:00
Lennart Poettering
3c661fadd5 cgroup: if the system bus cannot be found, send cgroup empty msg directly to init proces 2010-08-06 03:21: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
Lennart Poettering
75d287d3ae automount: order automount units after fsck, too 2010-08-06 02:23:45 +02:00
Lennart Poettering
8519e861a8 units: add missing fsck.target file 2010-08-06 01:32:16 +02:00
Lennart Poettering
922cc00119 units: split fsck.target from sysinit.target for suse compat 2010-08-06 01:30:20 +02:00
Lennart Poettering
0ff4cdd967 main: automatically spawn a getty on the kernel configured serial console 2010-08-06 00:42:24 +02:00
Lennart Poettering
48a21c9b37 manager: fix conflicting job check 2010-08-05 20:49:35 +02:00
Lennart Poettering
674a6e4d0c manager: when breaking ordering cycle show full cycle loop 2010-08-05 20:39:45 +02:00
Lennart Poettering
30609d9c18 units: always send HUP when dealing with shells/gettys/logins 2010-08-05 20:29:11 +02:00
Lennart Poettering
d4054675b1 service: read special startup dirs only on the respective distros 2010-08-05 20:28:51 +02:00
Lennart Poettering
95978cf8a6 selinux: minor error handling fix 2010-08-05 19:50:03 +02:00
Lennart Poettering
eeaafddcb5 service: always sort services from suse B runlevel before services from normal runlevels 2010-08-05 19:50:03 +02:00
Michal Schmidt
a042efad57 reboot: handle -p switch properly
https://bugzilla.redhat.com/show_bug.cgi?id=618678
2010-08-05 19:50:03 +02:00
Lennart Poettering
6319292f15 selinux: fix labels only when configured for it 2010-08-05 19:50:02 +02:00
Kay Sievers
7d49c54770 units: getty - suse: login wants SIGHUP 2010-08-04 18:56:35 +02:00
Kay Sievers
00a11ba982 units: suse - reboot: do not wait for tty 2010-08-04 14:21:01 +02:00
Lennart Poettering
183ae5f99b reboot: don't wait for input tty 2010-08-04 14:17:18 +02:00
Lennart Poettering
804bbed8f4 prepare new release 2010-08-04 01:30:40 +02:00
Lennart Poettering
ccbe77e993 units: remove redundant ordering dependency 2010-08-04 01:27:26 +02:00
Lennart Poettering
5b1fe56a8b selinux: rework selinux tests a little 2010-08-04 01:07:38 +02:00
Lennart Poettering
f7f4cccb2a selinux: fix if vs. ifdef mixup 2010-08-04 00:40:19 +02:00
Lennart Poettering
14a35a84fa units: make sure that prefdm wins over the getty if both are pulled in 2010-08-03 23:58:23 +02:00