Commit Graph

1292 Commits

Author SHA1 Message Date
Lennart Poettering 86b846b697 units: make sure plymouth shutdown screen is shown before we kill all processes/shut down 2010-08-14 19:23:16 +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 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 0278dfeb30 unit: create three seperate plymouth service for halt/poweroff/reboot 2010-08-13 02:19:24 +02:00
Lennart Poettering 145b66acab unit: move prefdm after livesys
https://bugzilla.redhat.com/show_bug.cgi?id=623561
2010-08-12 17:15:11 +02:00
Lennart Poettering 8e1e105b45 plymouth: call plymouth quit before running the getty, not after
https://bugzilla.redhat.com/show_bug.cgi?id=623430
2010-08-12 17:15:10 +02:00
Lennart Poettering cd6d0a456b utmp: enable systemd-update-utmp by default 2010-08-11 04:38:55 +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
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 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 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 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 30609d9c18 units: always send HUP when dealing with shells/gettys/logins 2010-08-05 20:29:11 +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 ccbe77e993 units: remove redundant ordering dependency 2010-08-04 01:27:26 +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
Lennart Poettering a48bcc46be units: add conflicts between prefdm and getty@tty1 to avoid race for tty1 2010-08-03 23:53:17 +02:00
Lennart Poettering 218362d22c units: add [Install] section to getty.target and remote-fs.target 2010-07-22 02:39:21 +02:00
Lennart Poettering c24eb49e6a exec: extend variable substitution to support splitting variable values into seperate arguments 2010-07-21 02:57:35 +02:00
Lennart Poettering 36adffeab0 fedora: make sure the gettys are run before X starts up 2010-07-20 20:42:46 +02:00
Lennart Poettering 2d3b2c0032 units: introduce smartcard.target 2010-07-16 21:32:11 +02:00
Lennart Poettering bb4f237c65 units: fix default mode of /var/run and /var/lock 2010-07-16 18:58:52 +02:00
Lennart Poettering 172f6478b3 units: update other distro units to recent fedora changes 2010-07-13 21:30:38 +02:00
Lennart Poettering eee4b05fab units: add missing target files 2010-07-13 04:05:31 +02:00
Lennart Poettering 13fe456fdb units: fix minor typo 2010-07-13 02:26:09 +02:00
Lennart Poettering 201e673c48 units: fix ordering problem 2010-07-13 00:36:57 +02:00
Lennart Poettering a974d58e83 units: rely only on isolate to remove running services when entering rescue/emergency modes 2010-07-13 00:19:17 +02:00
Lennart Poettering 0667db89fb units: add missing units 2010-07-13 00:04:14 +02:00
Lennart Poettering f057408c9c units: introduce emergency.target 2010-07-12 23:49:20 +02:00
Lennart Poettering 2edd4434e5 mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
Lennart Poettering 3b6fdb5b5a unit: introduce IgnoreDependencyFailure= 2010-07-12 03:07:02 +02:00
Lennart Poettering 983d9c9015 units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due to the impact minimizer 2010-07-11 04:22:00 +02:00
Lennart Poettering b827a9f97d units: turn shutdown dependencies from Requires into Wants to make things a bit more robust 2010-07-10 04:52:31 +02:00
Lennart Poettering 5682009b21 units: pull in shutdown.target and umount.target when entering emergency mode 2010-07-10 04:42:22 +02:00
Lennart Poettering 4e67ddd6b3 units: introduce umount.target for unmounting all file systems 2010-07-10 02:41:06 +02:00
Lennart Poettering 83bda35801 build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
Kay Sievers f8e1755297 units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown 2010-07-09 11:53:39 +02:00
Lennart Poettering 455bb5a4bd units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise 2010-07-09 04:37:13 +02:00
Lennart Poettering 319346674c units: kill the emergency shell with SIGHUP 2010-07-08 04:21:53 +02:00
Lennart Poettering 07405e9096 units: in order to make the default services parseable by GKeyFile, merge repeated lines 2010-07-07 22:29:41 +02:00
Lennart Poettering af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +02:00
Lennart Poettering 3d88bf660d unit: add [Install] section to various service files 2010-06-18 21:56:21 +02:00
Tom Gundersen 1ebdf2d879 units: make Arch boot
This patch gives minimal Arch support (enough to boot).

We still need to parse the services to start from /etc/rc.conf before systemd can be a drop-in replacement on Arch.
2010-06-16 23:13:10 +02:00
Lennart Poettering ef9b78bb03 units: shut down sysinit service on shutdown 2010-06-07 02:42:58 +02:00
Lennart Poettering 8ffc5c2f48 units: make sure systemd sockets are installed before sockets.target 2010-06-04 20:55:37 +02:00
Lennart Poettering f92a18f527 units: introduce and explain sysinit.target 2010-06-04 18:43:40 +02:00
Lennart Poettering d29bcf0de7 units: make sure that rc-local.service is run before the getty on tty1, so that they don't fight for tty access 2010-06-02 22:14:00 +02:00
Lennart Poettering 1f48cf56cb service: change default service type to 'simple' since that is the future 2010-06-02 19:17:23 +02:00
Lennart Poettering 1136a371e2 untis: fix path to helper services 2010-06-02 15:52:14 +02:00
Lennart Poettering 9a9a438596 units: tear down sys-kernel-security.automount automount point on shutdown 2010-06-02 00:58:10 +02:00
Kay Sievers 65b0095b1c units: add SUSE service files 2010-06-02 00:53:39 +02:00
Lennart Poettering 5c546cb75e units: drop fuse fs from automount, since this is now done by udev internally 2010-06-01 19:50:35 +02:00
Lennart Poettering cd6e402e76 getty: set TERM=linux for the local gettys we configure 2010-06-01 19:49:13 +02:00
Marc-Antoine Perennou f306f4c40d units: fix Gentoo services 2010-05-24 23:18:37 +02:00
Lennart Poettering a1b256b0b5 unit: introduce exit.service for exiting from session instances 2010-05-24 22:32:44 +02:00
Lennart Poettering 683f468c54 unit: ship a mail-transfer-agent.target unit by default 2010-05-24 22:30:54 +02:00
Lennart Poettering 6d526de267 unit: add automount units for a number of API filesystems 2010-05-23 01:56:54 +02:00
Lennart Poettering e962f5c34f units: mark a couple of services as OnlyByDependency 2010-05-21 23:53:09 +02:00
Lennart Poettering 78c390dee1 fedora: make sure both prefdm and rc-local depend on base.target properly 2010-05-20 18:18:06 +02:00
Marc-Antoine Perennou ea2d9ed42d units: add services for Gentoo 2010-05-20 17:56:16 +02:00
Kay Sievers cfe243e372 units: SUSE support 2010-05-20 17:55:42 +02:00
Lennart Poettering 0d26c91071 unit: ship default.service for sessions by default 2010-05-20 02:30:49 +02:00
Lennart Poettering 2588269757 fedora: remove automount points before we go down 2010-05-20 02:11:37 +02:00
Lennart Poettering 1afaf57346 fedora: we must call the halt script with a symlink of reboot for rebooting 2010-05-20 02:05:28 +02:00
Lennart Poettering 9949ac0cec logger: we need to be started after syslog 2010-05-20 01:34:59 +02:00
Lennart Poettering dfca381db3 shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
Lennart Poettering 6c666e26c5 load-fragment: add support for overriding argv[0] in parsed command lines 2010-05-19 21:51:53 +02:00
Lennart Poettering 710bd14347 units: fix syntax of mount unit files 2010-05-18 04:17:05 +02:00
Lennart Poettering 670802d4b1 units: replace a few non-essential API mounts with automount units 2010-05-18 03:10:17 +02:00
Lennart Poettering 835d81db93 units: synchronize with shutdown.target 2010-05-18 03:08:35 +02:00
Lennart Poettering 1e3fc6541f units: fix execution environment for a few services 2010-05-18 03:08:18 +02:00
Marc-Antoine Perennou 419f328437 units: add getty@.service define for Gentoo 2010-05-17 19:55:59 +02:00
Lennart Poettering 50321ee3ef units: add a couple of Conflicts to make boot targets exclusive 2010-05-17 19:37:49 +02:00
Lennart Poettering e6aad08ba8 units: fix commenting 2010-05-17 02:17:47 +02:00
Lennart Poettering fb1bd35a5d unit: properly generate session units 2010-05-17 02:17:22 +02:00
Lennart Poettering 340d89e06e build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
Lennart Poettering 5e6afdd3d3 units: add distribution-specific units 2010-05-17 01:39:58 +02:00
Lennart Poettering f0b02ca2af units: add rpcbind.target special 2010-05-16 22:50:02 +02:00
Lennart Poettering 9f23530860 man: document a few special units 2010-05-16 22:45:11 +02:00
Lennart Poettering 08a96fb00a units: add missing syslog.target.in file to git tree 2010-05-16 21:29:41 +02:00
Lennart Poettering 865f2ad151 units: drop After=sysinit.service line in local-fs.target which should be reversed and put into sysinit.service 2010-05-16 21:15:54 +02:00
Lennart Poettering 70449379de units: move a number of units into the tarball 2010-05-16 20:49:41 +02:00
Lennart Poettering dfac97b21e build-sys: generate intermediate files in subdirs 2010-05-16 19:09:22 +02:00
Lennart Poettering 2d02719c2b units: fix logger/initctl paths 2010-04-23 22:18:55 +02:00
Lennart Poettering 92da345c02 units: fix socket files 2010-04-23 05:20:01 +02:00
Lennart Poettering 09477267f6 units: rename [Meta] section to [Unit] 2010-04-15 23:20:17 +02:00
Lennart Poettering 70fcff314f units: install a few basic units by default 2010-04-13 05:18:12 +02:00