Commit graph

224 commits

Author SHA1 Message Date
Lennart Poettering e096bf2f95 units: move a couple of units from base.target to sysinit.target 2010-11-19 16:24:21 +01:00
Lennart Poettering 8e1bd70d4c sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d 2010-11-18 21:52:26 +01:00
Lennart Poettering 8cf3a8a982 units: enable console ask-password agent by default 2010-11-18 05:22:25 +01:00
Lennart Poettering c1d6bc0e53 units: make sure prefdm is killed first, user sessions second on shutdown 2010-11-18 02:45:04 +01:00
Lennart Poettering 2f8cd170ae cryptsetup: automatically order crypt partitions before cryptsetup.target 2010-11-18 02:16:36 +01:00
Lennart Poettering eb8d87c125 units: order hwclock after readahead 2010-11-16 03:32:54 +01:00
Lennart Poettering 180f90cb13 units: set TERM for gettys again, since they acquire a TTY on their own 2010-11-16 01:54:07 +01:00
Lennart Poettering f2a29e51f2 units: allow start-up of plymouth ask-password agent very early 2010-11-16 01:51:57 +01:00
Lennart Poettering 74c84e715a units: enable ask-paswword .path units early enough to be useful for early mounts 2010-11-16 01:25:48 +01:00
Lennart Poettering 1e7ba843da units: delay getty until logins are allowed 2010-11-16 01:25:19 +01:00
Lennart Poettering e3aa71c38c exec: automatically determine right TERM= setting based on tty name 2010-11-15 23:49:02 +01:00
Lennart Poettering af2d49f70b drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
Lennart Poettering f5319832c4 units: use ConditionDirectoryNotEmpty= where applicable 2010-11-15 22:13:26 +01:00
Kay Sievers d8b4dbe6d7 delete tmp.mount which may conflict with an unrelated fstab entry 2010-11-15 19:47:25 +01:00
Lennart Poettering 92ab323c82 units: make use of agetty mandatory 2010-11-14 23:48:20 +01:00
Michael Biebl 7611630462 Remove umount*.service files for Debian
With the introduction of native shutdown/reboot, the killall.service was
removed (as this functionality was moved into systemd-shutdown).
Without killall.service though, the umount*.service files no longer work
correctly.
Wit native mount support those files are also no longer necessary, so
remove them.
2010-11-14 22:14:39 +01:00
Lennart Poettering f54409d8b8 units: deal properly with the fact that agetty is called getty on Debian 2010-11-11 00:30:00 +01:00
Lennart Poettering 3370f947d6 readahead: shortcut replay if /.readahead doesn't exist 2010-10-31 00:53:12 +02:00
Lennart Poettering 739aad5169 fedora: start plymouth after udev-settle, so that the graphics modules are loaded 2010-10-31 00:52:35 +02:00
Lennart Poettering 198b625ba7 units: add unit to call /bin/plymouth update-root-fs --read-write 2010-10-30 23:56:12 +02:00
Lennart Poettering 5edf93ec94 fedora: /bin/plymouth --sysinit is not necessary on shut down 2010-10-30 23:56:12 +02:00
Lennart Poettering 6c6a7c0153 fedora: invoke plymouth with its /bin instead of the /usr/bin/ path 2010-10-29 16:51:13 +02:00
Lennart Poettering 9423fd773e units: fix variable expansion 2010-10-29 16:28:30 +02:00
Lennart Poettering 577780ac5c units: fix quota check description 2010-10-29 16:28:29 +02:00
Lennart Poettering 36044f5a70 fedora plymouthd doesn't seem to like --attach-to-session here 2010-10-29 16:28:29 +02:00
Lennart Poettering de47ca9b50 units: make fedora/single.service standard and rename it to rescue.service 2010-10-29 16:28:29 +02:00
Lennart Poettering 42eacdadf5 units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit 2010-10-29 16:28:29 +02:00
Lennart Poettering c19a87330f fedora: get rid of sysinit.service 2010-10-29 16:28:29 +02:00
Bill Nottingham 90d2e58ae9 Fedora: by default, run prefdm last to match prior behavior. 2010-10-29 16:28:28 +02:00
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
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 c858849d45 units: run sysctl only if /etc/sysctl.conf exists 2010-10-28 22:12:05 +02:00
Lennart Poettering 4690698d49 units: run sysv related scripts with TERM=linux 2010-10-27 05:45:09 +02:00
Lennart Poettering e0e1580aae ask-password: enable plymouth agent by default 2010-10-26 04:40:32 +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
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
Franz Dietrich 9ef9c0b3a3 units: Since killall.service does not exist anymore remove all references.
This commit deletes all references to killall.service for the default
services.  The distribution specific services will be modified in a
separate commit.
2010-10-25 23:54:36 +02:00
Lennart Poettering a55c7d2ea0 mount: add nosuid,nodev,noexec switches to /var/lock and /var/run 2010-10-25 23:28:42 +02:00
Tom Gundersen ac52853d6d arch: remove obsolete sysinit.service
This is now split into smaller units and shipped with the downstream package.
2010-10-25 22:03:22 +02:00
Tom Gundersen 72de7bbf39 fsck: remove symlink from fsck.target to sysinit.target 2010-10-25 22:02:52 +02:00
Andrew Edmunds 858dae181b ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
Previously Ubuntu was treated as being equivalent to Debian, but the two
distributions require different behaviour in certain places.  This commit does
not change the behaviour of systemd on either distro but it creates a
framework for changes to be introduced by later commits.

The following previously meant "Target is Debian or Ubuntu".
    * configure option "--with-distro=debian"
    * C preprocessor symbol "TARGET_DEBIAN"
    * Automake conditional "TARGET_DEBIAN"
After this commit, all of the above are redefined to mean "Target is Debian"

The following are introduced to mean "Target is Ubuntu".
    * configure option "--with-distro=ubuntu"
    * C preprocessor symbol "TARGET_UBUNTU"
    * Automake conditional "TARGET_UBUNTU"

Most code written for Debian will also be applicable to Ubuntu. An extra
Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid
duplication of code that would otherwise occur.

This commit updates configure.ac, Makefile.am and distro-specific source files
in line with the above definitions.
2010-10-25 21:09:56 +02:00
Lennart Poettering 306a7fd82e units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
Lennart Poettering 5cf18f777f units: order syslog.target after syslog.socket 2010-10-21 13:49:21 +02:00
Lennart Poettering 52f319b293 syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
Lennart Poettering 0206d45866 quota: fix quotaon command line 2010-10-20 16:43:55 +02:00
Lennart Poettering 9fc507041e unit: introduce %f specifier to decode file names 2010-10-20 16:16:45 +02:00