Commit Graph

1638 Commits

Author SHA1 Message Date
Bill Nottingham
8e9b7dd86b Fedora: don't ship [Install] sections; these are enabled in the system configuration. 2010-10-29 16:28:28 +02:00
Bill Nottingham
73d35ff8e4 Fedora: further unit tweaks
1) Just ship rc-local as-is; don't worry about the 'local' name.
2) Don't install rc-local and prefdm to /etc ; just enable them globally for the system in /lib.
2010-10-29 16:28:28 +02:00
Bill Nottingham
9524600eac Fedora: Assorted tweaks to Fedora single-user mode.
1) Start after basic.target, not the deprecated sysinit.target
2) Conflict with shutdown.
2010-10-29 16:28:28 +02:00
Bill Nottingham
0fbe72dc37 Fedora: Don't ship a init.d reboot symlink. 2010-10-29 16:28:28 +02:00
Lennart Poettering
62c9af5ecf update fixme 2010-10-29 16:28:28 +02: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
Kay Sievers
9ed81015f0 getty@.service: switch to agetty as the default 2010-10-29 15:50:09 +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
941a4041bd automount: show who's triggering an automount 2010-10-28 22:20:01 +02:00
Lennart Poettering
c858849d45 units: run sysctl only if /etc/sysctl.conf exists 2010-10-28 22:12:05 +02:00
Lennart Poettering
9feeba4bbb systemctl: always show what and where for mount units in status output 2010-10-28 22:11:45 +02:00
Lennart Poettering
ab58e29119 shutdown: reword a few messages a little 2010-10-28 22:11:26 +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
b363ca6f20 timer: when deserializing timer state stay elapsed when we are elapsed 2010-10-28 04:04:50 +02:00
Lennart Poettering
f14e15f8af unit: replace recursive_stop by stop_retroactively to simplify things a little 2010-10-28 03:38:52 +02:00
Lennart Poettering
799fd0fd23 service: unify tstamp serialization code 2010-10-28 03:16:03 +02:00
Lennart Poettering
18f593360b device: set recursive_stop=true by default 2010-10-28 03:15:44 +02:00
Lennart Poettering
8aaf019b5c unit: suppress incorrect deserialization errors 2010-10-28 02:19:21 +02:00
Lennart Poettering
008d348edd swap: there's no reason not order swap after sysinit, so drop it 2010-10-28 01:30:13 +02:00
Andrey Borzenkov
f89f1e8f83 socket: fix IPv6 availability detection
If IPv6 is loaded with disable=1, any IPv6 functionality is completely
disabled until the ipv6 module is reloaded. Do not assume IPv6 is available just
because the module is present. Fixes startup error:

Oct 27 20:58:02 cooker kernel: IPv6: Loaded, but administratively disabled, reboot required to enable
Oct 27 20:58:02 cooker kernel: systemd[1]: Set hostname to <cooker>.
Oct 27 20:58:02 cooker kernel: systemd[1]: Netlink failure for request 2: Operation not supported
Oct 27 20:58:02 cooker kernel: systemd[1]: Failed to configure loopback device: Operation not supported
2010-10-28 00:37:57 +02:00
Lennart Poettering
6c5d4a999c update fixme 2010-10-28 00:34:00 +02:00
Kay Sievers
2a714fbd3e TODO: /proc/swaps is poll()able now
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=66d7dd518ae413a383ab2c6c263cc30617329842
2010-10-27 11:37:22 +02:00
Lennart Poettering
5c0532d1cc mounts: automatically create /dev/stderr and friends early on boot so that they are around when we run shell scripts before udevd 2010-10-27 05:47:48 +02:00
Lennart Poettering
c4dcdb9f47 selinux: automatically load policy if the initrd hasn't done this for us yet 2010-10-27 05:47:02 +02:00
Lennart Poettering
ade509ce73 main: move make_null_stdio() to util.c 2010-10-27 05:45:57 +02:00
Lennart Poettering
4690698d49 units: run sysv related scripts with TERM=linux 2010-10-27 05:45:09 +02:00
Lennart Poettering
4fbf50b38e service: when after startup only one process is in a service's cgroup, assume it is the main process 2010-10-27 03:16:49 +02:00
Lennart Poettering
10717a1a8d unit: serialize active timestamps 2010-10-27 00:01:12 +02:00
Lennart Poettering
248e6030e0 man: be more explicit about the usefulness of --system 2010-10-26 23:22:55 +02:00
Lennart Poettering
cbe1bded5f update fixme 2010-10-26 23:17:50 +02:00
Lennart Poettering
472ff3d64a build-sys: fix 'make fedora' 2010-10-26 23:15:07 +02:00
Lennart Poettering
510051fc12 swap: add only swaps listed in /etc/fstab automatically to swap.target, others should be added via .wants/ links 2010-10-26 22:58:54 +02:00
Lennart Poettering
da8f9f8cff errors: refer to systemctl status when useful 2010-10-26 22:40:02 +02:00
Lennart Poettering
f1a1cd6497 swap: add default cgroup to swap exec env 2010-10-26 22:06:11 +02:00
Lennart Poettering
15412f2987 swap: expose swap exec env proprties via dbus 2010-10-26 22:05:52 +02:00
Lennart Poettering
de58283f71 readahead: bump a device's request_nr when enabling readahead 2010-10-26 21:28:39 +02:00
Lennart Poettering
415dbd2e54 shutdown: properly handle sigtimedwait() timing out 2010-10-26 20:51:15 +02:00
Lennart Poettering
57b63f363f exec: fix dbus exposure of UtmpIdentifier field 2010-10-26 20:45:43 +02:00
Andrey Borzenkov
87d1969bb3 main: fix typo in kernel cmdline parameters help 2010-10-26 20:07:12 +02:00
Mike Kazantsev
0320828cac service: fix sysv-less build 2010-10-26 15:18:13 +02:00
Lennart Poettering
b9ba604e87 ask-password-tty: properly handle SIGINT/SIGTERM 2010-10-26 15:15:00 +02:00
Lennart Poettering
501fc174c2 systemctl: automatically spawn temporary password agent when we might need one 2010-10-26 05:29:39 +02:00
Lennart Poettering
0ddf1d3aa5 ask-password: properly handle multiple pending passwords when writing wall msg 2010-10-26 04:45:27 +02:00
Lennart Poettering
e0e1580aae ask-password: enable plymouth agent by default 2010-10-26 04:40:32 +02:00
Lennart Poettering
e5ebf783cb ask-password: add minimal plymouth password agent 2010-10-26 04:35:25 +02:00
Lennart Poettering
5f36328f55 units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions 2010-10-26 02:58:59 +02:00
Lennart Poettering
9865f3b4ca service: make sure to pass TERM=linux to all sysv scripts 2010-10-26 02:32:42 +02:00
Lennart Poettering
39439087bf main: don't unset HOME/TERM when run in session mode 2010-10-26 02:32:02 +02:00
Lennart Poettering
d9be8f8f32 update fixme 2010-10-26 00:01:52 +02:00
Franz Dietrich
5b40d54851 units: Remove the distro specific references to killall.service.
Maybe debian and fedora still have the killall.service but usually it shouldn't be necessary anymore.
2010-10-26 00:01:12 +02:00