From 32a45fff4e043c872398fc302c7f0d19ad3a2fe4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Jul 2021 13:58:22 +0200 Subject: [systemd] Drop /usr prefix --- core/includes/helper/fileutil.inc | 1 - core/modules/dbus/module.conf.ubuntu | 4 -- core/modules/dunst/module.build | 5 +- core/modules/dunst/module.conf | 2 +- .../opt/openslx/vmchooser/data/linux/vm_installer | 2 +- core/modules/systemd-distro/module.build | 1 - .../systemd/data/lib/sysctl.d/50-default.conf | 39 +++++++++++++++ .../data/lib/systemd/system/autovt@.service | 1 + .../systemd/data/lib/systemd/system/basic.target | 14 ++++++ .../data/lib/systemd/system/bluetooth.target | 11 +++++ .../data/lib/systemd/system/busnames.target | 10 ++++ .../org.freedesktop.login1.busname | 1 + .../org.freedesktop.machine1.busname | 1 + .../org.freedesktop.network1.busname | 1 + .../org.freedesktop.resolve1.busname | 1 + .../org.freedesktop.systemd1.busname | 1 + .../data/lib/systemd/system/console-getty.service | 33 +++++++++++++ .../data/lib/systemd/system/console-shell.service | 32 +++++++++++++ .../data/lib/systemd/system/ctrl-alt-del.target | 1 + .../system/dbus-org.freedesktop.login1.service | 1 + .../system/dbus-org.freedesktop.machine1.service | 1 + .../data/lib/systemd/system/debug-shell.service | 33 +++++++++++++ .../systemd/data/lib/systemd/system/default.target | 1 + .../data/lib/systemd/system/dev-hugepages.mount | 21 +++++++++ .../data/lib/systemd/system/dev-mqueue.mount | 20 ++++++++ .../data/lib/systemd/system/emergency.service | 27 +++++++++++ .../data/lib/systemd/system/emergency.target | 13 +++++ .../systemd/data/lib/systemd/system/exit.target | 17 +++++++ .../systemd/data/lib/systemd/system/final.target | 13 +++++ .../systemd/data/lib/systemd/system/getty.target | 11 +++++ .../systemd/data/lib/systemd/system/getty@.service | 50 ++++++++++++++++++++ .../data/lib/systemd/system/graphical.target | 15 ++++++ .../data/lib/systemd/system/halt-local.service | 20 ++++++++ .../systemd/data/lib/systemd/system/halt.target | 17 +++++++ .../data/lib/systemd/system/hibernate.target | 13 +++++ .../data/lib/systemd/system/hybrid-sleep.target | 13 +++++ .../systemd/data/lib/systemd/system/kexec.target | 17 +++++++ .../lib/systemd/system/kmod-static-nodes.service | 18 +++++++ .../systemd/data/lib/systemd/system/machine.slice | 11 +++++ .../data/lib/systemd/system/machines.target | 17 +++++++ .../machines.target.wants/var-lib-machines.mount | 1 + .../data/lib/systemd/system/multi-user.target | 17 +++++++ .../system/multi-user.target.wants/getty.target | 1 + .../multi-user.target.wants/systemd-logind.service | 1 + .../systemd-user-sessions.service | 1 + .../data/lib/systemd/system/network-online.target | 12 +++++ .../data/lib/systemd/system/network-pre.target | 12 +++++ .../systemd/data/lib/systemd/system/network.target | 14 ++++++ .../systemd/system/org.freedesktop.login1.busname | 16 +++++++ .../system/org.freedesktop.machine1.busname | 15 ++++++ .../system/org.freedesktop.network1.busname | 20 ++++++++ .../system/org.freedesktop.resolve1.busname | 21 +++++++++ .../system/org.freedesktop.systemd1.busname | 15 ++++++ .../systemd/data/lib/systemd/system/paths.target | 10 ++++ .../data/lib/systemd/system/poweroff.target | 19 ++++++++ .../systemd/data/lib/systemd/system/printer.target | 11 +++++ .../system/proc-sys-fs-binfmt_misc.automount | 18 +++++++ .../systemd/system/proc-sys-fs-binfmt_misc.mount | 17 +++++++ .../data/lib/systemd/system/rc-local.service | 20 ++++++++ .../systemd/data/lib/systemd/system/reboot.target | 19 ++++++++ .../data/lib/systemd/system/remote-fs-pre.target | 11 +++++ .../data/lib/systemd/system/remote-fs.target | 16 +++++++ .../remote-fs.target.wants/var-lib-machines.mount | 1 + .../data/lib/systemd/system/serial-getty@.service | 44 +++++++++++++++++ .../data/lib/systemd/system/shutdown.target | 12 +++++ .../systemd/data/lib/systemd/system/sigpwr.target | 10 ++++ .../systemd/data/lib/systemd/system/sleep.target | 13 +++++ .../systemd/data/lib/systemd/system/slices.target | 12 +++++ .../data/lib/systemd/system/smartcard.target | 11 +++++ .../systemd/data/lib/systemd/system/sockets.target | 10 ++++ .../systemd-journald-dev-log.socket | 1 + .../sockets.target.wants/systemd-journald.socket | 1 + .../sockets.target.wants/systemd-shutdownd.socket | 1 + .../systemd-udevd-control.socket | 1 + .../systemd-udevd-kernel.socket | 1 + .../systemd/data/lib/systemd/system/sound.target | 11 +++++ .../systemd/data/lib/systemd/system/suspend.target | 13 +++++ .../systemd/data/lib/systemd/system/swap.target | 10 ++++ .../systemd/system/sys-fs-fuse-connections.mount | 22 +++++++++ .../lib/systemd/system/sys-kernel-config.mount | 21 +++++++++ .../systemd/data/lib/systemd/system/sysinit.target | 13 +++++ .../sysinit.target.wants/dev-hugepages.mount | 1 + .../system/sysinit.target.wants/dev-mqueue.mount | 1 + .../proc-sys-fs-binfmt_misc.automount | 1 + .../sys-fs-fuse-connections.mount | 1 + .../sysinit.target.wants/sys-kernel-config.mount | 1 + .../sysinit.target.wants/systemd-binfmt.service | 1 + .../sysinit.target.wants/systemd-journald.service | 1 + .../systemd-modules-load.service | 1 + .../sysinit.target.wants/systemd-sysctl.service | 1 + .../systemd-tmpfiles-setup-dev.service | 1 + .../systemd-tmpfiles-setup.service | 1 + .../systemd-udev-trigger.service | 1 + .../sysinit.target.wants/systemd-udevd.service | 1 + .../systemd-vconsole-setup.service | 1 + .../systemd/data/lib/systemd/system/syslog.socket | 40 ++++++++++++++++ .../data/lib/systemd/system/system-update.target | 17 +++++++ .../systemd/data/lib/systemd/system/system.slice | 14 ++++++ .../data/lib/systemd/system/systemd-binfmt.service | 27 +++++++++++ .../data/lib/systemd/system/systemd-exit.service | 17 +++++++ .../data/lib/systemd/system/systemd-halt.service | 17 +++++++ .../lib/systemd/system/systemd-hibernate.service | 17 +++++++ .../systemd/system/systemd-hybrid-sleep.service | 17 +++++++ .../lib/systemd/system/systemd-initctl.service | 16 +++++++ .../data/lib/systemd/system/systemd-initctl.socket | 17 +++++++ .../systemd/system/systemd-journal-flush.service | 22 +++++++++ .../systemd/system/systemd-journald-dev-log.socket | 32 +++++++++++++ .../lib/systemd/system/systemd-journald.service | 37 +++++++++++++++ .../lib/systemd/system/systemd-journald.socket | 26 ++++++++++ .../data/lib/systemd/system/systemd-kexec.service | 19 ++++++++ .../data/lib/systemd/system/systemd-logind.service | 38 +++++++++++++++ .../system/systemd-machine-id-commit.service | 22 +++++++++ .../lib/systemd/system/systemd-machined.service | 29 ++++++++++++ .../systemd/system/systemd-modules-load.service | 27 +++++++++++ .../lib/systemd/system/systemd-nspawn@.service | 37 +++++++++++++++ .../lib/systemd/system/systemd-poweroff.service | 17 +++++++ .../data/lib/systemd/system/systemd-reboot.service | 17 +++++++ .../lib/systemd/system/systemd-remount-fs.service | 22 +++++++++ .../lib/systemd/system/systemd-suspend.service | 17 +++++++ .../data/lib/systemd/system/systemd-sysctl.service | 21 +++++++++ .../lib/systemd/system/systemd-sysusers.service | 21 +++++++++ .../system/systemd-tmpfiles-setup-dev.service | 20 ++++++++ .../systemd/system/systemd-tmpfiles-setup.service | 20 ++++++++ .../lib/systemd/system/systemd-udev-settle.service | 25 ++++++++++ .../systemd/system/systemd-udev-trigger.service | 20 ++++++++ .../systemd/system/systemd-udevd-control.socket | 20 ++++++++ .../lib/systemd/system/systemd-udevd-kernel.socket | 19 ++++++++ .../data/lib/systemd/system/systemd-udevd.service | 31 ++++++++++++ .../system/systemd-update-utmp-runlevel.service | 21 +++++++++ .../lib/systemd/system/systemd-update-utmp.service | 21 +++++++++ .../systemd/system/systemd-user-sessions.service | 17 +++++++ .../systemd/system/systemd-vconsole-setup.service | 20 ++++++++ .../systemd/system/systemd-volatile-root.service | 21 +++++++++ .../data/lib/systemd/system/time-sync.target | 11 +++++ .../systemd/data/lib/systemd/system/timers.target | 13 +++++ .../systemd-tmpfiles-clean.timer | 1 + .../systemd/data/lib/systemd/system/user.slice | 11 +++++ .../systemd/data/lib/systemd/system/user@.service | 21 +++++++++ .../data/lib/udev/rules.d/70-uaccess-floppy.rules | 8 ++++ .../systemd/data/lib/udev/rules.d/99-systemd.rules | 55 ++++++++++++++++++++++ .../systemd/data/usr/lib/sysctl.d/50-default.conf | 39 --------------- .../data/usr/lib/systemd/system/autovt@.service | 1 - .../data/usr/lib/systemd/system/basic.target | 14 ------ .../data/usr/lib/systemd/system/bluetooth.target | 11 ----- .../data/usr/lib/systemd/system/busnames.target | 10 ---- .../org.freedesktop.login1.busname | 1 - .../org.freedesktop.machine1.busname | 1 - .../org.freedesktop.network1.busname | 1 - .../org.freedesktop.resolve1.busname | 1 - .../org.freedesktop.systemd1.busname | 1 - .../usr/lib/systemd/system/console-getty.service | 33 ------------- .../usr/lib/systemd/system/console-shell.service | 32 ------------- .../usr/lib/systemd/system/ctrl-alt-del.target | 1 - .../system/dbus-org.freedesktop.login1.service | 1 - .../system/dbus-org.freedesktop.machine1.service | 1 - .../usr/lib/systemd/system/debug-shell.service | 33 ------------- .../data/usr/lib/systemd/system/default.target | 1 - .../usr/lib/systemd/system/dev-hugepages.mount | 21 --------- .../data/usr/lib/systemd/system/dev-mqueue.mount | 20 -------- .../data/usr/lib/systemd/system/emergency.service | 27 ----------- .../data/usr/lib/systemd/system/emergency.target | 13 ----- .../data/usr/lib/systemd/system/exit.target | 17 ------- .../data/usr/lib/systemd/system/final.target | 13 ----- .../data/usr/lib/systemd/system/getty.target | 11 ----- .../data/usr/lib/systemd/system/getty@.service | 50 -------------------- .../data/usr/lib/systemd/system/graphical.target | 15 ------ .../data/usr/lib/systemd/system/halt-local.service | 20 -------- .../data/usr/lib/systemd/system/halt.target | 17 ------- .../data/usr/lib/systemd/system/hibernate.target | 13 ----- .../usr/lib/systemd/system/hybrid-sleep.target | 13 ----- .../data/usr/lib/systemd/system/kexec.target | 17 ------- .../lib/systemd/system/kmod-static-nodes.service | 18 ------- .../data/usr/lib/systemd/system/machine.slice | 11 ----- .../data/usr/lib/systemd/system/machines.target | 17 ------- .../machines.target.wants/var-lib-machines.mount | 1 - .../data/usr/lib/systemd/system/multi-user.target | 17 ------- .../system/multi-user.target.wants/getty.target | 1 - .../multi-user.target.wants/systemd-logind.service | 1 - .../systemd-user-sessions.service | 1 - .../usr/lib/systemd/system/network-online.target | 12 ----- .../data/usr/lib/systemd/system/network-pre.target | 12 ----- .../data/usr/lib/systemd/system/network.target | 14 ------ .../systemd/system/org.freedesktop.login1.busname | 16 ------- .../system/org.freedesktop.machine1.busname | 15 ------ .../system/org.freedesktop.network1.busname | 20 -------- .../system/org.freedesktop.resolve1.busname | 21 --------- .../system/org.freedesktop.systemd1.busname | 15 ------ .../data/usr/lib/systemd/system/paths.target | 10 ---- .../data/usr/lib/systemd/system/poweroff.target | 19 -------- .../data/usr/lib/systemd/system/printer.target | 11 ----- .../system/proc-sys-fs-binfmt_misc.automount | 18 ------- .../systemd/system/proc-sys-fs-binfmt_misc.mount | 17 ------- .../data/usr/lib/systemd/system/rc-local.service | 20 -------- .../data/usr/lib/systemd/system/reboot.target | 19 -------- .../usr/lib/systemd/system/remote-fs-pre.target | 11 ----- .../data/usr/lib/systemd/system/remote-fs.target | 16 ------- .../remote-fs.target.wants/var-lib-machines.mount | 1 - .../usr/lib/systemd/system/serial-getty@.service | 44 ----------------- .../data/usr/lib/systemd/system/shutdown.target | 12 ----- .../data/usr/lib/systemd/system/sigpwr.target | 10 ---- .../data/usr/lib/systemd/system/sleep.target | 13 ----- .../data/usr/lib/systemd/system/slices.target | 12 ----- .../data/usr/lib/systemd/system/smartcard.target | 11 ----- .../data/usr/lib/systemd/system/sockets.target | 10 ---- .../systemd-journald-dev-log.socket | 1 - .../sockets.target.wants/systemd-journald.socket | 1 - .../sockets.target.wants/systemd-shutdownd.socket | 1 - .../systemd-udevd-control.socket | 1 - .../systemd-udevd-kernel.socket | 1 - .../data/usr/lib/systemd/system/sound.target | 11 ----- .../data/usr/lib/systemd/system/suspend.target | 13 ----- .../data/usr/lib/systemd/system/swap.target | 10 ---- .../systemd/system/sys-fs-fuse-connections.mount | 22 --------- .../usr/lib/systemd/system/sys-kernel-config.mount | 21 --------- .../data/usr/lib/systemd/system/sysinit.target | 13 ----- .../sysinit.target.wants/dev-hugepages.mount | 1 - .../system/sysinit.target.wants/dev-mqueue.mount | 1 - .../proc-sys-fs-binfmt_misc.automount | 1 - .../sys-fs-fuse-connections.mount | 1 - .../sysinit.target.wants/sys-kernel-config.mount | 1 - .../sysinit.target.wants/systemd-binfmt.service | 1 - .../sysinit.target.wants/systemd-journald.service | 1 - .../systemd-modules-load.service | 1 - .../sysinit.target.wants/systemd-sysctl.service | 1 - .../systemd-tmpfiles-setup-dev.service | 1 - .../systemd-tmpfiles-setup.service | 1 - .../systemd-udev-trigger.service | 1 - .../sysinit.target.wants/systemd-udevd.service | 1 - .../systemd-vconsole-setup.service | 1 - .../data/usr/lib/systemd/system/syslog.socket | 40 ---------------- .../usr/lib/systemd/system/system-update.target | 17 ------- .../data/usr/lib/systemd/system/system.slice | 14 ------ .../usr/lib/systemd/system/systemd-binfmt.service | 27 ----------- .../usr/lib/systemd/system/systemd-exit.service | 17 ------- .../usr/lib/systemd/system/systemd-halt.service | 17 ------- .../lib/systemd/system/systemd-hibernate.service | 17 ------- .../systemd/system/systemd-hybrid-sleep.service | 17 ------- .../usr/lib/systemd/system/systemd-initctl.service | 16 ------- .../usr/lib/systemd/system/systemd-initctl.socket | 17 ------- .../systemd/system/systemd-journal-flush.service | 22 --------- .../systemd/system/systemd-journald-dev-log.socket | 32 ------------- .../lib/systemd/system/systemd-journald.service | 37 --------------- .../usr/lib/systemd/system/systemd-journald.socket | 26 ---------- .../usr/lib/systemd/system/systemd-kexec.service | 19 -------- .../usr/lib/systemd/system/systemd-logind.service | 38 --------------- .../system/systemd-machine-id-commit.service | 22 --------- .../lib/systemd/system/systemd-machined.service | 29 ------------ .../systemd/system/systemd-modules-load.service | 27 ----------- .../usr/lib/systemd/system/systemd-nspawn@.service | 37 --------------- .../lib/systemd/system/systemd-poweroff.service | 17 ------- .../usr/lib/systemd/system/systemd-reboot.service | 17 ------- .../lib/systemd/system/systemd-remount-fs.service | 22 --------- .../usr/lib/systemd/system/systemd-suspend.service | 17 ------- .../usr/lib/systemd/system/systemd-sysctl.service | 21 --------- .../lib/systemd/system/systemd-sysusers.service | 21 --------- .../system/systemd-tmpfiles-setup-dev.service | 20 -------- .../systemd/system/systemd-tmpfiles-setup.service | 20 -------- .../lib/systemd/system/systemd-udev-settle.service | 25 ---------- .../systemd/system/systemd-udev-trigger.service | 20 -------- .../systemd/system/systemd-udevd-control.socket | 20 -------- .../lib/systemd/system/systemd-udevd-kernel.socket | 19 -------- .../usr/lib/systemd/system/systemd-udevd.service | 31 ------------ .../system/systemd-update-utmp-runlevel.service | 21 --------- .../lib/systemd/system/systemd-update-utmp.service | 21 --------- .../systemd/system/systemd-user-sessions.service | 17 ------- .../systemd/system/systemd-vconsole-setup.service | 20 -------- .../systemd/system/systemd-volatile-root.service | 21 --------- .../data/usr/lib/systemd/system/time-sync.target | 11 ----- .../data/usr/lib/systemd/system/timers.target | 13 ----- .../systemd-tmpfiles-clean.timer | 1 - .../systemd/data/usr/lib/systemd/system/user.slice | 11 ----- .../data/usr/lib/systemd/system/user@.service | 21 --------- .../usr/lib/udev/rules.d/70-uaccess-floppy.rules | 8 ---- .../data/usr/lib/udev/rules.d/99-systemd.rules | 55 ---------------------- core/modules/systemd/module.build | 2 + core/modules/systemd/module.conf | 4 +- core/modules/xorg/module.conf | 1 + core/modules/xorg/module.conf.centos | 1 - core/modules/xorg/module.conf.fedora | 1 - core/modules/xorg/module.conf.opensuse | 1 - core/modules/xorg/module.conf.opensuse.13.1 | 1 - core/modules/xorg/module.conf.opensuse.13.2 | 1 - core/rootfs/rootfs-stage31/data/init | 1 + 283 files changed, 1991 insertions(+), 2001 deletions(-) create mode 100644 core/modules/systemd/data/lib/sysctl.d/50-default.conf create mode 120000 core/modules/systemd/data/lib/systemd/system/autovt@.service create mode 100644 core/modules/systemd/data/lib/systemd/system/basic.target create mode 100644 core/modules/systemd/data/lib/systemd/system/bluetooth.target create mode 100644 core/modules/systemd/data/lib/systemd/system/busnames.target create mode 120000 core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname create mode 120000 core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname create mode 120000 core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname create mode 120000 core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname create mode 120000 core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/console-getty.service create mode 100644 core/modules/systemd/data/lib/systemd/system/console-shell.service create mode 120000 core/modules/systemd/data/lib/systemd/system/ctrl-alt-del.target create mode 120000 core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.login1.service create mode 120000 core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.machine1.service create mode 100644 core/modules/systemd/data/lib/systemd/system/debug-shell.service create mode 120000 core/modules/systemd/data/lib/systemd/system/default.target create mode 100644 core/modules/systemd/data/lib/systemd/system/dev-hugepages.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/dev-mqueue.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/emergency.service create mode 100644 core/modules/systemd/data/lib/systemd/system/emergency.target create mode 100644 core/modules/systemd/data/lib/systemd/system/exit.target create mode 100644 core/modules/systemd/data/lib/systemd/system/final.target create mode 100644 core/modules/systemd/data/lib/systemd/system/getty.target create mode 100644 core/modules/systemd/data/lib/systemd/system/getty@.service create mode 100644 core/modules/systemd/data/lib/systemd/system/graphical.target create mode 100644 core/modules/systemd/data/lib/systemd/system/halt-local.service create mode 100644 core/modules/systemd/data/lib/systemd/system/halt.target create mode 100644 core/modules/systemd/data/lib/systemd/system/hibernate.target create mode 100644 core/modules/systemd/data/lib/systemd/system/hybrid-sleep.target create mode 100644 core/modules/systemd/data/lib/systemd/system/kexec.target create mode 100644 core/modules/systemd/data/lib/systemd/system/kmod-static-nodes.service create mode 100644 core/modules/systemd/data/lib/systemd/system/machine.slice create mode 100644 core/modules/systemd/data/lib/systemd/system/machines.target create mode 120000 core/modules/systemd/data/lib/systemd/system/machines.target.wants/var-lib-machines.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/multi-user.target create mode 120000 core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/getty.target create mode 120000 core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-logind.service create mode 120000 core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service create mode 100644 core/modules/systemd/data/lib/systemd/system/network-online.target create mode 100644 core/modules/systemd/data/lib/systemd/system/network-pre.target create mode 100644 core/modules/systemd/data/lib/systemd/system/network.target create mode 100644 core/modules/systemd/data/lib/systemd/system/org.freedesktop.login1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/org.freedesktop.machine1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/org.freedesktop.network1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/org.freedesktop.resolve1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/org.freedesktop.systemd1.busname create mode 100644 core/modules/systemd/data/lib/systemd/system/paths.target create mode 100644 core/modules/systemd/data/lib/systemd/system/poweroff.target create mode 100644 core/modules/systemd/data/lib/systemd/system/printer.target create mode 100644 core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.automount create mode 100644 core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/rc-local.service create mode 100644 core/modules/systemd/data/lib/systemd/system/reboot.target create mode 100644 core/modules/systemd/data/lib/systemd/system/remote-fs-pre.target create mode 100644 core/modules/systemd/data/lib/systemd/system/remote-fs.target create mode 120000 core/modules/systemd/data/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/serial-getty@.service create mode 100644 core/modules/systemd/data/lib/systemd/system/shutdown.target create mode 100644 core/modules/systemd/data/lib/systemd/system/sigpwr.target create mode 100644 core/modules/systemd/data/lib/systemd/system/sleep.target create mode 100644 core/modules/systemd/data/lib/systemd/system/slices.target create mode 100644 core/modules/systemd/data/lib/systemd/system/smartcard.target create mode 100644 core/modules/systemd/data/lib/systemd/system/sockets.target create mode 120000 core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket create mode 120000 core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald.socket create mode 120000 core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket create mode 120000 core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket create mode 120000 core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/sound.target create mode 100644 core/modules/systemd/data/lib/systemd/system/suspend.target create mode 100644 core/modules/systemd/data/lib/systemd/system/swap.target create mode 100644 core/modules/systemd/data/lib/systemd/system/sys-fs-fuse-connections.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/sys-kernel-config.mount create mode 100644 core/modules/systemd/data/lib/systemd/system/sysinit.target create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-journald.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udevd.service create mode 120000 core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service create mode 100644 core/modules/systemd/data/lib/systemd/system/syslog.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/system-update.target create mode 100644 core/modules/systemd/data/lib/systemd/system/system.slice create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-binfmt.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-exit.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-halt.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-hibernate.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-hybrid-sleep.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-initctl.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-initctl.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-journal-flush.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-journald-dev-log.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-journald.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-journald.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-kexec.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-logind.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-machine-id-commit.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-machined.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-modules-load.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-nspawn@.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-poweroff.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-reboot.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-remount-fs.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-suspend.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-sysctl.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-sysusers.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup-dev.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-udev-settle.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-udev-trigger.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-udevd-control.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-udevd-kernel.socket create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-udevd.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-update-utmp-runlevel.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-update-utmp.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-user-sessions.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-vconsole-setup.service create mode 100644 core/modules/systemd/data/lib/systemd/system/systemd-volatile-root.service create mode 100644 core/modules/systemd/data/lib/systemd/system/time-sync.target create mode 100644 core/modules/systemd/data/lib/systemd/system/timers.target create mode 120000 core/modules/systemd/data/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer create mode 100644 core/modules/systemd/data/lib/systemd/system/user.slice create mode 100644 core/modules/systemd/data/lib/systemd/system/user@.service create mode 100644 core/modules/systemd/data/lib/udev/rules.d/70-uaccess-floppy.rules create mode 100644 core/modules/systemd/data/lib/udev/rules.d/99-systemd.rules delete mode 100644 core/modules/systemd/data/usr/lib/sysctl.d/50-default.conf delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/autovt@.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/basic.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/bluetooth.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/busnames.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/console-getty.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/console-shell.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/ctrl-alt-del.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.machine1.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/debug-shell.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/default.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/dev-mqueue.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/emergency.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/emergency.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/exit.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/final.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/getty.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/getty@.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/graphical.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/halt-local.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/halt.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/hibernate.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/hybrid-sleep.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/kexec.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/kmod-static-nodes.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/machine.slice delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/machines.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/machines.target.wants/var-lib-machines.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/multi-user.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/getty.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/network-online.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/network-pre.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/network.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.login1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.machine1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.network1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.resolve1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.systemd1.busname delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/paths.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/poweroff.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/printer.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/rc-local.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/reboot.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/remote-fs-pre.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/serial-getty@.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/shutdown.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sigpwr.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sleep.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/slices.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/smartcard.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sockets.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sound.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/suspend.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/swap.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sys-kernel-config.mount delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/syslog.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/system-update.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/system.slice delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-binfmt.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-exit.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-halt.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-hibernate.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-hybrid-sleep.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-journal-flush.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-journald-dev-log.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-kexec.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-logind.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-machine-id-commit.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-machined.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-modules-load.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-nspawn@.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-poweroff.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-reboot.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-remount-fs.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-suspend.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-sysusers.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-settle.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-trigger.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-control.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-kernel.socket delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp-runlevel.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-user-sessions.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-vconsole-setup.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/systemd-volatile-root.service delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/time-sync.target delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/timers.target delete mode 120000 core/modules/systemd/data/usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/user.slice delete mode 100644 core/modules/systemd/data/usr/lib/systemd/system/user@.service delete mode 100644 core/modules/systemd/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules delete mode 100644 core/modules/systemd/data/usr/lib/udev/rules.d/99-systemd.rules diff --git a/core/includes/helper/fileutil.inc b/core/includes/helper/fileutil.inc index 89d58f1a..b5a1e72d 100644 --- a/core/includes/helper/fileutil.inc +++ b/core/includes/helper/fileutil.inc @@ -25,7 +25,6 @@ tarcopy () { [ ! -d "$TO" ] && { mkdir -p "$TO" || perror "could not create destination "$TO" for tar-copy."; } # TODO count files copied? would remove the need to do it everywhere :) tar $IGNORE_ERROR -cpP $FROM | tar -xp -C "$TO" \ - --transform 's,^/lib/udev/rules.d,/usr/lib/udev/rules.d,' \ 2> /dev/null local PS=(${PIPESTATUS[*]}) [ "x$IGNORE_ERROR" == "x" -a "x${PS[0]}" != "x0" ] && perror "packing-part of tar-copy from '$SHORT' to '$TO' failed. (${PS[0]})" diff --git a/core/modules/dbus/module.conf.ubuntu b/core/modules/dbus/module.conf.ubuntu index 7c8092aa..eb538243 100644 --- a/core/modules/dbus/module.conf.ubuntu +++ b/core/modules/dbus/module.conf.ubuntu @@ -4,7 +4,3 @@ REQUIRED_CONTENT_PACKAGES=" dbus-x11 dbus-user-session " -REQUIRED_DIRECTORIES=" - /usr/share/dbus-1 - /usr/lib/systemd/user -" diff --git a/core/modules/dunst/module.build b/core/modules/dunst/module.build index d09204e5..f5961132 100644 --- a/core/modules/dunst/module.build +++ b/core/modules/dunst/module.build @@ -5,10 +5,7 @@ fetch_source() { } build() { - # copy udev rules to correct location - if [ -d "${TARGET_BUILD_DIR}/usr/lib/udev" ] && [ -d "${MODULE_BUILD_DIR}/lib/udev" ]; then - mv "${MODULE_BUILD_DIR}/lib/udev" "${MODULE_BUILD_DIR}/usr/lib/" - fi + : } post_copy() { diff --git a/core/modules/dunst/module.conf b/core/modules/dunst/module.conf index 8aac23c5..41cd71ec 100644 --- a/core/modules/dunst/module.conf +++ b/core/modules/dunst/module.conf @@ -5,7 +5,7 @@ REQUIRED_BINARIES=" " REQUIRED_DIRECTORIES=" /usr/share/dbus-1 - /usr/lib/systemd/user + /lib/systemd/user " REQUIRED_FILES=" " diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/vm_installer b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/vm_installer index bf995a66..fa6029bc 100755 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/vm_installer +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/data/linux/vm_installer @@ -20,7 +20,7 @@ case $(${PS} --pid 1 -o comm h) in if [ -d /etc/systemd/system ]; then SERVICEDIR=/etc/systemd/system/ else - SERVICEDIR=/usr/lib/systemd/system/ + SERVICEDIR=/lib/systemd/system/ fi if [ -L "${SERVICEDIR}/graphical.target.wants/${SERVICEMOUNT}" ] \ diff --git a/core/modules/systemd-distro/module.build b/core/modules/systemd-distro/module.build index c7d9d09d..75bcf63f 100644 --- a/core/modules/systemd-distro/module.build +++ b/core/modules/systemd-distro/module.build @@ -20,6 +20,5 @@ post_copy() { [ -d "${TARGET_BUILD_DIR}/usr/lib/systemd/system" ] \ && ! [ -L "${TARGET_BUILD_DIR}/usr/lib/systemd/system" ] \ && perror "/usr/lib/systemd/system must not exist in target build dir" - ln -nfs "../../../lib/systemd/system" "${TARGET_BUILD_DIR}/usr/lib/systemd/system" } diff --git a/core/modules/systemd/data/lib/sysctl.d/50-default.conf b/core/modules/systemd/data/lib/sysctl.d/50-default.conf new file mode 100644 index 00000000..6ece04ce --- /dev/null +++ b/core/modules/systemd/data/lib/sysctl.d/50-default.conf @@ -0,0 +1,39 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# See sysctl.d(5) and core(5) for for details. + +# System Request functionality of the kernel (SYNC) +kernel.sysrq = 1 + +# Append the PID to the core filename +kernel.core_uses_pid = 1 + +# Source route verification +net.ipv4.conf.all.rp_filter = 1 +# Do not accept source routing +net.ipv4.conf.all.accept_source_route = 0 +# protection from the SYN flood attack +net.ipv4.tcp_syncookies = 1 +# timestamps add a little overhead but are recommended for gbit links +net.ipv4.tcp_timestamps = 1 +# ignore echo broadcast requests to prevent being part of smurf attacks +net.ipv4.icmp_echo_ignore_broadcasts = 1 +# ignore bogus icmp errors +net.ipv4.icmp_ignore_bogus_error_responses = 1 +# send redirects (not a router, disable it) +net.ipv4.conf.all.send_redirects = 0 +# ICMP routing redirects (only secure) +net.ipv4.conf.all.accept_redirects = 0 +net.ipv4.conf.all.secure_redirects = 1 + +# Enable hard and soft link protection +fs.protected_hardlinks = 1 +fs.protected_symlinks = 1 + +# A little extra security for local exploits +kernel.kptr_restrict = 1 diff --git a/core/modules/systemd/data/lib/systemd/system/autovt@.service b/core/modules/systemd/data/lib/systemd/system/autovt@.service new file mode 120000 index 00000000..fe40e8fd --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/autovt@.service @@ -0,0 +1 @@ +getty@.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/basic.target b/core/modules/systemd/data/lib/systemd/system/basic.target new file mode 100644 index 00000000..6b9cfe4c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/basic.target @@ -0,0 +1,14 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Basic System +Documentation=man:systemd.special(7) +Requires=sysinit.target +Wants=sockets.target timers.target paths.target +After=sysinit.target sockets.target timers.target paths.target +RefuseManualStart=yes diff --git a/core/modules/systemd/data/lib/systemd/system/bluetooth.target b/core/modules/systemd/data/lib/systemd/system/bluetooth.target new file mode 100644 index 00000000..dd4ae14c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/bluetooth.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Bluetooth +Documentation=man:systemd.special(7) +StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target b/core/modules/systemd/data/lib/systemd/system/busnames.target new file mode 100644 index 00000000..5e866b40 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Bus Names +Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname new file mode 120000 index 00000000..9d1bd813 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname @@ -0,0 +1 @@ +../org.freedesktop.login1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname new file mode 120000 index 00000000..068b1676 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname @@ -0,0 +1 @@ +../org.freedesktop.machine1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname new file mode 120000 index 00000000..13f4a8a7 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname @@ -0,0 +1 @@ +../org.freedesktop.network1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname new file mode 120000 index 00000000..1ede82df --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname @@ -0,0 +1 @@ +../org.freedesktop.resolve1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname new file mode 120000 index 00000000..bf976b87 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname @@ -0,0 +1 @@ +../org.freedesktop.systemd1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/console-getty.service b/core/modules/systemd/data/lib/systemd/system/console-getty.service new file mode 100644 index 00000000..5c9c01c7 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/console-getty.service @@ -0,0 +1,33 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Console Getty +Documentation=man:agetty(8) +After=systemd-user-sessions.service plymouth-quit-wait.service +ConditionPathExists=/dev/console +After=rc-local.service +Before=getty.target + +[Service] +# The '-o' option value tells agetty to replace 'login' arguments with an +# option to preserve environment (-p), followed by '--' for safety, and then +# the entered username. +ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM +Type=idle +Restart=always +RestartSec=0 +UtmpIdentifier=cons +TTYPath=/dev/console +TTYReset=yes +TTYVHangup=yes +KillMode=process +IgnoreSIGPIPE=no +SendSIGHUP=yes + +[Install] +WantedBy=getty.target diff --git a/core/modules/systemd/data/lib/systemd/system/console-shell.service b/core/modules/systemd/data/lib/systemd/system/console-shell.service new file mode 100644 index 00000000..c1548299 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/console-shell.service @@ -0,0 +1,32 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Console Shell +Documentation=man:sulogin(8) +After=systemd-user-sessions.service plymouth-quit-wait.service +After=rc-local.service +Before=getty.target + +[Service] +Environment=HOME=/root +WorkingDirectory=/root +ExecStart=-/sbin/sulogin +ExecStopPost=-/usr/bin/systemctl poweroff +Type=idle +StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit +KillMode=process +IgnoreSIGPIPE=no + +# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash +# terminates cleanly. +KillSignal=SIGHUP + +[Install] +WantedBy=getty.target diff --git a/core/modules/systemd/data/lib/systemd/system/ctrl-alt-del.target b/core/modules/systemd/data/lib/systemd/system/ctrl-alt-del.target new file mode 120000 index 00000000..f2fde431 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/ctrl-alt-del.target @@ -0,0 +1 @@ +reboot.target \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.login1.service b/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.login1.service new file mode 120000 index 00000000..d87318cc --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.login1.service @@ -0,0 +1 @@ +systemd-logind.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.machine1.service b/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.machine1.service new file mode 120000 index 00000000..22692cce --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/dbus-org.freedesktop.machine1.service @@ -0,0 +1 @@ +systemd-machined.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/debug-shell.service b/core/modules/systemd/data/lib/systemd/system/debug-shell.service new file mode 100644 index 00000000..4220d7c2 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/debug-shell.service @@ -0,0 +1,33 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Early root shell on /dev/tty9 FOR DEBUGGING ONLY +Documentation=man:sushell(8) +DefaultDependencies=no +IgnoreOnIsolate=yes + +[Service] +Environment=TERM=linux +ExecStart=/bin/ash +Restart=always +RestartSec=0 +StandardInput=tty +TTYPath=/dev/tty9 +TTYReset=yes +TTYVHangup=yes +KillMode=process +IgnoreSIGPIPE=no +# bash ignores SIGTERM +KillSignal=SIGHUP + +# Unset locale for the console getty since the console has problems +# displaying some internationalized messages. +Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= + +[Install] +WantedBy=sysinit.target diff --git a/core/modules/systemd/data/lib/systemd/system/default.target b/core/modules/systemd/data/lib/systemd/system/default.target new file mode 120000 index 00000000..a0aae86a --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/default.target @@ -0,0 +1 @@ +graphical.target \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/dev-hugepages.mount b/core/modules/systemd/data/lib/systemd/system/dev-hugepages.mount new file mode 100644 index 00000000..86ad7ac2 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/dev-hugepages.mount @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Huge Pages File System +Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/sys/kernel/mm/hugepages +ConditionCapability=CAP_SYS_ADMIN +ConditionVirtualization=!private-users + +[Mount] +What=hugetlbfs +Where=/dev/hugepages +Type=hugetlbfs diff --git a/core/modules/systemd/data/lib/systemd/system/dev-mqueue.mount b/core/modules/systemd/data/lib/systemd/system/dev-mqueue.mount new file mode 100644 index 00000000..b2adfeb8 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/dev-mqueue.mount @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=POSIX Message Queue File System +Documentation=man:mq_overview(7) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/proc/sys/fs/mqueue +ConditionCapability=CAP_SYS_ADMIN + +[Mount] +What=mqueue +Where=/dev/mqueue +Type=mqueue diff --git a/core/modules/systemd/data/lib/systemd/system/emergency.service b/core/modules/systemd/data/lib/systemd/system/emergency.service new file mode 100644 index 00000000..4a45f2a7 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/emergency.service @@ -0,0 +1,27 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Emergency Shell +Documentation=man:sulogin(8) +DefaultDependencies=no +Conflicts=shutdown.target +Conflicts=rescue.service +Conflicts=syslog.socket +Before=shutdown.target + +[Service] +Environment=HOME=/root +WorkingDirectory=-/root +ExecStart=-/lib/systemd/systemd-sulogin-shell emergency +Type=idle +StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit +KillMode=process +IgnoreSIGPIPE=no +SendSIGHUP=yes diff --git a/core/modules/systemd/data/lib/systemd/system/emergency.target b/core/modules/systemd/data/lib/systemd/system/emergency.target new file mode 100644 index 00000000..0760d66f --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/emergency.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Emergency Mode +Documentation=man:systemd.special(7) +Requires=emergency.service +After=emergency.service +AllowIsolate=yes diff --git a/core/modules/systemd/data/lib/systemd/system/exit.target b/core/modules/systemd/data/lib/systemd/system/exit.target new file mode 100644 index 00000000..f5f953d1 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/exit.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Exit the container +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=systemd-exit.service +After=systemd-exit.service +AllowIsolate=yes + +[Install] +Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/lib/systemd/system/final.target b/core/modules/systemd/data/lib/systemd/system/final.target new file mode 100644 index 00000000..42819105 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/final.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Final Step +Documentation=man:systemd.special(7) +DefaultDependencies=no +RefuseManualStart=yes +After=shutdown.target umount.target diff --git a/core/modules/systemd/data/lib/systemd/system/getty.target b/core/modules/systemd/data/lib/systemd/system/getty.target new file mode 100644 index 00000000..c33d4465 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/getty.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Login Prompts +Documentation=man:systemd.special(7) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html diff --git a/core/modules/systemd/data/lib/systemd/system/getty@.service b/core/modules/systemd/data/lib/systemd/system/getty@.service new file mode 100644 index 00000000..5c1d1666 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/getty@.service @@ -0,0 +1,50 @@ +# This file is part of systemd. +# Patched for OpenSLX +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Getty on %I +Documentation=man:agetty(8) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html +After=systemd-user-sessions.service +After=rc-local.service + +# If additional gettys are spawned during boot then we should make +# sure that this is synchronized before getty.target, even though +# getty.target didn't actually pull it in. +Before=getty.target +IgnoreOnIsolate=yes + +# On systems without virtual consoles, don't start any getty. (Note +# that serial gettys are covered by serial-getty@.service, not this +# unit +ConditionPathExists=/dev/tty0 + +[Service] +ExecStartPre=-/opt/openslx/bin/killall fbsplash +ExecStartPre=-/opt/openslx/scripts/tty-init %I +# the VT is cleared by TTYVTDisallocate +ExecStart=-/sbin/agetty %I 38400 linux +Type=idle +Restart=always +RestartSec=0 +UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +TTYVTDisallocate=no +KillMode=process +IgnoreSIGPIPE=no + +# Unset locale for the console getty since the console has problems +# displaying some internationalized messages. +Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= + +# Some login implementations ignore SIGTERM, so we send SIGHUP +# instead, to ensure that login terminates cleanly. +KillSignal=SIGHUP + diff --git a/core/modules/systemd/data/lib/systemd/system/graphical.target b/core/modules/systemd/data/lib/systemd/system/graphical.target new file mode 100644 index 00000000..87be97e1 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/graphical.target @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Graphical Interface +Documentation=man:systemd.special(7) +Requires=multi-user.target +Wants=display-manager.service +Conflicts=rescue.service rescue.target +After=multi-user.target rescue.service rescue.target display-manager.service +AllowIsolate=yes diff --git a/core/modules/systemd/data/lib/systemd/system/halt-local.service b/core/modules/systemd/data/lib/systemd/system/halt-local.service new file mode 100644 index 00000000..e6243eeb --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/halt-local.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=/usr/sbin/halt.local Compatibility +ConditionFileIsExecutable=/usr/sbin/halt.local +DefaultDependencies=no +After=shutdown.target +Before=final.target + +[Service] +Type=oneshot +ExecStart=/usr/sbin/halt.local +TimeoutSec=0 +StandardOutput=tty +RemainAfterExit=yes diff --git a/core/modules/systemd/data/lib/systemd/system/halt.target b/core/modules/systemd/data/lib/systemd/system/halt.target new file mode 100644 index 00000000..a21d984b --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/halt.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Halt +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=systemd-halt.service +After=systemd-halt.service +AllowIsolate=yes + +[Install] +Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/lib/systemd/system/hibernate.target b/core/modules/systemd/data/lib/systemd/system/hibernate.target new file mode 100644 index 00000000..143eb592 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/hibernate.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Hibernate +Documentation=man:systemd.special(7) +DefaultDependencies=no +BindsTo=systemd-hibernate.service +After=systemd-hibernate.service diff --git a/core/modules/systemd/data/lib/systemd/system/hybrid-sleep.target b/core/modules/systemd/data/lib/systemd/system/hybrid-sleep.target new file mode 100644 index 00000000..d2d34092 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/hybrid-sleep.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Hybrid Suspend+Hibernate +Documentation=man:systemd.special(7) +DefaultDependencies=no +BindsTo=systemd-hybrid-sleep.service +After=systemd-hybrid-sleep.service diff --git a/core/modules/systemd/data/lib/systemd/system/kexec.target b/core/modules/systemd/data/lib/systemd/system/kexec.target new file mode 100644 index 00000000..90795d0c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/kexec.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Reboot via kexec +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=systemd-kexec.service +After=systemd-kexec.service +AllowIsolate=yes + +[Install] +Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/lib/systemd/system/kmod-static-nodes.service b/core/modules/systemd/data/lib/systemd/system/kmod-static-nodes.service new file mode 100644 index 00000000..49c5d9bc --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/kmod-static-nodes.service @@ -0,0 +1,18 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Create list of required static device nodes for the current kernel +DefaultDependencies=no +Before=sysinit.target systemd-tmpfiles-setup-dev.service +ConditionCapability=CAP_SYS_MODULE +ConditionFileNotEmpty=/lib/modules/%v/modules.devname + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf diff --git a/core/modules/systemd/data/lib/systemd/system/machine.slice b/core/modules/systemd/data/lib/systemd/system/machine.slice new file mode 100644 index 00000000..3d40dfd7 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/machine.slice @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Virtual Machine and Container Slice +Documentation=man:systemd.special(7) +Before=slices.target diff --git a/core/modules/systemd/data/lib/systemd/system/machines.target b/core/modules/systemd/data/lib/systemd/system/machines.target new file mode 100644 index 00000000..99618a19 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/machines.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Containers +Documentation=man:systemd.special(7) +Requires=basic.target +Conflicts=rescue.service rescue.target +After=basic.target rescue.service rescue.target +Before=multi-user.target + +[Install] +WantedBy=multi-user.target diff --git a/core/modules/systemd/data/lib/systemd/system/machines.target.wants/var-lib-machines.mount b/core/modules/systemd/data/lib/systemd/system/machines.target.wants/var-lib-machines.mount new file mode 120000 index 00000000..94338197 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/machines.target.wants/var-lib-machines.mount @@ -0,0 +1 @@ +../var-lib-machines.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/multi-user.target b/core/modules/systemd/data/lib/systemd/system/multi-user.target new file mode 100644 index 00000000..998e0460 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/multi-user.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Multi-User System +Documentation=man:systemd.special(7) +Requires=basic.target +Conflicts=rescue.service rescue.target +After=basic.target rescue.service rescue.target +AllowIsolate=yes + +[Install] +Alias=default.target diff --git a/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/getty.target b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/getty.target new file mode 120000 index 00000000..bdba1fe4 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/getty.target @@ -0,0 +1 @@ +../getty.target \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-logind.service b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-logind.service new file mode 120000 index 00000000..270a900e --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-logind.service @@ -0,0 +1 @@ +../systemd-logind.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service new file mode 120000 index 00000000..f878b529 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service @@ -0,0 +1 @@ +../systemd-user-sessions.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/network-online.target b/core/modules/systemd/data/lib/systemd/system/network-online.target new file mode 100644 index 00000000..5130d8c5 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/network-online.target @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Network is Online +Documentation=man:systemd.special(7) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +After=network.target diff --git a/core/modules/systemd/data/lib/systemd/system/network-pre.target b/core/modules/systemd/data/lib/systemd/system/network-pre.target new file mode 100644 index 00000000..0d54a4cf --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/network-pre.target @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Network (Pre) +Documentation=man:systemd.special(7) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +RefuseManualStart=yes diff --git a/core/modules/systemd/data/lib/systemd/system/network.target b/core/modules/systemd/data/lib/systemd/system/network.target new file mode 100644 index 00000000..4186c088 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/network.target @@ -0,0 +1,14 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Network +Documentation=man:systemd.special(7) +Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget +DefaultDependencies=no +ConditionPathExists=/run/network/network-ready + diff --git a/core/modules/systemd/data/lib/systemd/system/org.freedesktop.login1.busname b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.login1.busname new file mode 100644 index 00000000..b169720f --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.login1.busname @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Login Service Bus Name +Documentation=man:systemd-logind.service(8) man:logind.conf(5) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/logind +Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat + +[BusName] +Service=systemd-logind.service +AllowWorld=talk diff --git a/core/modules/systemd/data/lib/systemd/system/org.freedesktop.machine1.busname b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.machine1.busname new file mode 100644 index 00000000..a1f01547 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.machine1.busname @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Virtual Machine and Container Registration Service Bus Name +Documentation=man:systemd-machined.service(8) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined + +[BusName] +Service=systemd-machined.service +AllowWorld=talk diff --git a/core/modules/systemd/data/lib/systemd/system/org.freedesktop.network1.busname b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.network1.busname new file mode 100644 index 00000000..3a0e1189 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.network1.busname @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Network Service Bus Name +Documentation=man:systemd-networkd.service(8) + +# This is pulled in by systemd-networkd.service, since it cannot run +# without its policy set. However, let's conditionalize this unit on +# non-kdbus system. +ConditionPathExists=/sys/fs/kdbus/0-system/ + +[BusName] +Service=systemd-networkd.service +AllowWorld=talk +AllowUser=systemd-network own diff --git a/core/modules/systemd/data/lib/systemd/system/org.freedesktop.resolve1.busname b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.resolve1.busname new file mode 100644 index 00000000..28c8f970 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.resolve1.busname @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Network Name Resolution Service Bus Name +Documentation=man:systemd-resolved.service(8) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/resolved + +# This is pulled in by systemd-resolved.service, since it cannot run +# without its policy set. However, let's conditionalize this unit on +# non-kdbus system. +ConditionPathExists=/sys/fs/kdbus/0-system/ + +[BusName] +Service=systemd-resolved.service +AllowWorld=talk +AllowUser=systemd-resolve own diff --git a/core/modules/systemd/data/lib/systemd/system/org.freedesktop.systemd1.busname b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.systemd1.busname new file mode 100644 index 00000000..f9f41cba --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/org.freedesktop.systemd1.busname @@ -0,0 +1,15 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=System and Service Manager Bus Name +Documentation=man:systemd(1) +Documentation=https://www.freedesktop.org/wiki/Software/systemd + +[BusName] +Activating=no +AllowWorld=talk diff --git a/core/modules/systemd/data/lib/systemd/system/paths.target b/core/modules/systemd/data/lib/systemd/system/paths.target new file mode 100644 index 00000000..25c7fd03 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/paths.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Paths +Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/lib/systemd/system/poweroff.target b/core/modules/systemd/data/lib/systemd/system/poweroff.target new file mode 100644 index 00000000..dd92d816 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/poweroff.target @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Power-Off +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=systemd-poweroff.service +After=systemd-poweroff.service +AllowIsolate=yes +JobTimeoutSec=30min +JobTimeoutAction=poweroff-force + +[Install] +Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/lib/systemd/system/printer.target b/core/modules/systemd/data/lib/systemd/system/printer.target new file mode 100644 index 00000000..a6b86caa --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/printer.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Printer +Documentation=man:systemd.special(7) +StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.automount new file mode 100644 index 00000000..1067bcd8 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.automount @@ -0,0 +1,18 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Arbitrary Executable File Formats File System Automount Point +Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +Before=sysinit.target +ConditionPathExists=/proc/sys/fs/binfmt_misc/ +ConditionPathIsReadWrite=/proc/sys/ + +[Automount] +Where=/proc/sys/fs/binfmt_misc diff --git a/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.mount b/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.mount new file mode 100644 index 00000000..27773cd4 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/proc-sys-fs-binfmt_misc.mount @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Arbitrary Executable File Formats File System +Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no + +[Mount] +What=binfmt_misc +Where=/proc/sys/fs/binfmt_misc +Type=binfmt_misc diff --git a/core/modules/systemd/data/lib/systemd/system/rc-local.service b/core/modules/systemd/data/lib/systemd/system/rc-local.service new file mode 100644 index 00000000..cb9c1ba2 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/rc-local.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# This unit gets pulled automatically into multi-user.target by +# systemd-rc-local-generator if /etc/rc.local is executable. +[Unit] +Description=/etc/rc.local Compatibility +ConditionFileIsExecutable=/etc/rc.local +After=network.target + +[Service] +Type=forking +ExecStart=/etc/rc.local start +TimeoutSec=0 +RemainAfterExit=yes +SysVStartPriority=99 diff --git a/core/modules/systemd/data/lib/systemd/system/reboot.target b/core/modules/systemd/data/lib/systemd/system/reboot.target new file mode 100644 index 00000000..668b98d9 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/reboot.target @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Reboot +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=systemd-reboot.service +After=systemd-reboot.service +AllowIsolate=yes +JobTimeoutSec=30min +JobTimeoutAction=reboot-force + +[Install] +Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/lib/systemd/system/remote-fs-pre.target b/core/modules/systemd/data/lib/systemd/system/remote-fs-pre.target new file mode 100644 index 00000000..36a196cf --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/remote-fs-pre.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Remote File Systems (Pre) +Documentation=man:systemd.special(7) +RefuseManualStart=yes diff --git a/core/modules/systemd/data/lib/systemd/system/remote-fs.target b/core/modules/systemd/data/lib/systemd/system/remote-fs.target new file mode 100644 index 00000000..43ffa5c1 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/remote-fs.target @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Remote File Systems +Documentation=man:systemd.special(7) +After=remote-fs-pre.target +DefaultDependencies=no +Conflicts=shutdown.target + +[Install] +WantedBy=multi-user.target diff --git a/core/modules/systemd/data/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount b/core/modules/systemd/data/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount new file mode 120000 index 00000000..94338197 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount @@ -0,0 +1 @@ +../var-lib-machines.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/serial-getty@.service b/core/modules/systemd/data/lib/systemd/system/serial-getty@.service new file mode 100644 index 00000000..fb7b6e78 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/serial-getty@.service @@ -0,0 +1,44 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Serial Getty on %I +Documentation=man:agetty(8) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html +BindsTo=dev-%i.device +After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service +After=rc-local.service + +# If additional gettys are spawned during boot then we should make +# sure that this is synchronized before getty.target, even though +# getty.target didn't actually pull it in. +Before=getty.target +IgnoreOnIsolate=yes + +# IgnoreOnIsolate causes issues with sulogin, if someone isolates +# rescue.target or starts rescue.service from multi-user.target or +# graphical.target. +Conflicts=rescue.service +Before=rescue.service + +[Service] +# The '-o' option value tells agetty to replace 'login' arguments with an +# option to preserve environment (-p), followed by '--' for safety, and then +# the entered username. +ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM +Type=idle +Restart=always +UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +KillMode=process +IgnoreSIGPIPE=no +SendSIGHUP=yes + +[Install] +WantedBy=getty.target diff --git a/core/modules/systemd/data/lib/systemd/system/shutdown.target b/core/modules/systemd/data/lib/systemd/system/shutdown.target new file mode 100644 index 00000000..73e302b8 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/shutdown.target @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Shutdown +Documentation=man:systemd.special(7) +DefaultDependencies=no +RefuseManualStart=yes diff --git a/core/modules/systemd/data/lib/systemd/system/sigpwr.target b/core/modules/systemd/data/lib/systemd/system/sigpwr.target new file mode 100644 index 00000000..a52e7cff --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sigpwr.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Power Failure +Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/lib/systemd/system/sleep.target b/core/modules/systemd/data/lib/systemd/system/sleep.target new file mode 100644 index 00000000..10c7c8d5 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sleep.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Sleep +Documentation=man:systemd.special(7) +DefaultDependencies=no +RefuseManualStart=yes +StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/lib/systemd/system/slices.target b/core/modules/systemd/data/lib/systemd/system/slices.target new file mode 100644 index 00000000..a29310c0 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/slices.target @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Slices +Documentation=man:systemd.special(7) +Wants=-.slice system.slice +After=-.slice system.slice diff --git a/core/modules/systemd/data/lib/systemd/system/smartcard.target b/core/modules/systemd/data/lib/systemd/system/smartcard.target new file mode 100644 index 00000000..5fefe847 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/smartcard.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Smart Card +Documentation=man:systemd.special(7) +StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target b/core/modules/systemd/data/lib/systemd/system/sockets.target new file mode 100644 index 00000000..26ab065d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Sockets +Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket new file mode 120000 index 00000000..b7cca50f --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket @@ -0,0 +1 @@ +../systemd-journald-dev-log.socket \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald.socket b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald.socket new file mode 120000 index 00000000..07ae46c4 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-journald.socket @@ -0,0 +1 @@ +../systemd-journald.socket \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket new file mode 120000 index 00000000..aa23208d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket @@ -0,0 +1 @@ +../systemd-shutdownd.socket \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket new file mode 120000 index 00000000..4bc0e548 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket @@ -0,0 +1 @@ +../systemd-udevd-control.socket \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket new file mode 120000 index 00000000..fab7990a --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket @@ -0,0 +1 @@ +../systemd-udevd-kernel.socket \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sound.target b/core/modules/systemd/data/lib/systemd/system/sound.target new file mode 100644 index 00000000..6699adec --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sound.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Sound Card +Documentation=man:systemd.special(7) +StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/lib/systemd/system/suspend.target b/core/modules/systemd/data/lib/systemd/system/suspend.target new file mode 100644 index 00000000..f50cb226 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/suspend.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Suspend +Documentation=man:systemd.special(7) +DefaultDependencies=no +BindsTo=systemd-suspend.service +After=systemd-suspend.service diff --git a/core/modules/systemd/data/lib/systemd/system/swap.target b/core/modules/systemd/data/lib/systemd/system/swap.target new file mode 100644 index 00000000..23a7d0dc --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/swap.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Swap +Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/lib/systemd/system/sys-fs-fuse-connections.mount b/core/modules/systemd/data/lib/systemd/system/sys-fs-fuse-connections.mount new file mode 100644 index 00000000..492ceb16 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sys-fs-fuse-connections.mount @@ -0,0 +1,22 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=FUSE Control File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +ConditionPathExists=/sys/fs/fuse/connections +ConditionCapability=CAP_SYS_ADMIN +ConditionVirtualization=!private-users +After=systemd-modules-load.service +Before=sysinit.target + +[Mount] +What=fusectl +Where=/sys/fs/fuse/connections +Type=fusectl diff --git a/core/modules/systemd/data/lib/systemd/system/sys-kernel-config.mount b/core/modules/systemd/data/lib/systemd/system/sys-kernel-config.mount new file mode 100644 index 00000000..b585f325 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sys-kernel-config.mount @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Kernel Configuration File System +Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +ConditionPathExists=/sys/kernel/config +ConditionCapability=CAP_SYS_RAWIO +After=systemd-modules-load.service +Before=sysinit.target + +[Mount] +What=configfs +Where=/sys/kernel/config +Type=configfs diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target b/core/modules/systemd/data/lib/systemd/system/sysinit.target new file mode 100644 index 00000000..ec335033 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=System Initialization +Documentation=man:systemd.special(7) +Conflicts=emergency.service emergency.target +Wants=local-fs.target swap.target +After=local-fs.target swap.target emergency.service emergency.target diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount new file mode 120000 index 00000000..6a26137b --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount @@ -0,0 +1 @@ +../dev-hugepages.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount new file mode 120000 index 00000000..f0b9fbf4 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount @@ -0,0 +1 @@ +../dev-mqueue.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount new file mode 120000 index 00000000..0b7f61f0 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount @@ -0,0 +1 @@ +../proc-sys-fs-binfmt_misc.automount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount new file mode 120000 index 00000000..85d20a2d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount @@ -0,0 +1 @@ +../sys-fs-fuse-connections.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount new file mode 120000 index 00000000..831a9479 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount @@ -0,0 +1 @@ +../sys-kernel-config.mount \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service new file mode 120000 index 00000000..07fbee12 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service @@ -0,0 +1 @@ +../systemd-binfmt.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-journald.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-journald.service new file mode 120000 index 00000000..e9057f7d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-journald.service @@ -0,0 +1 @@ +../systemd-journald.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service new file mode 120000 index 00000000..79337696 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service @@ -0,0 +1 @@ +../systemd-modules-load.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service new file mode 120000 index 00000000..fb5fbf0c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service @@ -0,0 +1 @@ +../systemd-sysctl.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service new file mode 120000 index 00000000..0a5032ac --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service @@ -0,0 +1 @@ +../systemd-tmpfiles-setup-dev.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service new file mode 120000 index 00000000..12744a3e --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service @@ -0,0 +1 @@ +../systemd-tmpfiles-setup.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service new file mode 120000 index 00000000..ff2ab9b3 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service @@ -0,0 +1 @@ +../systemd-udev-trigger.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udevd.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udevd.service new file mode 120000 index 00000000..e64bac22 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-udevd.service @@ -0,0 +1 @@ +../systemd-udevd.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service new file mode 120000 index 00000000..78347c39 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service @@ -0,0 +1 @@ +../systemd-vconsole-setup.service \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/syslog.socket b/core/modules/systemd/data/lib/systemd/system/syslog.socket new file mode 100644 index 00000000..d3987cb9 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/syslog.socket @@ -0,0 +1,40 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Syslog Socket +Documentation=man:systemd.special(7) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/syslog +DefaultDependencies=no +Before=sockets.target shutdown.target + +# Don't allow logging until the very end +Conflicts=shutdown.target + +[Socket] +ListenDatagram=/run/systemd/journal/syslog +SocketMode=0666 +PassCredentials=yes +PassSecurity=yes +ReceiveBuffer=8M + +# The default syslog implementation should make syslog.service a +# symlink to itself, so that this socket activates the right actual +# syslog service. +# +# Examples: +# +# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service +# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service +# +# Best way to achieve that is by adding this to your unit file +# (i.e. to rsyslog.service or syslog-ng.service): +# +# [Install] +# Alias=syslog.service +# +# See https://www.freedesktop.org/wiki/Software/systemd/syslog for details. diff --git a/core/modules/systemd/data/lib/systemd/system/system-update.target b/core/modules/systemd/data/lib/systemd/system/system-update.target new file mode 100644 index 00000000..35428797 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/system-update.target @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Offline System Update +Documentation=man:systemd.offline-updates(7) +Documentation=man:systemd.special(7) man:systemd-system-update-generator(8) +Requires=sysinit.target +Conflicts=shutdown.target +After=sysinit.target +Before=shutdown.target +AllowIsolate=yes +Wants=system-update-cleanup.service diff --git a/core/modules/systemd/data/lib/systemd/system/system.slice b/core/modules/systemd/data/lib/systemd/system/system.slice new file mode 100644 index 00000000..841f049b --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/system.slice @@ -0,0 +1,14 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=System Slice +Documentation=man:systemd.special(7) +DefaultDependencies=no +Before=slices.target +Requires=-.slice +After=-.slice diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-binfmt.service b/core/modules/systemd/data/lib/systemd/system/systemd-binfmt.service new file mode 100644 index 00000000..b8bdaea2 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-binfmt.service @@ -0,0 +1,27 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Set Up Additional Binary Formats +Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5) +Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt +DefaultDependencies=no +Conflicts=shutdown.target +After=proc-sys-fs-binfmt_misc.automount +Before=sysinit.target shutdown.target +ConditionPathIsReadWrite=/proc/sys/ +ConditionDirectoryNotEmpty=|/lib/binfmt.d +ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d +ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d +ConditionDirectoryNotEmpty=|/etc/binfmt.d +ConditionDirectoryNotEmpty=|/run/binfmt.d + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-binfmt +TimeoutSec=90s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-exit.service b/core/modules/systemd/data/lib/systemd/system/systemd-exit.service new file mode 100644 index 00000000..22bb6fbe --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-exit.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Exit the Session +Documentation=man:systemd.special(7) +DefaultDependencies=no +Requires=shutdown.target +After=shutdown.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/systemctl --force exit diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-halt.service b/core/modules/systemd/data/lib/systemd/system/systemd-halt.service new file mode 100644 index 00000000..4bd1afb8 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-halt.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Halt +Documentation=man:systemd-halt.service(8) +DefaultDependencies=no +Requires=shutdown.target umount.target final.target +After=shutdown.target umount.target final.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/systemctl --force halt diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-hibernate.service b/core/modules/systemd/data/lib/systemd/system/systemd-hibernate.service new file mode 100644 index 00000000..71f0a4eb --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-hibernate.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Hibernate +Documentation=man:systemd-suspend.service(8) +DefaultDependencies=no +Requires=sleep.target +After=sleep.target + +[Service] +Type=oneshot +ExecStart=/lib/systemd/systemd-sleep hibernate diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-hybrid-sleep.service b/core/modules/systemd/data/lib/systemd/system/systemd-hybrid-sleep.service new file mode 100644 index 00000000..eb9f69ab --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-hybrid-sleep.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Hybrid Suspend+Hibernate +Documentation=man:systemd-suspend.service(8) +DefaultDependencies=no +Requires=sleep.target +After=sleep.target + +[Service] +Type=oneshot +ExecStart=/lib/systemd/systemd-sleep hybrid-sleep diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-initctl.service b/core/modules/systemd/data/lib/systemd/system/systemd-initctl.service new file mode 100644 index 00000000..04102700 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-initctl.service @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=/dev/initctl Compatibility Daemon +Documentation=man:systemd-initctl.service(8) +DefaultDependencies=no + +[Service] +NotifyAccess=all +ExecStart=/lib/systemd/systemd-initctl +SystemCallArchitectures=native diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-initctl.socket b/core/modules/systemd/data/lib/systemd/system/systemd-initctl.socket new file mode 100644 index 00000000..f628c2e8 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-initctl.socket @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=/dev/initctl Compatibility Named Pipe +Documentation=man:systemd-initctl.service(8) +DefaultDependencies=no +Before=sockets.target + +[Socket] +ListenFIFO=/run/systemd/initctl/fifo +Symlinks=/dev/initctl +SocketMode=0600 diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-journal-flush.service b/core/modules/systemd/data/lib/systemd/system/systemd-journal-flush.service new file mode 100644 index 00000000..74342665 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-journal-flush.service @@ -0,0 +1,22 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Flush Journal to Persistent Storage +Documentation=man:systemd-journald.service(8) man:journald.conf(5) +DefaultDependencies=no +Requires=systemd-journald.service +After=systemd-journald.service +After=systemd-remount-fs.service +Before=systemd-user-sessions.service systemd-tmpfiles-setup.service +RequiresMountsFor=/var/log/journal + +[Service] +ExecStart=/usr/bin/journalctl --flush +Type=oneshot +RemainAfterExit=yes +TimeoutSec=90s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-journald-dev-log.socket b/core/modules/systemd/data/lib/systemd/system/systemd-journald-dev-log.socket new file mode 100644 index 00000000..ffd44bb5 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-journald-dev-log.socket @@ -0,0 +1,32 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Journal Socket (/dev/log) +Documentation=man:systemd-journald.service(8) man:journald.conf(5) +DefaultDependencies=no +Before=sockets.target + +# Mount and swap units need this. If this socket unit is removed by an +# isolate request the mount and swap units would be removed too, +# hence let's exclude this from isolate requests. +IgnoreOnIsolate=yes + +[Socket] +Service=systemd-journald.service +ListenDatagram=/run/systemd/journal/dev-log +Symlinks=/dev/log +SocketMode=0666 +PassCredentials=yes +PassSecurity=yes + +# Increase both the send and receive buffer, so that things don't +# block early. Note that journald internally uses the this socket both +# for receiving syslog messages, and for forwarding them to any other +# syslog, hence we bump both values. +ReceiveBuffer=8M +SendBuffer=8M diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-journald.service b/core/modules/systemd/data/lib/systemd/system/systemd-journald.service new file mode 100644 index 00000000..2b07e27c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-journald.service @@ -0,0 +1,37 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Journal Service +Documentation=man:systemd-journald.service(8) man:journald.conf(5) +DefaultDependencies=no +Requires=systemd-journald.socket +After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket +Before=sysinit.target + +[Service] +Type=notify +Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket +ExecStart=/lib/systemd/systemd-journald +Restart=always +RestartSec=0 +StandardOutput=null +WatchdogSec=3min +FileDescriptorStoreMax=1024 +CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE +MemoryDenyWriteExecute=yes +RestrictRealtime=yes +RestrictNamespaces=yes +RestrictAddressFamilies=AF_UNIX AF_NETLINK +SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap +SystemCallArchitectures=native + +# Increase the default a bit in order to allow many simultaneous +# services being run since we keep one fd open per service. Also, when +# flushing journal files to disk, we might need a lot of fds when many +# journal files are combined. +LimitNOFILE=16384 diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-journald.socket b/core/modules/systemd/data/lib/systemd/system/systemd-journald.socket new file mode 100644 index 00000000..71737014 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-journald.socket @@ -0,0 +1,26 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Journal Socket +Documentation=man:systemd-journald.service(8) man:journald.conf(5) +DefaultDependencies=no +Before=sockets.target + +# Mount and swap units need this. If this socket unit is removed by an +# isolate request the mount and swap units would be removed too, +# hence let's exclude this from isolate requests. +IgnoreOnIsolate=yes + +[Socket] +ListenStream=/run/systemd/journal/stdout +ListenDatagram=/run/systemd/journal/socket +SocketMode=0666 +PassCredentials=yes +PassSecurity=yes +ReceiveBuffer=8M +Service=systemd-journald.service diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-kexec.service b/core/modules/systemd/data/lib/systemd/system/systemd-kexec.service new file mode 100644 index 00000000..91b5a58a --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-kexec.service @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Reboot via kexec +Documentation=man:systemd-halt.service(8) +DefaultDependencies=no +Requires=shutdown.target umount.target final.target +After=shutdown.target umount.target final.target + +[Service] +Type=oneshot +ExecStart=/bin/systemctl --force kexec diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-logind.service b/core/modules/systemd/data/lib/systemd/system/systemd-logind.service new file mode 100644 index 00000000..ba2b2e49 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-logind.service @@ -0,0 +1,38 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Login Service +Documentation=man:systemd-logind.service(8) man:logind.conf(5) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/logind +Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat +Wants=user.slice +After=nss-user-lookup.target user.slice + +# Ask for the dbus socket. If running over kdbus, the socket will +# not be actually used. +Wants=dbus.socket +After=dbus.socket + +[Service] +ExecStart=/lib/systemd/systemd-logind +Restart=always +RestartSec=0 +BusName=org.freedesktop.login1 +WatchdogSec=3min +CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG +MemoryDenyWriteExecute=yes +RestrictRealtime=yes +RestrictNamespaces=yes +RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 +SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap +SystemCallArchitectures=native +FileDescriptorStoreMax=512 + +# Increase the default a bit in order to allow many simultaneous +# logins since we keep one fd open per session. +LimitNOFILE=16384 diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-machine-id-commit.service b/core/modules/systemd/data/lib/systemd/system/systemd-machine-id-commit.service new file mode 100644 index 00000000..58e7239b --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-machine-id-commit.service @@ -0,0 +1,22 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Commit a transient machine-id on disk +Documentation=man:systemd-machine-id-commit.service(8) +DefaultDependencies=no +Conflicts=shutdown.target +Before=sysinit.target shutdown.target +After=local-fs.target +ConditionPathIsReadWrite=/etc +ConditionPathIsMountPoint=/etc/machine-id + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/systemd-machine-id-setup --commit +TimeoutSec=30s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-machined.service b/core/modules/systemd/data/lib/systemd/system/systemd-machined.service new file mode 100644 index 00000000..bdd89828 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-machined.service @@ -0,0 +1,29 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Virtual Machine and Container Registration Service +Documentation=man:systemd-machined.service(8) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined +Wants=machine.slice +After=machine.slice +RequiresMountsFor=/var/lib/machines + +[Service] +ExecStart=/lib/systemd/systemd-machined +BusName=org.freedesktop.machine1 +WatchdogSec=3min +CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD +MemoryDenyWriteExecute=yes +RestrictRealtime=yes +RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 +SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap +SystemCallArchitectures=native + +# Note that machined cannot be placed in a mount namespace, since it +# needs access to the host's mount namespace in order to implement the +# "machinectl bind" operation. diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-modules-load.service b/core/modules/systemd/data/lib/systemd/system/systemd-modules-load.service new file mode 100644 index 00000000..ad2e777f --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-modules-load.service @@ -0,0 +1,27 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Load Kernel Modules +Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5) +DefaultDependencies=no +Conflicts=shutdown.target +Before=sysinit.target shutdown.target +ConditionCapability=CAP_SYS_MODULE +ConditionDirectoryNotEmpty=|/lib/modules-load.d +ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d +ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d +ConditionDirectoryNotEmpty=|/etc/modules-load.d +ConditionDirectoryNotEmpty=|/run/modules-load.d +ConditionKernelCommandLine=|modules-load +ConditionKernelCommandLine=|rd.modules-load + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-modules-load +TimeoutSec=90s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-nspawn@.service b/core/modules/systemd/data/lib/systemd/system/systemd-nspawn@.service new file mode 100644 index 00000000..d0dfe700 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-nspawn@.service @@ -0,0 +1,37 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Container %i +Documentation=man:systemd-nspawn(1) +PartOf=machines.target +Before=machines.target +After=network.target systemd-resolved.service +RequiresMountsFor=/var/lib/machines + +[Service] +ExecStart=/usr/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i +KillMode=mixed +Type=notify +RestartForceExitStatus=133 +SuccessExitStatus=133 +Slice=machine.slice +Delegate=yes +TasksMax=16384 + +DevicePolicy=closed +DeviceAllow=/dev/net/tun rwm +DeviceAllow=char-pts rw + +# nspawn itself needs access to /dev/loop-control and /dev/loop, to +# implement the --image= option. Add these here, too. +DeviceAllow=/dev/loop-control rw +DeviceAllow=block-loop rw +DeviceAllow=block-blkext rw + +[Install] +WantedBy=machines.target diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-poweroff.service b/core/modules/systemd/data/lib/systemd/system/systemd-poweroff.service new file mode 100644 index 00000000..4749129d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-poweroff.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Power-Off +Documentation=man:systemd-halt.service(8) +DefaultDependencies=no +Requires=shutdown.target umount.target final.target +After=shutdown.target umount.target final.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/systemctl --force poweroff diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-reboot.service b/core/modules/systemd/data/lib/systemd/system/systemd-reboot.service new file mode 100644 index 00000000..49acabc9 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-reboot.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Reboot +Documentation=man:systemd-halt.service(8) +DefaultDependencies=no +Requires=shutdown.target umount.target final.target +After=shutdown.target umount.target final.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/systemctl --force reboot diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-remount-fs.service b/core/modules/systemd/data/lib/systemd/system/systemd-remount-fs.service new file mode 100644 index 00000000..f46f9639 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-remount-fs.service @@ -0,0 +1,22 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Remount Root and Kernel File Systems +Documentation=man:systemd-remount-fs.service(8) +Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems +DefaultDependencies=no +Conflicts=shutdown.target +After=systemd-fsck-root.service +Before=local-fs-pre.target local-fs.target shutdown.target +Wants=local-fs-pre.target +ConditionPathExists=/etc/fstab + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-remount-fs diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-suspend.service b/core/modules/systemd/data/lib/systemd/system/systemd-suspend.service new file mode 100644 index 00000000..0e53e1cc --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-suspend.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Suspend +Documentation=man:systemd-suspend.service(8) +DefaultDependencies=no +Requires=sleep.target +After=sleep.target + +[Service] +Type=oneshot +ExecStart=/lib/systemd/systemd-sleep suspend diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-sysctl.service b/core/modules/systemd/data/lib/systemd/system/systemd-sysctl.service new file mode 100644 index 00000000..e5cbab4b --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-sysctl.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Apply Kernel Variables +Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5) +DefaultDependencies=no +Conflicts=shutdown.target +After=systemd-modules-load.service +Before=sysinit.target shutdown.target +ConditionPathIsReadWrite=/proc/sys/net/ + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-sysctl +TimeoutSec=90s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-sysusers.service b/core/modules/systemd/data/lib/systemd/system/systemd-sysusers.service new file mode 100644 index 00000000..1802b313 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-sysusers.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Create System Users +Documentation=man:sysusers.d(5) man:systemd-sysusers.service(8) +DefaultDependencies=no +Conflicts=shutdown.target +After=systemd-remount-fs.service +Before=sysinit.target shutdown.target systemd-update-done.service +ConditionNeedsUpdate=/etc + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/systemd-sysusers +TimeoutSec=90s diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup-dev.service b/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup-dev.service new file mode 100644 index 00000000..761a4fc9 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup-dev.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Create Static Device Nodes in /dev +Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) +DefaultDependencies=no +Conflicts=shutdown.target +After=systemd-sysusers.service +Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target +ConditionCapability=CAP_SYS_MODULE + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/systemd-tmpfiles --prefix=/dev --create --boot diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup.service b/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup.service new file mode 100644 index 00000000..fce1c42f --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-tmpfiles-setup.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Create Volatile Files and Directories +Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) +DefaultDependencies=no +Conflicts=shutdown.target +After=local-fs.target systemd-sysusers.service +Before=sysinit.target shutdown.target +RefuseManualStop=yes + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-udev-settle.service b/core/modules/systemd/data/lib/systemd/system/systemd-udev-settle.service new file mode 100644 index 00000000..20a89228 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-udev-settle.service @@ -0,0 +1,25 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +# This service can dynamically be pulled-in by legacy services which +# cannot reliably cope with dynamic device configurations, and wrongfully +# expect a populated /dev during bootup. + +[Unit] +Description=udev Wait for Complete Device Initialization +Documentation=man:udev(7) man:systemd-udevd.service(8) +DefaultDependencies=no +Wants=systemd-udevd.service +After=systemd-udev-trigger.service +Before=sysinit.target +ConditionPathIsReadWrite=/sys + +[Service] +Type=oneshot +TimeoutSec=180 +RemainAfterExit=yes +ExecStart=/usr/bin/udevadm settle diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-udev-trigger.service b/core/modules/systemd/data/lib/systemd/system/systemd-udev-trigger.service new file mode 100644 index 00000000..fbc52694 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-udev-trigger.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=udev Coldplug all Devices +Documentation=man:udev(7) man:systemd-udevd.service(8) +DefaultDependencies=no +Wants=systemd-udevd.service +After=systemd-udevd-kernel.socket systemd-udevd-control.socket systemd-hwdb-update.service +Before=sysinit.target +ConditionPathIsReadWrite=/sys + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/bin/udevadm trigger --type=subsystems --action=add ; /usr/bin/udevadm trigger --type=devices --action=add diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-udevd-control.socket b/core/modules/systemd/data/lib/systemd/system/systemd-udevd-control.socket new file mode 100644 index 00000000..46f704ed --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-udevd-control.socket @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=udev Control Socket +Documentation=man:systemd-udevd.service(8) man:udev(7) +DefaultDependencies=no +Before=sockets.target +ConditionPathIsReadWrite=/sys + +[Socket] +Service=systemd-udevd.service +ListenSequentialPacket=/run/udev/control +SocketMode=0600 +PassCredentials=yes +RemoveOnStop=yes diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-udevd-kernel.socket b/core/modules/systemd/data/lib/systemd/system/systemd-udevd-kernel.socket new file mode 100644 index 00000000..1a162069 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-udevd-kernel.socket @@ -0,0 +1,19 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=udev Kernel Socket +Documentation=man:systemd-udevd.service(8) man:udev(7) +DefaultDependencies=no +Before=sockets.target +ConditionPathIsReadWrite=/sys + +[Socket] +Service=systemd-udevd.service +ReceiveBuffer=128M +ListenNetlink=kobject-uevent 1 +PassCredentials=yes diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-udevd.service b/core/modules/systemd/data/lib/systemd/system/systemd-udevd.service new file mode 100644 index 00000000..0f476d00 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-udevd.service @@ -0,0 +1,31 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=udev Kernel Device Manager +Documentation=man:systemd-udevd.service(8) man:udev(7) +DefaultDependencies=no +Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket +After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-sysusers.service +Before=sysinit.target +ConditionPathIsReadWrite=/sys + +[Service] +Type=notify +OOMScoreAdjust=-1000 +Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket +Restart=always +RestartSec=0 +ExecStart=/lib/systemd/systemd-udevd +KillMode=mixed +WatchdogSec=3min +TasksMax=infinity +MountFlags=slave +MemoryDenyWriteExecute=yes +RestrictRealtime=yes +RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 +SystemCallArchitectures=native diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp-runlevel.service b/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp-runlevel.service new file mode 100644 index 00000000..6a58b9d0 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp-runlevel.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Update UTMP about System Runlevel Changes +Documentation=man:systemd-update-utmp.service(8) man:utmp(5) +DefaultDependencies=no +RequiresMountsFor=/var/log/wtmp +Conflicts=shutdown.target +Requisite=systemd-update-utmp.service +After=systemd-update-utmp.service +After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target +Before=shutdown.target + +[Service] +Type=oneshot +ExecStart=/lib/systemd/systemd-update-utmp runlevel diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp.service b/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp.service new file mode 100644 index 00000000..82e2c053 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-update-utmp.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Update UTMP about System Boot/Shutdown +Documentation=man:systemd-update-utmp.service(8) man:utmp(5) +DefaultDependencies=no +RequiresMountsFor=/var/log/wtmp +Conflicts=shutdown.target +After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service +Before=sysinit.target shutdown.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-update-utmp reboot +ExecStop=/lib/systemd/systemd-update-utmp shutdown diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-user-sessions.service b/core/modules/systemd/data/lib/systemd/system/systemd-user-sessions.service new file mode 100644 index 00000000..e97e0eba --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-user-sessions.service @@ -0,0 +1,17 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Permit User Sessions +Documentation=man:systemd-user-sessions.service(8) +After=remote-fs.target nss-user-lookup.target network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-user-sessions start +ExecStop=/lib/systemd/systemd-user-sessions stop diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-vconsole-setup.service b/core/modules/systemd/data/lib/systemd/system/systemd-vconsole-setup.service new file mode 100644 index 00000000..90c4e21e --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-vconsole-setup.service @@ -0,0 +1,20 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Setup Virtual Console +Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) +DefaultDependencies=no +Conflicts=shutdown.target +After= +Before=sysinit.target shutdown.target +ConditionPathExists=/dev/tty0 + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-vconsole-setup diff --git a/core/modules/systemd/data/lib/systemd/system/systemd-volatile-root.service b/core/modules/systemd/data/lib/systemd/system/systemd-volatile-root.service new file mode 100644 index 00000000..8fedb740 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/systemd-volatile-root.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Enforce Volatile Root File Systems +Documentation=man:systemd-volatile-root.service(8) +DefaultDependencies=no +Conflicts=shutdown.target +After=sysroot.mount +Before=initrd-root-fs.target shutdown.target +Conflicts=shutdown.target +AssertPathExists=/etc/initrd-release + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/lib/systemd/systemd-volatile-root yes /sysroot diff --git a/core/modules/systemd/data/lib/systemd/system/time-sync.target b/core/modules/systemd/data/lib/systemd/system/time-sync.target new file mode 100644 index 00000000..debee741 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/time-sync.target @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=System Time Synchronized +Documentation=man:systemd.special(7) +RefuseManualStart=yes diff --git a/core/modules/systemd/data/lib/systemd/system/timers.target b/core/modules/systemd/data/lib/systemd/system/timers.target new file mode 100644 index 00000000..251fa680 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/timers.target @@ -0,0 +1,13 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Timers +Documentation=man:systemd.special(7) + +DefaultDependencies=no +Conflicts=shutdown.target diff --git a/core/modules/systemd/data/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer b/core/modules/systemd/data/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer new file mode 120000 index 00000000..ea23a64d --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer @@ -0,0 +1 @@ +../systemd-tmpfiles-clean.timer \ No newline at end of file diff --git a/core/modules/systemd/data/lib/systemd/system/user.slice b/core/modules/systemd/data/lib/systemd/system/user.slice new file mode 100644 index 00000000..9fa6284c --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/user.slice @@ -0,0 +1,11 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=User and Session Slice +Documentation=man:systemd.special(7) +Before=slices.target diff --git a/core/modules/systemd/data/lib/systemd/system/user@.service b/core/modules/systemd/data/lib/systemd/system/user@.service new file mode 100644 index 00000000..4c9d9cd1 --- /dev/null +++ b/core/modules/systemd/data/lib/systemd/system/user@.service @@ -0,0 +1,21 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=User Manager for UID %i +After=systemd-user-sessions.service + +[Service] +User=%i +PAMName=systemd-user +Type=notify +ExecStart=-/lib/systemd/systemd --user +Slice=user-%i.slice +KillMode=mixed +Delegate=yes +TasksMax=infinity +TimeoutStopSec=120s diff --git a/core/modules/systemd/data/lib/udev/rules.d/70-uaccess-floppy.rules b/core/modules/systemd/data/lib/udev/rules.d/70-uaccess-floppy.rules new file mode 100644 index 00000000..113d288a --- /dev/null +++ b/core/modules/systemd/data/lib/udev/rules.d/70-uaccess-floppy.rules @@ -0,0 +1,8 @@ +ACTION=="remove", GOTO="floppy_extra_end" +ENV{MAJOR}=="", GOTO="floppy_extra_end" + +# floppy devices +SUBSYSTEM=="block", KERNEL=="fd[0-9]*", TAG+="uaccess" + +LABEL="floppy_extra_end" + diff --git a/core/modules/systemd/data/lib/udev/rules.d/99-systemd.rules b/core/modules/systemd/data/lib/udev/rules.d/99-systemd.rules new file mode 100644 index 00000000..37c649d4 --- /dev/null +++ b/core/modules/systemd/data/lib/udev/rules.d/99-systemd.rules @@ -0,0 +1,55 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +ACTION=="remove", GOTO="systemd_end" + +SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd" +SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd" + +KERNEL=="vport*", TAG+="systemd" + +SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd" +SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0" + +# Ignore encrypted devices with no identified superblock on it, since +# we are probably still calling mke2fs or mkswap on it. + +SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV{SYSTEMD_READY}="0" + +# We need a hardware independent way to identify network devices. We +# use the /sys/subsystem path for this. Current vanilla kernels don't +# actually support that hierarchy right now, however upcoming kernels +# will. HAL and udev internally support /sys/subsystem already, hence +# it should be safe to use this here, too. This is mostly just an +# identification string for systemd, so whether the path actually is +# accessible or not does not matter as long as it is unique and in the +# filesystem namespace. +# +# http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=libudev/libudev-enumerate.c;h=da831449dcaf5e936a14409e8e68ab12d30a98e2;hb=HEAD#l742 + +SUBSYSTEM=="net", KERNEL=="eth*", TAG=="openslxignore", GOTO="systemd_end" + +SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/%k" + +SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target" +ENV{ID_SMARTCARD_READER}=="*?", TAG+="systemd", ENV{SYSTEMD_WANTS}="smartcard.target" +SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}="sound.target" + +SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" +SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" + +# Apply sysctl variables to network devices (and only to those) as they appear. +SUBSYSTEM=="net", KERNEL=="eth*", RUN+="/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/$name --prefix=/proc/sys/net/ipv4/neigh/$name --prefix=/proc/sys/net/ipv6/conf/$name --prefix=/proc/sys/net/ipv6/neigh/$name" + +# Asynchronously mount file systems implemented by these modules as +# soon as they are loaded. + +SUBSYSTEM=="module", KERNEL=="fuse", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}="sys-fs-fuse-connections.mount" +SUBSYSTEM=="module", KERNEL=="configfs", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}="sys-kernel-config.mount" + +LABEL="systemd_end" diff --git a/core/modules/systemd/data/usr/lib/sysctl.d/50-default.conf b/core/modules/systemd/data/usr/lib/sysctl.d/50-default.conf deleted file mode 100644 index 6ece04ce..00000000 --- a/core/modules/systemd/data/usr/lib/sysctl.d/50-default.conf +++ /dev/null @@ -1,39 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -# See sysctl.d(5) and core(5) for for details. - -# System Request functionality of the kernel (SYNC) -kernel.sysrq = 1 - -# Append the PID to the core filename -kernel.core_uses_pid = 1 - -# Source route verification -net.ipv4.conf.all.rp_filter = 1 -# Do not accept source routing -net.ipv4.conf.all.accept_source_route = 0 -# protection from the SYN flood attack -net.ipv4.tcp_syncookies = 1 -# timestamps add a little overhead but are recommended for gbit links -net.ipv4.tcp_timestamps = 1 -# ignore echo broadcast requests to prevent being part of smurf attacks -net.ipv4.icmp_echo_ignore_broadcasts = 1 -# ignore bogus icmp errors -net.ipv4.icmp_ignore_bogus_error_responses = 1 -# send redirects (not a router, disable it) -net.ipv4.conf.all.send_redirects = 0 -# ICMP routing redirects (only secure) -net.ipv4.conf.all.accept_redirects = 0 -net.ipv4.conf.all.secure_redirects = 1 - -# Enable hard and soft link protection -fs.protected_hardlinks = 1 -fs.protected_symlinks = 1 - -# A little extra security for local exploits -kernel.kptr_restrict = 1 diff --git a/core/modules/systemd/data/usr/lib/systemd/system/autovt@.service b/core/modules/systemd/data/usr/lib/systemd/system/autovt@.service deleted file mode 120000 index fe40e8fd..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/autovt@.service +++ /dev/null @@ -1 +0,0 @@ -getty@.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/basic.target b/core/modules/systemd/data/usr/lib/systemd/system/basic.target deleted file mode 100644 index 6b9cfe4c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/basic.target +++ /dev/null @@ -1,14 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Basic System -Documentation=man:systemd.special(7) -Requires=sysinit.target -Wants=sockets.target timers.target paths.target -After=sysinit.target sockets.target timers.target paths.target -RefuseManualStart=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/bluetooth.target b/core/modules/systemd/data/usr/lib/systemd/system/bluetooth.target deleted file mode 100644 index dd4ae14c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/bluetooth.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Bluetooth -Documentation=man:systemd.special(7) -StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target deleted file mode 100644 index 5e866b40..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Bus Names -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname deleted file mode 120000 index 9d1bd813..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.login1.busname +++ /dev/null @@ -1 +0,0 @@ -../org.freedesktop.login1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname deleted file mode 120000 index 068b1676..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.machine1.busname +++ /dev/null @@ -1 +0,0 @@ -../org.freedesktop.machine1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname deleted file mode 120000 index 13f4a8a7..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.network1.busname +++ /dev/null @@ -1 +0,0 @@ -../org.freedesktop.network1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname deleted file mode 120000 index 1ede82df..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.resolve1.busname +++ /dev/null @@ -1 +0,0 @@ -../org.freedesktop.resolve1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname b/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname deleted file mode 120000 index bf976b87..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/busnames.target.wants/org.freedesktop.systemd1.busname +++ /dev/null @@ -1 +0,0 @@ -../org.freedesktop.systemd1.busname \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/console-getty.service b/core/modules/systemd/data/usr/lib/systemd/system/console-getty.service deleted file mode 100644 index 5c9c01c7..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/console-getty.service +++ /dev/null @@ -1,33 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Console Getty -Documentation=man:agetty(8) -After=systemd-user-sessions.service plymouth-quit-wait.service -ConditionPathExists=/dev/console -After=rc-local.service -Before=getty.target - -[Service] -# The '-o' option value tells agetty to replace 'login' arguments with an -# option to preserve environment (-p), followed by '--' for safety, and then -# the entered username. -ExecStart=-/sbin/agetty -o '-p -- \\u' --noclear --keep-baud console 115200,38400,9600 $TERM -Type=idle -Restart=always -RestartSec=0 -UtmpIdentifier=cons -TTYPath=/dev/console -TTYReset=yes -TTYVHangup=yes -KillMode=process -IgnoreSIGPIPE=no -SendSIGHUP=yes - -[Install] -WantedBy=getty.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/console-shell.service b/core/modules/systemd/data/usr/lib/systemd/system/console-shell.service deleted file mode 100644 index c1548299..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/console-shell.service +++ /dev/null @@ -1,32 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Console Shell -Documentation=man:sulogin(8) -After=systemd-user-sessions.service plymouth-quit-wait.service -After=rc-local.service -Before=getty.target - -[Service] -Environment=HOME=/root -WorkingDirectory=/root -ExecStart=-/sbin/sulogin -ExecStopPost=-/usr/bin/systemctl poweroff -Type=idle -StandardInput=tty-force -StandardOutput=inherit -StandardError=inherit -KillMode=process -IgnoreSIGPIPE=no - -# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash -# terminates cleanly. -KillSignal=SIGHUP - -[Install] -WantedBy=getty.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/ctrl-alt-del.target b/core/modules/systemd/data/usr/lib/systemd/system/ctrl-alt-del.target deleted file mode 120000 index f2fde431..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/ctrl-alt-del.target +++ /dev/null @@ -1 +0,0 @@ -reboot.target \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service b/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service deleted file mode 120000 index d87318cc..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service +++ /dev/null @@ -1 +0,0 @@ -systemd-logind.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.machine1.service b/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.machine1.service deleted file mode 120000 index 22692cce..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/dbus-org.freedesktop.machine1.service +++ /dev/null @@ -1 +0,0 @@ -systemd-machined.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/debug-shell.service b/core/modules/systemd/data/usr/lib/systemd/system/debug-shell.service deleted file mode 100644 index 4220d7c2..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/debug-shell.service +++ /dev/null @@ -1,33 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Early root shell on /dev/tty9 FOR DEBUGGING ONLY -Documentation=man:sushell(8) -DefaultDependencies=no -IgnoreOnIsolate=yes - -[Service] -Environment=TERM=linux -ExecStart=/bin/ash -Restart=always -RestartSec=0 -StandardInput=tty -TTYPath=/dev/tty9 -TTYReset=yes -TTYVHangup=yes -KillMode=process -IgnoreSIGPIPE=no -# bash ignores SIGTERM -KillSignal=SIGHUP - -# Unset locale for the console getty since the console has problems -# displaying some internationalized messages. -Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= - -[Install] -WantedBy=sysinit.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/default.target b/core/modules/systemd/data/usr/lib/systemd/system/default.target deleted file mode 120000 index a0aae86a..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/default.target +++ /dev/null @@ -1 +0,0 @@ -graphical.target \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount b/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount deleted file mode 100644 index 86ad7ac2..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/dev-hugepages.mount +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Huge Pages File System -Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/sys/kernel/mm/hugepages -ConditionCapability=CAP_SYS_ADMIN -ConditionVirtualization=!private-users - -[Mount] -What=hugetlbfs -Where=/dev/hugepages -Type=hugetlbfs diff --git a/core/modules/systemd/data/usr/lib/systemd/system/dev-mqueue.mount b/core/modules/systemd/data/usr/lib/systemd/system/dev-mqueue.mount deleted file mode 100644 index b2adfeb8..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/dev-mqueue.mount +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=POSIX Message Queue File System -Documentation=man:mq_overview(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/proc/sys/fs/mqueue -ConditionCapability=CAP_SYS_ADMIN - -[Mount] -What=mqueue -Where=/dev/mqueue -Type=mqueue diff --git a/core/modules/systemd/data/usr/lib/systemd/system/emergency.service b/core/modules/systemd/data/usr/lib/systemd/system/emergency.service deleted file mode 100644 index 9f7db1db..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/emergency.service +++ /dev/null @@ -1,27 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Emergency Shell -Documentation=man:sulogin(8) -DefaultDependencies=no -Conflicts=shutdown.target -Conflicts=rescue.service -Conflicts=syslog.socket -Before=shutdown.target - -[Service] -Environment=HOME=/root -WorkingDirectory=-/root -ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency -Type=idle -StandardInput=tty-force -StandardOutput=inherit -StandardError=inherit -KillMode=process -IgnoreSIGPIPE=no -SendSIGHUP=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/emergency.target b/core/modules/systemd/data/usr/lib/systemd/system/emergency.target deleted file mode 100644 index 0760d66f..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/emergency.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Emergency Mode -Documentation=man:systemd.special(7) -Requires=emergency.service -After=emergency.service -AllowIsolate=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/exit.target b/core/modules/systemd/data/usr/lib/systemd/system/exit.target deleted file mode 100644 index f5f953d1..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/exit.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Exit the container -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-exit.service -After=systemd-exit.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/final.target b/core/modules/systemd/data/usr/lib/systemd/system/final.target deleted file mode 100644 index 42819105..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/final.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Final Step -Documentation=man:systemd.special(7) -DefaultDependencies=no -RefuseManualStart=yes -After=shutdown.target umount.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/getty.target b/core/modules/systemd/data/usr/lib/systemd/system/getty.target deleted file mode 100644 index c33d4465..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/getty.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Login Prompts -Documentation=man:systemd.special(7) man:systemd-getty-generator(8) -Documentation=http://0pointer.de/blog/projects/serial-console.html diff --git a/core/modules/systemd/data/usr/lib/systemd/system/getty@.service b/core/modules/systemd/data/usr/lib/systemd/system/getty@.service deleted file mode 100644 index 5c1d1666..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/getty@.service +++ /dev/null @@ -1,50 +0,0 @@ -# This file is part of systemd. -# Patched for OpenSLX -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Getty on %I -Documentation=man:agetty(8) man:systemd-getty-generator(8) -Documentation=http://0pointer.de/blog/projects/serial-console.html -After=systemd-user-sessions.service -After=rc-local.service - -# If additional gettys are spawned during boot then we should make -# sure that this is synchronized before getty.target, even though -# getty.target didn't actually pull it in. -Before=getty.target -IgnoreOnIsolate=yes - -# On systems without virtual consoles, don't start any getty. (Note -# that serial gettys are covered by serial-getty@.service, not this -# unit -ConditionPathExists=/dev/tty0 - -[Service] -ExecStartPre=-/opt/openslx/bin/killall fbsplash -ExecStartPre=-/opt/openslx/scripts/tty-init %I -# the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty %I 38400 linux -Type=idle -Restart=always -RestartSec=0 -UtmpIdentifier=%I -TTYPath=/dev/%I -TTYReset=yes -TTYVHangup=yes -TTYVTDisallocate=no -KillMode=process -IgnoreSIGPIPE=no - -# Unset locale for the console getty since the console has problems -# displaying some internationalized messages. -Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= - -# Some login implementations ignore SIGTERM, so we send SIGHUP -# instead, to ensure that login terminates cleanly. -KillSignal=SIGHUP - diff --git a/core/modules/systemd/data/usr/lib/systemd/system/graphical.target b/core/modules/systemd/data/usr/lib/systemd/system/graphical.target deleted file mode 100644 index 87be97e1..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/graphical.target +++ /dev/null @@ -1,15 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Graphical Interface -Documentation=man:systemd.special(7) -Requires=multi-user.target -Wants=display-manager.service -Conflicts=rescue.service rescue.target -After=multi-user.target rescue.service rescue.target display-manager.service -AllowIsolate=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/halt-local.service b/core/modules/systemd/data/usr/lib/systemd/system/halt-local.service deleted file mode 100644 index e6243eeb..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/halt-local.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=/usr/sbin/halt.local Compatibility -ConditionFileIsExecutable=/usr/sbin/halt.local -DefaultDependencies=no -After=shutdown.target -Before=final.target - -[Service] -Type=oneshot -ExecStart=/usr/sbin/halt.local -TimeoutSec=0 -StandardOutput=tty -RemainAfterExit=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/halt.target b/core/modules/systemd/data/usr/lib/systemd/system/halt.target deleted file mode 100644 index a21d984b..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/halt.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Halt -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-halt.service -After=systemd-halt.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/hibernate.target b/core/modules/systemd/data/usr/lib/systemd/system/hibernate.target deleted file mode 100644 index 143eb592..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/hibernate.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Hibernate -Documentation=man:systemd.special(7) -DefaultDependencies=no -BindsTo=systemd-hibernate.service -After=systemd-hibernate.service diff --git a/core/modules/systemd/data/usr/lib/systemd/system/hybrid-sleep.target b/core/modules/systemd/data/usr/lib/systemd/system/hybrid-sleep.target deleted file mode 100644 index d2d34092..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/hybrid-sleep.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Hybrid Suspend+Hibernate -Documentation=man:systemd.special(7) -DefaultDependencies=no -BindsTo=systemd-hybrid-sleep.service -After=systemd-hybrid-sleep.service diff --git a/core/modules/systemd/data/usr/lib/systemd/system/kexec.target b/core/modules/systemd/data/usr/lib/systemd/system/kexec.target deleted file mode 100644 index 90795d0c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/kexec.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Reboot via kexec -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-kexec.service -After=systemd-kexec.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/kmod-static-nodes.service b/core/modules/systemd/data/usr/lib/systemd/system/kmod-static-nodes.service deleted file mode 100644 index 49c5d9bc..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/kmod-static-nodes.service +++ /dev/null @@ -1,18 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Create list of required static device nodes for the current kernel -DefaultDependencies=no -Before=sysinit.target systemd-tmpfiles-setup-dev.service -ConditionCapability=CAP_SYS_MODULE -ConditionFileNotEmpty=/lib/modules/%v/modules.devname - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf diff --git a/core/modules/systemd/data/usr/lib/systemd/system/machine.slice b/core/modules/systemd/data/usr/lib/systemd/system/machine.slice deleted file mode 100644 index 3d40dfd7..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/machine.slice +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Virtual Machine and Container Slice -Documentation=man:systemd.special(7) -Before=slices.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/machines.target b/core/modules/systemd/data/usr/lib/systemd/system/machines.target deleted file mode 100644 index 99618a19..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/machines.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Containers -Documentation=man:systemd.special(7) -Requires=basic.target -Conflicts=rescue.service rescue.target -After=basic.target rescue.service rescue.target -Before=multi-user.target - -[Install] -WantedBy=multi-user.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/machines.target.wants/var-lib-machines.mount b/core/modules/systemd/data/usr/lib/systemd/system/machines.target.wants/var-lib-machines.mount deleted file mode 120000 index 94338197..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/machines.target.wants/var-lib-machines.mount +++ /dev/null @@ -1 +0,0 @@ -../var-lib-machines.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target b/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target deleted file mode 100644 index 998e0460..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Multi-User System -Documentation=man:systemd.special(7) -Requires=basic.target -Conflicts=rescue.service rescue.target -After=basic.target rescue.service rescue.target -AllowIsolate=yes - -[Install] -Alias=default.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/getty.target b/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/getty.target deleted file mode 120000 index bdba1fe4..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/getty.target +++ /dev/null @@ -1 +0,0 @@ -../getty.target \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service b/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service deleted file mode 120000 index 270a900e..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-logind.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service b/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service deleted file mode 120000 index f878b529..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-user-sessions.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/network-online.target b/core/modules/systemd/data/usr/lib/systemd/system/network-online.target deleted file mode 100644 index 5130d8c5..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/network-online.target +++ /dev/null @@ -1,12 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network is Online -Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget -After=network.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/network-pre.target b/core/modules/systemd/data/usr/lib/systemd/system/network-pre.target deleted file mode 100644 index 0d54a4cf..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/network-pre.target +++ /dev/null @@ -1,12 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network (Pre) -Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget -RefuseManualStart=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/network.target b/core/modules/systemd/data/usr/lib/systemd/system/network.target deleted file mode 100644 index 4186c088..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/network.target +++ /dev/null @@ -1,14 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network -Documentation=man:systemd.special(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget -DefaultDependencies=no -ConditionPathExists=/run/network/network-ready - diff --git a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.login1.busname b/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.login1.busname deleted file mode 100644 index b169720f..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.login1.busname +++ /dev/null @@ -1,16 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Login Service Bus Name -Documentation=man:systemd-logind.service(8) man:logind.conf(5) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/logind -Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat - -[BusName] -Service=systemd-logind.service -AllowWorld=talk diff --git a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.machine1.busname b/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.machine1.busname deleted file mode 100644 index a1f01547..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.machine1.busname +++ /dev/null @@ -1,15 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Virtual Machine and Container Registration Service Bus Name -Documentation=man:systemd-machined.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined - -[BusName] -Service=systemd-machined.service -AllowWorld=talk diff --git a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.network1.busname b/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.network1.busname deleted file mode 100644 index 3a0e1189..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.network1.busname +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network Service Bus Name -Documentation=man:systemd-networkd.service(8) - -# This is pulled in by systemd-networkd.service, since it cannot run -# without its policy set. However, let's conditionalize this unit on -# non-kdbus system. -ConditionPathExists=/sys/fs/kdbus/0-system/ - -[BusName] -Service=systemd-networkd.service -AllowWorld=talk -AllowUser=systemd-network own diff --git a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.resolve1.busname b/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.resolve1.busname deleted file mode 100644 index 28c8f970..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.resolve1.busname +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Network Name Resolution Service Bus Name -Documentation=man:systemd-resolved.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/resolved - -# This is pulled in by systemd-resolved.service, since it cannot run -# without its policy set. However, let's conditionalize this unit on -# non-kdbus system. -ConditionPathExists=/sys/fs/kdbus/0-system/ - -[BusName] -Service=systemd-resolved.service -AllowWorld=talk -AllowUser=systemd-resolve own diff --git a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.systemd1.busname b/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.systemd1.busname deleted file mode 100644 index f9f41cba..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/org.freedesktop.systemd1.busname +++ /dev/null @@ -1,15 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=System and Service Manager Bus Name -Documentation=man:systemd(1) -Documentation=https://www.freedesktop.org/wiki/Software/systemd - -[BusName] -Activating=no -AllowWorld=talk diff --git a/core/modules/systemd/data/usr/lib/systemd/system/paths.target b/core/modules/systemd/data/usr/lib/systemd/system/paths.target deleted file mode 100644 index 25c7fd03..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/paths.target +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Paths -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/usr/lib/systemd/system/poweroff.target b/core/modules/systemd/data/usr/lib/systemd/system/poweroff.target deleted file mode 100644 index dd92d816..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/poweroff.target +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Power-Off -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-poweroff.service -After=systemd-poweroff.service -AllowIsolate=yes -JobTimeoutSec=30min -JobTimeoutAction=poweroff-force - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/printer.target b/core/modules/systemd/data/usr/lib/systemd/system/printer.target deleted file mode 100644 index a6b86caa..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/printer.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Printer -Documentation=man:systemd.special(7) -StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount deleted file mode 100644 index 1067bcd8..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount +++ /dev/null @@ -1,18 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Arbitrary Executable File Formats File System Automount Point -Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/proc/sys/fs/binfmt_misc/ -ConditionPathIsReadWrite=/proc/sys/ - -[Automount] -Where=/proc/sys/fs/binfmt_misc diff --git a/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount b/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount deleted file mode 100644 index 27773cd4..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Arbitrary Executable File Formats File System -Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.html -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no - -[Mount] -What=binfmt_misc -Where=/proc/sys/fs/binfmt_misc -Type=binfmt_misc diff --git a/core/modules/systemd/data/usr/lib/systemd/system/rc-local.service b/core/modules/systemd/data/usr/lib/systemd/system/rc-local.service deleted file mode 100644 index cb9c1ba2..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/rc-local.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -# This unit gets pulled automatically into multi-user.target by -# systemd-rc-local-generator if /etc/rc.local is executable. -[Unit] -Description=/etc/rc.local Compatibility -ConditionFileIsExecutable=/etc/rc.local -After=network.target - -[Service] -Type=forking -ExecStart=/etc/rc.local start -TimeoutSec=0 -RemainAfterExit=yes -SysVStartPriority=99 diff --git a/core/modules/systemd/data/usr/lib/systemd/system/reboot.target b/core/modules/systemd/data/usr/lib/systemd/system/reboot.target deleted file mode 100644 index 668b98d9..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/reboot.target +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Reboot -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-reboot.service -After=systemd-reboot.service -AllowIsolate=yes -JobTimeoutSec=30min -JobTimeoutAction=reboot-force - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs-pre.target b/core/modules/systemd/data/usr/lib/systemd/system/remote-fs-pre.target deleted file mode 100644 index 36a196cf..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs-pre.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Remote File Systems (Pre) -Documentation=man:systemd.special(7) -RefuseManualStart=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target b/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target deleted file mode 100644 index 43ffa5c1..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target +++ /dev/null @@ -1,16 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Remote File Systems -Documentation=man:systemd.special(7) -After=remote-fs-pre.target -DefaultDependencies=no -Conflicts=shutdown.target - -[Install] -WantedBy=multi-user.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount b/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount deleted file mode 120000 index 94338197..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/remote-fs.target.wants/var-lib-machines.mount +++ /dev/null @@ -1 +0,0 @@ -../var-lib-machines.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/serial-getty@.service b/core/modules/systemd/data/usr/lib/systemd/system/serial-getty@.service deleted file mode 100644 index fb7b6e78..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/serial-getty@.service +++ /dev/null @@ -1,44 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Serial Getty on %I -Documentation=man:agetty(8) man:systemd-getty-generator(8) -Documentation=http://0pointer.de/blog/projects/serial-console.html -BindsTo=dev-%i.device -After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service -After=rc-local.service - -# If additional gettys are spawned during boot then we should make -# sure that this is synchronized before getty.target, even though -# getty.target didn't actually pull it in. -Before=getty.target -IgnoreOnIsolate=yes - -# IgnoreOnIsolate causes issues with sulogin, if someone isolates -# rescue.target or starts rescue.service from multi-user.target or -# graphical.target. -Conflicts=rescue.service -Before=rescue.service - -[Service] -# The '-o' option value tells agetty to replace 'login' arguments with an -# option to preserve environment (-p), followed by '--' for safety, and then -# the entered username. -ExecStart=-/sbin/agetty -o '-p -- \\u' --keep-baud 115200,38400,9600 %I $TERM -Type=idle -Restart=always -UtmpIdentifier=%I -TTYPath=/dev/%I -TTYReset=yes -TTYVHangup=yes -KillMode=process -IgnoreSIGPIPE=no -SendSIGHUP=yes - -[Install] -WantedBy=getty.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/shutdown.target b/core/modules/systemd/data/usr/lib/systemd/system/shutdown.target deleted file mode 100644 index 73e302b8..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/shutdown.target +++ /dev/null @@ -1,12 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Shutdown -Documentation=man:systemd.special(7) -DefaultDependencies=no -RefuseManualStart=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sigpwr.target b/core/modules/systemd/data/usr/lib/systemd/system/sigpwr.target deleted file mode 100644 index a52e7cff..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sigpwr.target +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Power Failure -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sleep.target b/core/modules/systemd/data/usr/lib/systemd/system/sleep.target deleted file mode 100644 index 10c7c8d5..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sleep.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Sleep -Documentation=man:systemd.special(7) -DefaultDependencies=no -RefuseManualStart=yes -StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/slices.target b/core/modules/systemd/data/usr/lib/systemd/system/slices.target deleted file mode 100644 index a29310c0..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/slices.target +++ /dev/null @@ -1,12 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Slices -Documentation=man:systemd.special(7) -Wants=-.slice system.slice -After=-.slice system.slice diff --git a/core/modules/systemd/data/usr/lib/systemd/system/smartcard.target b/core/modules/systemd/data/usr/lib/systemd/system/smartcard.target deleted file mode 100644 index 5fefe847..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/smartcard.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Smart Card -Documentation=man:systemd.special(7) -StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target deleted file mode 100644 index 26ab065d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Sockets -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket deleted file mode 120000 index b7cca50f..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald-dev-log.socket +++ /dev/null @@ -1 +0,0 @@ -../systemd-journald-dev-log.socket \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket deleted file mode 120000 index 07ae46c4..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket +++ /dev/null @@ -1 +0,0 @@ -../systemd-journald.socket \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket deleted file mode 120000 index aa23208d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket +++ /dev/null @@ -1 +0,0 @@ -../systemd-shutdownd.socket \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket deleted file mode 120000 index 4bc0e548..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket +++ /dev/null @@ -1 +0,0 @@ -../systemd-udevd-control.socket \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket b/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket deleted file mode 120000 index fab7990a..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket +++ /dev/null @@ -1 +0,0 @@ -../systemd-udevd-kernel.socket \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sound.target b/core/modules/systemd/data/usr/lib/systemd/system/sound.target deleted file mode 100644 index 6699adec..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sound.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Sound Card -Documentation=man:systemd.special(7) -StopWhenUnneeded=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/suspend.target b/core/modules/systemd/data/usr/lib/systemd/system/suspend.target deleted file mode 100644 index f50cb226..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/suspend.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Suspend -Documentation=man:systemd.special(7) -DefaultDependencies=no -BindsTo=systemd-suspend.service -After=systemd-suspend.service diff --git a/core/modules/systemd/data/usr/lib/systemd/system/swap.target b/core/modules/systemd/data/usr/lib/systemd/system/swap.target deleted file mode 100644 index 23a7d0dc..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/swap.target +++ /dev/null @@ -1,10 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Swap -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount b/core/modules/systemd/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount deleted file mode 100644 index 492ceb16..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount +++ /dev/null @@ -1,22 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=FUSE Control File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/fs/fuse/connections -ConditionCapability=CAP_SYS_ADMIN -ConditionVirtualization=!private-users -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=fusectl -Where=/sys/fs/fuse/connections -Type=fusectl diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sys-kernel-config.mount b/core/modules/systemd/data/usr/lib/systemd/system/sys-kernel-config.mount deleted file mode 100644 index b585f325..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sys-kernel-config.mount +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Kernel Configuration File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/kernel/config -ConditionCapability=CAP_SYS_RAWIO -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=configfs -Where=/sys/kernel/config -Type=configfs diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target deleted file mode 100644 index ec335033..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=System Initialization -Documentation=man:systemd.special(7) -Conflicts=emergency.service emergency.target -Wants=local-fs.target swap.target -After=local-fs.target swap.target emergency.service emergency.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount deleted file mode 120000 index 6a26137b..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount +++ /dev/null @@ -1 +0,0 @@ -../dev-hugepages.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount deleted file mode 120000 index f0b9fbf4..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount +++ /dev/null @@ -1 +0,0 @@ -../dev-mqueue.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount deleted file mode 120000 index 0b7f61f0..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount +++ /dev/null @@ -1 +0,0 @@ -../proc-sys-fs-binfmt_misc.automount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount deleted file mode 120000 index 85d20a2d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount +++ /dev/null @@ -1 +0,0 @@ -../sys-fs-fuse-connections.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount deleted file mode 120000 index 831a9479..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount +++ /dev/null @@ -1 +0,0 @@ -../sys-kernel-config.mount \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service deleted file mode 120000 index 07fbee12..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-binfmt.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service deleted file mode 120000 index e9057f7d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-journald.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service deleted file mode 120000 index 79337696..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-modules-load.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service deleted file mode 120000 index fb5fbf0c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-sysctl.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service deleted file mode 120000 index 0a5032ac..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-tmpfiles-setup-dev.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service deleted file mode 120000 index 12744a3e..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-tmpfiles-setup.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service deleted file mode 120000 index ff2ab9b3..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-udev-trigger.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service deleted file mode 120000 index e64bac22..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-udevd.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service b/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service deleted file mode 120000 index 78347c39..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service +++ /dev/null @@ -1 +0,0 @@ -../systemd-vconsole-setup.service \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/syslog.socket b/core/modules/systemd/data/usr/lib/systemd/system/syslog.socket deleted file mode 100644 index d3987cb9..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/syslog.socket +++ /dev/null @@ -1,40 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Syslog Socket -Documentation=man:systemd.special(7) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/syslog -DefaultDependencies=no -Before=sockets.target shutdown.target - -# Don't allow logging until the very end -Conflicts=shutdown.target - -[Socket] -ListenDatagram=/run/systemd/journal/syslog -SocketMode=0666 -PassCredentials=yes -PassSecurity=yes -ReceiveBuffer=8M - -# The default syslog implementation should make syslog.service a -# symlink to itself, so that this socket activates the right actual -# syslog service. -# -# Examples: -# -# /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service -# /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service -# -# Best way to achieve that is by adding this to your unit file -# (i.e. to rsyslog.service or syslog-ng.service): -# -# [Install] -# Alias=syslog.service -# -# See https://www.freedesktop.org/wiki/Software/systemd/syslog for details. diff --git a/core/modules/systemd/data/usr/lib/systemd/system/system-update.target b/core/modules/systemd/data/usr/lib/systemd/system/system-update.target deleted file mode 100644 index 35428797..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/system-update.target +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Offline System Update -Documentation=man:systemd.offline-updates(7) -Documentation=man:systemd.special(7) man:systemd-system-update-generator(8) -Requires=sysinit.target -Conflicts=shutdown.target -After=sysinit.target -Before=shutdown.target -AllowIsolate=yes -Wants=system-update-cleanup.service diff --git a/core/modules/systemd/data/usr/lib/systemd/system/system.slice b/core/modules/systemd/data/usr/lib/systemd/system/system.slice deleted file mode 100644 index 841f049b..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/system.slice +++ /dev/null @@ -1,14 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=System Slice -Documentation=man:systemd.special(7) -DefaultDependencies=no -Before=slices.target -Requires=-.slice -After=-.slice diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-binfmt.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-binfmt.service deleted file mode 100644 index b47d89af..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-binfmt.service +++ /dev/null @@ -1,27 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Set Up Additional Binary Formats -Documentation=man:systemd-binfmt.service(8) man:binfmt.d(5) -Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt -DefaultDependencies=no -Conflicts=shutdown.target -After=proc-sys-fs-binfmt_misc.automount -Before=sysinit.target shutdown.target -ConditionPathIsReadWrite=/proc/sys/ -ConditionDirectoryNotEmpty=|/lib/binfmt.d -ConditionDirectoryNotEmpty=|/usr/lib/binfmt.d -ConditionDirectoryNotEmpty=|/usr/local/lib/binfmt.d -ConditionDirectoryNotEmpty=|/etc/binfmt.d -ConditionDirectoryNotEmpty=|/run/binfmt.d - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-binfmt -TimeoutSec=90s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-exit.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-exit.service deleted file mode 100644 index 22bb6fbe..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-exit.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Exit the Session -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=shutdown.target -After=shutdown.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force exit diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-halt.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-halt.service deleted file mode 100644 index 4bd1afb8..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-halt.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Halt -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target umount.target final.target -After=shutdown.target umount.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force halt diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-hibernate.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-hibernate.service deleted file mode 100644 index 7f19e48f..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-hibernate.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Hibernate -Documentation=man:systemd-suspend.service(8) -DefaultDependencies=no -Requires=sleep.target -After=sleep.target - -[Service] -Type=oneshot -ExecStart=/usr/lib/systemd/systemd-sleep hibernate diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-hybrid-sleep.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-hybrid-sleep.service deleted file mode 100644 index 7d627bfa..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-hybrid-sleep.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Hybrid Suspend+Hibernate -Documentation=man:systemd-suspend.service(8) -DefaultDependencies=no -Requires=sleep.target -After=sleep.target - -[Service] -Type=oneshot -ExecStart=/usr/lib/systemd/systemd-sleep hybrid-sleep diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.service deleted file mode 100644 index 7a600a62..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.service +++ /dev/null @@ -1,16 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=/dev/initctl Compatibility Daemon -Documentation=man:systemd-initctl.service(8) -DefaultDependencies=no - -[Service] -NotifyAccess=all -ExecStart=/usr/lib/systemd/systemd-initctl -SystemCallArchitectures=native diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.socket b/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.socket deleted file mode 100644 index f628c2e8..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-initctl.socket +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=/dev/initctl Compatibility Named Pipe -Documentation=man:systemd-initctl.service(8) -DefaultDependencies=no -Before=sockets.target - -[Socket] -ListenFIFO=/run/systemd/initctl/fifo -Symlinks=/dev/initctl -SocketMode=0600 diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journal-flush.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-journal-flush.service deleted file mode 100644 index 74342665..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journal-flush.service +++ /dev/null @@ -1,22 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Flush Journal to Persistent Storage -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Requires=systemd-journald.service -After=systemd-journald.service -After=systemd-remount-fs.service -Before=systemd-user-sessions.service systemd-tmpfiles-setup.service -RequiresMountsFor=/var/log/journal - -[Service] -ExecStart=/usr/bin/journalctl --flush -Type=oneshot -RemainAfterExit=yes -TimeoutSec=90s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald-dev-log.socket b/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald-dev-log.socket deleted file mode 100644 index ffd44bb5..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald-dev-log.socket +++ /dev/null @@ -1,32 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Journal Socket (/dev/log) -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Before=sockets.target - -# Mount and swap units need this. If this socket unit is removed by an -# isolate request the mount and swap units would be removed too, -# hence let's exclude this from isolate requests. -IgnoreOnIsolate=yes - -[Socket] -Service=systemd-journald.service -ListenDatagram=/run/systemd/journal/dev-log -Symlinks=/dev/log -SocketMode=0666 -PassCredentials=yes -PassSecurity=yes - -# Increase both the send and receive buffer, so that things don't -# block early. Note that journald internally uses the this socket both -# for receiving syslog messages, and for forwarding them to any other -# syslog, hence we bump both values. -ReceiveBuffer=8M -SendBuffer=8M diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.service deleted file mode 100644 index 38ee6d44..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.service +++ /dev/null @@ -1,37 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Journal Service -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Requires=systemd-journald.socket -After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket -Before=sysinit.target - -[Service] -Type=notify -Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket -ExecStart=/usr/lib/systemd/systemd-journald -Restart=always -RestartSec=0 -StandardOutput=null -WatchdogSec=3min -FileDescriptorStoreMax=1024 -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE -MemoryDenyWriteExecute=yes -RestrictRealtime=yes -RestrictNamespaces=yes -RestrictAddressFamilies=AF_UNIX AF_NETLINK -SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @mount @obsolete @raw-io @reboot @swap -SystemCallArchitectures=native - -# Increase the default a bit in order to allow many simultaneous -# services being run since we keep one fd open per service. Also, when -# flushing journal files to disk, we might need a lot of fds when many -# journal files are combined. -LimitNOFILE=16384 diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.socket b/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.socket deleted file mode 100644 index 71737014..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-journald.socket +++ /dev/null @@ -1,26 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Journal Socket -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Before=sockets.target - -# Mount and swap units need this. If this socket unit is removed by an -# isolate request the mount and swap units would be removed too, -# hence let's exclude this from isolate requests. -IgnoreOnIsolate=yes - -[Socket] -ListenStream=/run/systemd/journal/stdout -ListenDatagram=/run/systemd/journal/socket -SocketMode=0666 -PassCredentials=yes -PassSecurity=yes -ReceiveBuffer=8M -Service=systemd-journald.service diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-kexec.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-kexec.service deleted file mode 100644 index 91b5a58a..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-kexec.service +++ /dev/null @@ -1,19 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1+ -# -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Reboot via kexec -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target umount.target final.target -After=shutdown.target umount.target final.target - -[Service] -Type=oneshot -ExecStart=/bin/systemctl --force kexec diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-logind.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-logind.service deleted file mode 100644 index 1cd60b9c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-logind.service +++ /dev/null @@ -1,38 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Login Service -Documentation=man:systemd-logind.service(8) man:logind.conf(5) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/logind -Documentation=https://www.freedesktop.org/wiki/Software/systemd/multiseat -Wants=user.slice -After=nss-user-lookup.target user.slice - -# Ask for the dbus socket. If running over kdbus, the socket will -# not be actually used. -Wants=dbus.socket -After=dbus.socket - -[Service] -ExecStart=/usr/lib/systemd/systemd-logind -Restart=always -RestartSec=0 -BusName=org.freedesktop.login1 -WatchdogSec=3min -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_MAC_ADMIN CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG -MemoryDenyWriteExecute=yes -RestrictRealtime=yes -RestrictNamespaces=yes -RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 -SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap -SystemCallArchitectures=native -FileDescriptorStoreMax=512 - -# Increase the default a bit in order to allow many simultaneous -# logins since we keep one fd open per session. -LimitNOFILE=16384 diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-machine-id-commit.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-machine-id-commit.service deleted file mode 100644 index 58e7239b..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-machine-id-commit.service +++ /dev/null @@ -1,22 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Commit a transient machine-id on disk -Documentation=man:systemd-machine-id-commit.service(8) -DefaultDependencies=no -Conflicts=shutdown.target -Before=sysinit.target shutdown.target -After=local-fs.target -ConditionPathIsReadWrite=/etc -ConditionPathIsMountPoint=/etc/machine-id - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-machine-id-setup --commit -TimeoutSec=30s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-machined.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-machined.service deleted file mode 100644 index ea30d064..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-machined.service +++ /dev/null @@ -1,29 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Virtual Machine and Container Registration Service -Documentation=man:systemd-machined.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/machined -Wants=machine.slice -After=machine.slice -RequiresMountsFor=/var/lib/machines - -[Service] -ExecStart=/usr/lib/systemd/systemd-machined -BusName=org.freedesktop.machine1 -WatchdogSec=3min -CapabilityBoundingSet=CAP_KILL CAP_SYS_PTRACE CAP_SYS_ADMIN CAP_SETGID CAP_SYS_CHROOT CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD -MemoryDenyWriteExecute=yes -RestrictRealtime=yes -RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 -SystemCallFilter=~@clock @cpu-emulation @debug @keyring @module @obsolete @raw-io @reboot @swap -SystemCallArchitectures=native - -# Note that machined cannot be placed in a mount namespace, since it -# needs access to the host's mount namespace in order to implement the -# "machinectl bind" operation. diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-modules-load.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-modules-load.service deleted file mode 100644 index 0f1a8521..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-modules-load.service +++ /dev/null @@ -1,27 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Load Kernel Modules -Documentation=man:systemd-modules-load.service(8) man:modules-load.d(5) -DefaultDependencies=no -Conflicts=shutdown.target -Before=sysinit.target shutdown.target -ConditionCapability=CAP_SYS_MODULE -ConditionDirectoryNotEmpty=|/lib/modules-load.d -ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d -ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d -ConditionDirectoryNotEmpty=|/etc/modules-load.d -ConditionDirectoryNotEmpty=|/run/modules-load.d -ConditionKernelCommandLine=|modules-load -ConditionKernelCommandLine=|rd.modules-load - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-modules-load -TimeoutSec=90s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-nspawn@.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-nspawn@.service deleted file mode 100644 index d0dfe700..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-nspawn@.service +++ /dev/null @@ -1,37 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Container %i -Documentation=man:systemd-nspawn(1) -PartOf=machines.target -Before=machines.target -After=network.target systemd-resolved.service -RequiresMountsFor=/var/lib/machines - -[Service] -ExecStart=/usr/bin/systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i -KillMode=mixed -Type=notify -RestartForceExitStatus=133 -SuccessExitStatus=133 -Slice=machine.slice -Delegate=yes -TasksMax=16384 - -DevicePolicy=closed -DeviceAllow=/dev/net/tun rwm -DeviceAllow=char-pts rw - -# nspawn itself needs access to /dev/loop-control and /dev/loop, to -# implement the --image= option. Add these here, too. -DeviceAllow=/dev/loop-control rw -DeviceAllow=block-loop rw -DeviceAllow=block-blkext rw - -[Install] -WantedBy=machines.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-poweroff.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-poweroff.service deleted file mode 100644 index 4749129d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-poweroff.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Power-Off -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target umount.target final.target -After=shutdown.target umount.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force poweroff diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-reboot.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-reboot.service deleted file mode 100644 index 49acabc9..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-reboot.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Reboot -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target umount.target final.target -After=shutdown.target umount.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force reboot diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-remount-fs.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-remount-fs.service deleted file mode 100644 index 98222c6a..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-remount-fs.service +++ /dev/null @@ -1,22 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Remount Root and Kernel File Systems -Documentation=man:systemd-remount-fs.service(8) -Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Conflicts=shutdown.target -After=systemd-fsck-root.service -Before=local-fs-pre.target local-fs.target shutdown.target -Wants=local-fs-pre.target -ConditionPathExists=/etc/fstab - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-remount-fs diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-suspend.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-suspend.service deleted file mode 100644 index 5d242edd..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-suspend.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Suspend -Documentation=man:systemd-suspend.service(8) -DefaultDependencies=no -Requires=sleep.target -After=sleep.target - -[Service] -Type=oneshot -ExecStart=/usr/lib/systemd/systemd-sleep suspend diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service deleted file mode 100644 index 1a150fd6..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysctl.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Apply Kernel Variables -Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5) -DefaultDependencies=no -Conflicts=shutdown.target -After=systemd-modules-load.service -Before=sysinit.target shutdown.target -ConditionPathIsReadWrite=/proc/sys/net/ - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-sysctl -TimeoutSec=90s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysusers.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysusers.service deleted file mode 100644 index 1802b313..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-sysusers.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Create System Users -Documentation=man:sysusers.d(5) man:systemd-sysusers.service(8) -DefaultDependencies=no -Conflicts=shutdown.target -After=systemd-remount-fs.service -Before=sysinit.target shutdown.target systemd-update-done.service -ConditionNeedsUpdate=/etc - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-sysusers -TimeoutSec=90s diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service deleted file mode 100644 index 761a4fc9..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Create Static Device Nodes in /dev -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Conflicts=shutdown.target -After=systemd-sysusers.service -Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target -ConditionCapability=CAP_SYS_MODULE - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-tmpfiles --prefix=/dev --create --boot diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service deleted file mode 100644 index fce1c42f..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Create Volatile Files and Directories -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Conflicts=shutdown.target -After=local-fs.target systemd-sysusers.service -Before=sysinit.target shutdown.target -RefuseManualStop=yes - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-settle.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-settle.service deleted file mode 100644 index 20a89228..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-settle.service +++ /dev/null @@ -1,25 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -# This service can dynamically be pulled-in by legacy services which -# cannot reliably cope with dynamic device configurations, and wrongfully -# expect a populated /dev during bootup. - -[Unit] -Description=udev Wait for Complete Device Initialization -Documentation=man:udev(7) man:systemd-udevd.service(8) -DefaultDependencies=no -Wants=systemd-udevd.service -After=systemd-udev-trigger.service -Before=sysinit.target -ConditionPathIsReadWrite=/sys - -[Service] -Type=oneshot -TimeoutSec=180 -RemainAfterExit=yes -ExecStart=/usr/bin/udevadm settle diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-trigger.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-trigger.service deleted file mode 100644 index fbc52694..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udev-trigger.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=udev Coldplug all Devices -Documentation=man:udev(7) man:systemd-udevd.service(8) -DefaultDependencies=no -Wants=systemd-udevd.service -After=systemd-udevd-kernel.socket systemd-udevd-control.socket systemd-hwdb-update.service -Before=sysinit.target -ConditionPathIsReadWrite=/sys - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/udevadm trigger --type=subsystems --action=add ; /usr/bin/udevadm trigger --type=devices --action=add diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-control.socket b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-control.socket deleted file mode 100644 index 46f704ed..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-control.socket +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=udev Control Socket -Documentation=man:systemd-udevd.service(8) man:udev(7) -DefaultDependencies=no -Before=sockets.target -ConditionPathIsReadWrite=/sys - -[Socket] -Service=systemd-udevd.service -ListenSequentialPacket=/run/udev/control -SocketMode=0600 -PassCredentials=yes -RemoveOnStop=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-kernel.socket b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-kernel.socket deleted file mode 100644 index 1a162069..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd-kernel.socket +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=udev Kernel Socket -Documentation=man:systemd-udevd.service(8) man:udev(7) -DefaultDependencies=no -Before=sockets.target -ConditionPathIsReadWrite=/sys - -[Socket] -Service=systemd-udevd.service -ReceiveBuffer=128M -ListenNetlink=kobject-uevent 1 -PassCredentials=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service deleted file mode 100644 index 17534c34..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-udevd.service +++ /dev/null @@ -1,31 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=udev Kernel Device Manager -Documentation=man:systemd-udevd.service(8) man:udev(7) -DefaultDependencies=no -Wants=systemd-udevd-control.socket systemd-udevd-kernel.socket -After=systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-sysusers.service -Before=sysinit.target -ConditionPathIsReadWrite=/sys - -[Service] -Type=notify -OOMScoreAdjust=-1000 -Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket -Restart=always -RestartSec=0 -ExecStart=/usr/lib/systemd/systemd-udevd -KillMode=mixed -WatchdogSec=3min -TasksMax=infinity -MountFlags=slave -MemoryDenyWriteExecute=yes -RestrictRealtime=yes -RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_INET AF_INET6 -SystemCallArchitectures=native diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp-runlevel.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp-runlevel.service deleted file mode 100644 index 511f6679..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp-runlevel.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Update UTMP about System Runlevel Changes -Documentation=man:systemd-update-utmp.service(8) man:utmp(5) -DefaultDependencies=no -RequiresMountsFor=/var/log/wtmp -Conflicts=shutdown.target -Requisite=systemd-update-utmp.service -After=systemd-update-utmp.service -After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target -Before=shutdown.target - -[Service] -Type=oneshot -ExecStart=/usr/lib/systemd/systemd-update-utmp runlevel diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp.service deleted file mode 100644 index b3651c64..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-update-utmp.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Update UTMP about System Boot/Shutdown -Documentation=man:systemd-update-utmp.service(8) man:utmp(5) -DefaultDependencies=no -RequiresMountsFor=/var/log/wtmp -Conflicts=shutdown.target -After=systemd-remount-fs.service systemd-tmpfiles-setup.service auditd.service -Before=sysinit.target shutdown.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-update-utmp reboot -ExecStop=/usr/lib/systemd/systemd-update-utmp shutdown diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-user-sessions.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-user-sessions.service deleted file mode 100644 index 612c3a0b..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-user-sessions.service +++ /dev/null @@ -1,17 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Permit User Sessions -Documentation=man:systemd-user-sessions.service(8) -After=remote-fs.target nss-user-lookup.target network.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-user-sessions start -ExecStop=/usr/lib/systemd/systemd-user-sessions stop diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-vconsole-setup.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-vconsole-setup.service deleted file mode 100644 index ce60c1bb..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-vconsole-setup.service +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Setup Virtual Console -Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5) -DefaultDependencies=no -Conflicts=shutdown.target -After= -Before=sysinit.target shutdown.target -ConditionPathExists=/dev/tty0 - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-vconsole-setup diff --git a/core/modules/systemd/data/usr/lib/systemd/system/systemd-volatile-root.service b/core/modules/systemd/data/usr/lib/systemd/system/systemd-volatile-root.service deleted file mode 100644 index e7997791..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/systemd-volatile-root.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Enforce Volatile Root File Systems -Documentation=man:systemd-volatile-root.service(8) -DefaultDependencies=no -Conflicts=shutdown.target -After=sysroot.mount -Before=initrd-root-fs.target shutdown.target -Conflicts=shutdown.target -AssertPathExists=/etc/initrd-release - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-volatile-root yes /sysroot diff --git a/core/modules/systemd/data/usr/lib/systemd/system/time-sync.target b/core/modules/systemd/data/usr/lib/systemd/system/time-sync.target deleted file mode 100644 index debee741..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/time-sync.target +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=System Time Synchronized -Documentation=man:systemd.special(7) -RefuseManualStart=yes diff --git a/core/modules/systemd/data/usr/lib/systemd/system/timers.target b/core/modules/systemd/data/usr/lib/systemd/system/timers.target deleted file mode 100644 index 251fa680..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/timers.target +++ /dev/null @@ -1,13 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Timers -Documentation=man:systemd.special(7) - -DefaultDependencies=no -Conflicts=shutdown.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer b/core/modules/systemd/data/usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer deleted file mode 120000 index ea23a64d..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/timers.target.wants/systemd-tmpfiles-clean.timer +++ /dev/null @@ -1 +0,0 @@ -../systemd-tmpfiles-clean.timer \ No newline at end of file diff --git a/core/modules/systemd/data/usr/lib/systemd/system/user.slice b/core/modules/systemd/data/usr/lib/systemd/system/user.slice deleted file mode 100644 index 9fa6284c..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/user.slice +++ /dev/null @@ -1,11 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=User and Session Slice -Documentation=man:systemd.special(7) -Before=slices.target diff --git a/core/modules/systemd/data/usr/lib/systemd/system/user@.service b/core/modules/systemd/data/usr/lib/systemd/system/user@.service deleted file mode 100644 index 9966ae33..00000000 --- a/core/modules/systemd/data/usr/lib/systemd/system/user@.service +++ /dev/null @@ -1,21 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=User Manager for UID %i -After=systemd-user-sessions.service - -[Service] -User=%i -PAMName=systemd-user -Type=notify -ExecStart=-/usr/lib/systemd/systemd --user -Slice=user-%i.slice -KillMode=mixed -Delegate=yes -TasksMax=infinity -TimeoutStopSec=120s diff --git a/core/modules/systemd/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules b/core/modules/systemd/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules deleted file mode 100644 index 113d288a..00000000 --- a/core/modules/systemd/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules +++ /dev/null @@ -1,8 +0,0 @@ -ACTION=="remove", GOTO="floppy_extra_end" -ENV{MAJOR}=="", GOTO="floppy_extra_end" - -# floppy devices -SUBSYSTEM=="block", KERNEL=="fd[0-9]*", TAG+="uaccess" - -LABEL="floppy_extra_end" - diff --git a/core/modules/systemd/data/usr/lib/udev/rules.d/99-systemd.rules b/core/modules/systemd/data/usr/lib/udev/rules.d/99-systemd.rules deleted file mode 100644 index 3306c195..00000000 --- a/core/modules/systemd/data/usr/lib/udev/rules.d/99-systemd.rules +++ /dev/null @@ -1,55 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -ACTION=="remove", GOTO="systemd_end" - -SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd" - -KERNEL=="vport*", TAG+="systemd" - -SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd" -SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0" - -# Ignore encrypted devices with no identified superblock on it, since -# we are probably still calling mke2fs or mkswap on it. - -SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV{SYSTEMD_READY}="0" - -# We need a hardware independent way to identify network devices. We -# use the /sys/subsystem path for this. Current vanilla kernels don't -# actually support that hierarchy right now, however upcoming kernels -# will. HAL and udev internally support /sys/subsystem already, hence -# it should be safe to use this here, too. This is mostly just an -# identification string for systemd, so whether the path actually is -# accessible or not does not matter as long as it is unique and in the -# filesystem namespace. -# -# http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=libudev/libudev-enumerate.c;h=da831449dcaf5e936a14409e8e68ab12d30a98e2;hb=HEAD#l742 - -SUBSYSTEM=="net", KERNEL=="eth*", TAG=="openslxignore", GOTO="systemd_end" - -SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/%k" - -SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target" -ENV{ID_SMARTCARD_READER}=="*?", TAG+="systemd", ENV{SYSTEMD_WANTS}="smartcard.target" -SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}="sound.target" - -SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" -SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" - -# Apply sysctl variables to network devices (and only to those) as they appear. -SUBSYSTEM=="net", KERNEL=="eth*", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/$name --prefix=/proc/sys/net/ipv4/neigh/$name --prefix=/proc/sys/net/ipv6/conf/$name --prefix=/proc/sys/net/ipv6/neigh/$name" - -# Asynchronously mount file systems implemented by these modules as -# soon as they are loaded. - -SUBSYSTEM=="module", KERNEL=="fuse", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}="sys-fs-fuse-connections.mount" -SUBSYSTEM=="module", KERNEL=="configfs", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}="sys-kernel-config.mount" - -LABEL="systemd_end" diff --git a/core/modules/systemd/module.build b/core/modules/systemd/module.build index 3cca1928..2ddd10d7 100644 --- a/core/modules/systemd/module.build +++ b/core/modules/systemd/module.build @@ -48,9 +48,11 @@ build () { [ ! -e "./configure" ] && ./autogen.sh ./configure \ + --prefix=/ \ --disable-manpages \ --enable-split-usr \ --sysconfdir="/etc" \ + --runstatedir="/run" \ --enable-gtk-doc-html=no \ --disable-nls \ --disable-microhttpd \ diff --git a/core/modules/systemd/module.conf b/core/modules/systemd/module.conf index 4ee773b9..ef64043e 100644 --- a/core/modules/systemd/module.conf +++ b/core/modules/systemd/module.conf @@ -57,7 +57,7 @@ REQUIRED_DIRECTORIES=" /usr/include /usr/share/dbus-1 /usr/share/polkit-1 - /usr/lib/udev + /lib/udev /usr/lib/tmpfiles.d - /usr/lib/systemd/user + /lib/systemd/user " diff --git a/core/modules/xorg/module.conf b/core/modules/xorg/module.conf index dfa86b3a..875c225f 100644 --- a/core/modules/xorg/module.conf +++ b/core/modules/xorg/module.conf @@ -24,6 +24,7 @@ REQUIRED_DIRECTORIES=" /usr/share/fonts /usr/share/glvnd /usr/share/X11 + /lib/udev " REQUIRED_FILES=" " diff --git a/core/modules/xorg/module.conf.centos b/core/modules/xorg/module.conf.centos index 22e4890a..e76a37ba 100644 --- a/core/modules/xorg/module.conf.centos +++ b/core/modules/xorg/module.conf.centos @@ -62,7 +62,6 @@ REQUIRED_LIBRARIES=" " REQUIRED_DIRECTORIES+=" /usr/bin - /usr/lib/udev /usr/$LIB64/xorg /usr/share/fonts " diff --git a/core/modules/xorg/module.conf.fedora b/core/modules/xorg/module.conf.fedora index 7ffba4da..d2172ff1 100644 --- a/core/modules/xorg/module.conf.fedora +++ b/core/modules/xorg/module.conf.fedora @@ -64,7 +64,6 @@ REQUIRED_LIBRARIES=" " REQUIRED_DIRECTORIES+=" /usr/bin - /usr/lib/udev /usr/$LIB64/xorg /usr/share/fonts " diff --git a/core/modules/xorg/module.conf.opensuse b/core/modules/xorg/module.conf.opensuse index 75c6b866..79fceb7e 100644 --- a/core/modules/xorg/module.conf.opensuse +++ b/core/modules/xorg/module.conf.opensuse @@ -51,7 +51,6 @@ REQUIRED_LIBRARIES=" " REQUIRED_DIRECTORIES+=" /usr/bin - /usr/lib/udev /usr/$LIB64/xorg /usr/share/fonts " diff --git a/core/modules/xorg/module.conf.opensuse.13.1 b/core/modules/xorg/module.conf.opensuse.13.1 index 29a3c4e5..1c11dfaf 100644 --- a/core/modules/xorg/module.conf.opensuse.13.1 +++ b/core/modules/xorg/module.conf.opensuse.13.1 @@ -87,7 +87,6 @@ REQUIRED_LIBRARIES=" " REQUIRED_DIRECTORIES+=" /usr/bin - /usr/lib/udev /usr/$LIB64/xorg /usr/share/fonts " diff --git a/core/modules/xorg/module.conf.opensuse.13.2 b/core/modules/xorg/module.conf.opensuse.13.2 index 894b9ed0..b1254e1b 100644 --- a/core/modules/xorg/module.conf.opensuse.13.2 +++ b/core/modules/xorg/module.conf.opensuse.13.2 @@ -84,7 +84,6 @@ REQUIRED_LIBRARIES=" " REQUIRED_DIRECTORIES+=" /usr/bin - /usr/lib/udev /usr/$LIB64/xorg /usr/share/fonts " diff --git a/core/rootfs/rootfs-stage31/data/init b/core/rootfs/rootfs-stage31/data/init index 4615a4fb..1ae27939 100755 --- a/core/rootfs/rootfs-stage31/data/init +++ b/core/rootfs/rootfs-stage31/data/init @@ -226,3 +226,4 @@ for init in "/lib/systemd/systemd" "/usr/lib/systemd/systemd"; do exec /sbin/switch_root -c /dev/console /mnt "$init" $SD_CMDLINE done +drop_shell "Da is irgendwie kein systemd im neuen root..." -- cgit v1.2.3-55-g7522