Systemd/units
Dexter Morgan 6fdae8a6a4 Add Mageia support
This patch adds support for the Mageia Linux distribution:
 http://www.mageia.org/

Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.

This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-02 02:16:39 +01:00
..
fedora man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary 2011-08-31 01:35:43 +02:00
frugalware man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary 2011-08-31 01:35:43 +02:00
mageia Add Mageia support 2011-11-02 02:16:39 +01:00
mandriva man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary 2011-08-31 01:35:43 +02:00
suse unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn 2011-07-12 04:25:02 +02:00
user drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
.gitignore stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive 2011-08-30 22:42:49 +02:00
basic.target units: make fedora/single.service standard and rename it to rescue.service 2010-10-29 16:28:29 +02:00
bluetooth.target units: add missing target files 2010-07-13 04:05:31 +02:00
console-shell.service.m4 Add Mageia support 2011-11-02 02:16:39 +01:00
cryptsetup.target cryptsetup: fix ordering loop when dealing with encrypted swap devices 2011-01-21 03:30:18 +01:00
dev-hugepages.mount units: drop automount unit for /dev/hugepages 2011-09-21 03:56:56 +02:00
dev-mqueue.mount units: drop automount unit for /dev/mqueue 2011-09-21 03:56:56 +02:00
emergency.service units: direct stdout/stderr of rescue shells to tty 2011-09-20 12:15:48 +02:00
emergency.target unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
final.target 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
fsck-root.service.in units: order quotacheck after remount-rootfs 2011-04-16 02:03:35 +02:00
fsck@.service.in fsck: don't fsck against basic.target in order to properly allow automount /home 2011-04-20 00:44:37 +02:00
getty.target units: getty.target is pulled in via /lib these days 2010-09-29 03:03:37 +02:00
getty@.service.m4 Add Mageia support 2011-11-02 02:16:39 +01:00
graphical.target units: we no longer need m4 to build graphical.target or multi-user.taregt 2011-03-18 04:59:05 +01:00
halt.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
halt.target target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
http-daemon.target units: document that some targets exists only for compat with SysV 2011-03-18 05:12:34 +01:00
kexec.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
kexec.target units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +02:00
local-fs-pre.target units: forgot target units 2011-10-11 14:26:20 +02:00
local-fs.target units: isolate emergency.target instead of emergency.service when we fail to mount all file systems 2011-04-13 04:35:07 +02:00
mail-transfer-agent.target units: document that some targets exists only for compat with SysV 2011-03-18 05:12:34 +01:00
Makefile build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
media.mount mount: make /media a tmpfs 2011-03-07 17:38:15 +01:00
multi-user.target units: we no longer need m4 to build graphical.target or multi-user.taregt 2011-03-18 04:59:05 +01:00
network.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
nss-lookup.target units: don't ever pull in SysV targets from other SysV targets 2011-03-18 05:13:06 +01:00
plymouth-halt.service plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
plymouth-kexec.service plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
plymouth-poweroff.service plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
plymouth-quit-wait.service units: synchronize gettys to plymouth even if plymouth is killed by gdm 2011-02-24 02:32:50 +01:00
plymouth-quit.service plymouth: don't wait forever for plymouth in case it is stuck 2011-02-22 18:51:44 +01:00
plymouth-read-write.service plymouth: move plymouth out of TARGET_FEDORA 2011-02-08 18:47:32 +01:00
plymouth-reboot.service plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
plymouth-start.service plymouth: introduce plymouth.enable=0 kernel command line switch 2011-04-30 04:23:36 +02:00
poweroff.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
poweroff.target units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful 2011-03-18 04:53:31 +01:00
printer.target units: add missing target files 2010-07-13 04:05:31 +02:00
proc-sys-fs-binfmt_misc.automount units: enable automount units only if the kernel supports them 2011-05-02 17:43:18 +02:00
proc-sys-fs-binfmt_misc.mount mount: add automatic start ordering dependencies for mounts 2010-07-12 22:55:27 +02:00
quotacheck.service.in units: order quotacheck after remount-rootfs 2011-04-16 02:03:35 +02:00
quotaon.service mount: pull in quota services from local mountpoints with usr/grpquota options 2011-03-18 19:12:58 +03:00
reboot.service.in units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00
reboot.target units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful 2011-03-18 04:53:31 +01:00
remote-fs-pre.target units: drop [Install] section from remote-fs-pre.target 2011-11-01 22:29:48 +01:00
remote-fs.target remote-fs.target: do not order after network.target 2011-06-14 17:30:46 +02:00
remount-rootfs.service units: remount root and API FS before all mount units are applied 2011-10-11 03:41:04 +02:00
rescue.service.m4 Add Mageia support 2011-11-02 02:16:39 +01:00
rescue.target units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful 2011-03-18 04:53:31 +01:00
rpcbind.target units: document that some targets exists only for compat with SysV 2011-03-18 05:12:34 +01:00
serial-getty@.service.m4 Add Mageia support 2011-11-02 02:16:39 +01:00
shutdown.target 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
sigpwr.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
smartcard.target units: introduce smartcard.target 2010-07-16 21:32:11 +02:00
sockets.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
sound.target units: introduce and hook up sound.target 2011-02-09 21:07:53 +01:00
swap.target shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
sys-fs-fuse-connections.mount units: introduce unit file for FUSE fs 2011-09-22 03:00:04 +02:00
sys-kernel-config.mount units: drop automount unit for /sys/kernel/debug 2011-09-21 03:56:55 +02:00
sys-kernel-debug.mount units: drop automount unit for /sys/kernel/debug 2011-09-21 03:56:55 +02:00
sys-kernel-security.mount units: we don't need to check whether /sys/kernel/security is already mounted since we'll enumerate that fact anyway 2011-09-21 18:06:24 +02:00
sysinit.target units: make fedora/single.service standard and rename it to rescue.service 2010-10-29 16:28:29 +02:00
syslog.socket units: pull in syslog.target from syslog.socket 2011-03-18 05:17:02 +01:00
syslog.target units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit 2011-04-16 02:03:34 +02:00
systemd-ask-password-console.path untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth 2011-08-29 21:48:51 +02:00
systemd-ask-password-console.service.in untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth 2011-08-29 21:48:51 +02:00
systemd-ask-password-plymouth.path untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth 2011-08-29 21:48:51 +02:00
systemd-ask-password-plymouth.service.in untis: allow both console and plymouth ask password agents in boot transaction to allow dynamically disabled plymouth 2011-08-29 21:48:51 +02:00
systemd-ask-password-wall.path path: optionally, create watched directories in .path units 2011-04-10 01:30:14 +02:00
systemd-ask-password-wall.service.in units: enable console ask-password agent by default 2010-11-18 05:22:25 +01:00
systemd-binfmt.service.in binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
systemd-hostnamed.service.in hostnamed: drop all caps but CAP_SYS_ADMIN 2011-04-19 06:07:29 +02:00
systemd-initctl.service.in syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
systemd-initctl.socket initctl: /dev/initctl is a named pipe, not a socket 2011-04-03 22:15:14 +02:00
systemd-kmsg-syslogd.service.in units: set capability bounding set for syslog services 2011-04-20 03:34:58 +02:00
systemd-localed.service.in mechanisms: add mechanisms to change system locale and clock 2011-06-21 19:29:45 +02:00
systemd-logind.service.in units: increase LimitNOFILE a bit 2011-10-11 04:43:29 +02:00
systemd-modules-load.service.in binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
systemd-random-seed-load.service.in units: move a couple of units from base.target to sysinit.target 2010-11-19 16:24:21 +01:00
systemd-random-seed-save.service.in units: simplify shutdown scripts 2010-11-23 01:37:18 +01:00
systemd-readahead-collect.service.in readahead: opt out of bridge logging for readahead in order not to delay things unnecessarily 2011-09-23 17:42:54 +02:00
systemd-readahead-done.service.in units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
systemd-readahead-done.timer units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
systemd-readahead-replay.service.in readahead: opt out of bridge logging for readahead in order not to delay things unnecessarily 2011-09-23 17:42:54 +02:00
systemd-remount-api-vfs.service.in units: remount root and API FS before all mount units are applied 2011-10-11 03:41:04 +02:00
systemd-shutdownd.service.in units: wording fix 2011-04-16 02:03:35 +02:00
systemd-shutdownd.socket umask: set umask of a number of sockets by default, even though we check creds on connections 2011-08-01 22:42:07 +02:00
systemd-stdout-syslog-bridge.service.in units: increase LimitNOFILE a bit 2011-10-11 04:43:29 +02:00
systemd-stdout-syslog-bridge.socket stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive 2011-08-30 22:42:49 +02:00
systemd-sysctl.service.in binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
systemd-timedated.service.in mechanisms: add mechanisms to change system locale and clock 2011-06-21 19:29:45 +02:00
systemd-tmpfiles-clean.service.in binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
systemd-tmpfiles-clean.timer tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
systemd-tmpfiles-setup.service.in binfmt, modules-load, sysctl, tmpfiles: add missing ConditionDirectoryNotEmpty= 2011-04-30 23:08:15 +02:00
systemd-update-utmp-runlevel.service.in units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit 2011-04-16 02:03:34 +02:00
systemd-update-utmp-shutdown.service.in units: never pull in sysinit from utmp, so that we can shutdown from emergency mode without pulling in sysinit 2011-04-16 02:03:34 +02:00
systemd-user-sessions.service.in systemd-user-sessions: install .service file and enable by default 2010-10-07 23:48:48 +02:00
systemd-vconsole-setup.service.in units: move a couple of units from base.target to sysinit.target 2010-11-19 16:24:21 +01:00
time-sync.target units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service 2011-04-06 19:18:17 +02:00
umount.target 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
user@.service.in logind: temporarily hack right user bus address into unit file 2011-07-01 22:36:15 +02:00
var-lock.mount condition: add ConditionPathIsSymbolicLink 2011-09-21 01:42:02 +02:00
var-run.mount condition: add ConditionPathIsSymbolicLink 2011-09-21 01:42:02 +02:00