diff options
author | Simon Rettberg | 2020-08-03 14:39:50 +0200 |
---|---|---|
committer | Your Name | 2020-08-03 14:39:50 +0200 |
commit | 3eda56eac37fb03e8cbc87a489c52205db0886f2 (patch) | |
tree | 0449864917a06ee9693d62add4ef54956aee66c4 /core/modules/systemd-distro | |
parent | [rootfs-stage31] actually write fbsplash.cfg (diff) | |
download | mltk-3eda56eac37fb03e8cbc87a489c52205db0886f2.tar.gz mltk-3eda56eac37fb03e8cbc87a489c52205db0886f2.tar.xz mltk-3eda56eac37fb03e8cbc87a489c52205db0886f2.zip |
[systemd-distro] Delete data dir, use shipped services etc.
Diffstat (limited to 'core/modules/systemd-distro')
112 files changed, 1 insertions, 2124 deletions
diff --git a/core/modules/systemd-distro/data/etc/systemd/system.conf b/core/modules/systemd-distro/data/etc/systemd/system.conf deleted file mode 100644 index 1c5bbc91..00000000 --- a/core/modules/systemd-distro/data/etc/systemd/system.conf +++ /dev/null @@ -1,49 +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 systemd-system.conf(5) for details - -[Manager] -LogLevel=debug -#LogTarget=journal-or-kmsg -#LogColor=yes -#LogLocation=no -#DumpCore=yes -CrashShell=yes -#ShowStatus=yes -CrashChVT=1 -#CPUAffinity=1 2 -#JoinControllers=cpu,cpuacct net_cls,net_prio -#RuntimeWatchdogSec=0 -#ShutdownWatchdogSec=10min -#CapabilityBoundingSet= -#SystemCallArchitectures= -#TimerSlackNSec= -#DefaultStandardOutput=journal -#DefaultStandardError=inherit -#DefaultTimeoutStartSec=90s -#DefaultTimeoutStopSec=90s -#DefaultRestartSec=100ms -#DefaultStartLimitInterval=10s -#DefaultStartLimitBurst=5 -DefaultEnvironment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin" -#DefaultLimitCPU= -#DefaultLimitFSIZE= -#DefaultLimitDATA= -#DefaultLimitSTACK= -#DefaultLimitCORE= -#DefaultLimitRSS= -#DefaultLimitNOFILE= -#DefaultLimitAS= -#DefaultLimitNPROC= -#DefaultLimitMEMLOCK= -#DefaultLimitLOCKS= -#DefaultLimitSIGPENDING= -#DefaultLimitMSGQUEUE= -#DefaultLimitNICE= -#DefaultLimitRTPRIO= -#DefaultLimitRTTIME= diff --git a/core/modules/systemd-distro/data/etc/systemd/system/network-interface@.service b/core/modules/systemd-distro/data/etc/systemd/system/network-interface@.service deleted file mode 100644 index ea9cc56e..00000000 --- a/core/modules/systemd-distro/data/etc/systemd/system/network-interface@.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Brings interface %i up -Wants=dhcpc@%i.service -Before=dhcpc@%i.service - -[Service] -Type=simple -ExecStart=/opt/openslx/sbin/ip link set dev %I up - diff --git a/core/modules/systemd-distro/data/etc/systemd/system/systemd-halt.service b/core/modules/systemd-distro/data/etc/systemd/system/systemd-halt.service deleted file mode 100644 index 95b4f284..00000000 --- a/core/modules/systemd-distro/data/etc/systemd/system/systemd-halt.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=Halt -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStartPre=-/bin/bash -c /opt/openslx/scripts/systemd-shutdown_prescript -ExecStart=/usr/bin/systemctl --force halt diff --git a/core/modules/systemd-distro/data/etc/systemd/system/systemd-poweroff.service b/core/modules/systemd-distro/data/etc/systemd/system/systemd-poweroff.service deleted file mode 100644 index 8b96980e..00000000 --- a/core/modules/systemd-distro/data/etc/systemd/system/systemd-poweroff.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=Power-Off -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStartPre=-/bin/bash -c /opt/openslx/scripts/systemd-shutdown_prescript -ExecStart=/usr/bin/systemctl --force poweroff diff --git a/core/modules/systemd-distro/data/etc/systemd/system/systemd-reboot.service b/core/modules/systemd-distro/data/etc/systemd/system/systemd-reboot.service deleted file mode 100644 index be4d608c..00000000 --- a/core/modules/systemd-distro/data/etc/systemd/system/systemd-reboot.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=Reboot -Documentation=man:systemd-halt.service(8) -DefaultDependencies=no -Requires=shutdown.target final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStartPre=-/bin/bash -c /opt/openslx/scripts/systemd-shutdown_prescript -ExecStart=/usr/bin/systemctl --force reboot diff --git a/core/modules/systemd-distro/data/opt/openslx/scripts/systemd-shutdown_prescript b/core/modules/systemd-distro/data/opt/openslx/scripts/systemd-shutdown_prescript deleted file mode 100755 index 3b5d7f92..00000000 --- a/core/modules/systemd-distro/data/opt/openslx/scripts/systemd-shutdown_prescript +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/ash - -# This script gets called by ExecStartPre from the services -# systemd-halt, systemd-poweroff, systemd-reboot. Pre-shutdown actions as -# unmounting nfs shares etc. should go here. - -PATH=/bin:/usr/bin:/opt/openslx/bin - -# kill leftover processes - -umount_nfs_shares() { - for i in "$(mount | grep 'type nfs')"; do - share=$(echo "$i"|cut -f 3 -d " ") - echo "Unmounte nfs-Share $share ...." - umount "$share" - ERROR=$? - if [ $ERROR -eq 0 ]; then - echo "nfs-Share $share unmounted." - else - echo "Could not umount nfs share $share!" - ERRORLEVEL=1 - fi - done -} - -umount_samba_shares() { - for i in "$(mount | grep 'type cifs')"; do - share=$(echo $i|cut -f 3 -d " ") - echo "Unmounte cifs-Share $share ...." - umount "$share" - ERROR=$? - if [ $ERROR -eq 0 ]; then - echo "cifs-Share $share unmounted." - else - echo "Could not umount cifs share $share!" - ERRORLEVEL=1 - fi - done -} - -# Searching for nfs-shares in mtab: -if [ $(echo /etc/mtab | cut -d " " -f 3 | grep -q nfs) ]; then - umount_nfs_shares -fi - -# Searching for samba-shares: -if [ $(echo /etc/mtab|cut -d " " -f 3 | grep -q cifs) ]; then - umount_samba_shares -fi -exit $ERRORLEVEL diff --git a/core/modules/systemd-distro/data/sbin/halt b/core/modules/systemd-distro/data/sbin/halt Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/halt +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/init b/core/modules/systemd-distro/data/sbin/init Binary files differdeleted file mode 100755 index a18235ca..00000000 --- a/core/modules/systemd-distro/data/sbin/init +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/poweroff b/core/modules/systemd-distro/data/sbin/poweroff Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/poweroff +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/reboot b/core/modules/systemd-distro/data/sbin/reboot Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/reboot +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/runlevel b/core/modules/systemd-distro/data/sbin/runlevel Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/runlevel +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/shutdown b/core/modules/systemd-distro/data/sbin/shutdown Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/shutdown +++ /dev/null diff --git a/core/modules/systemd-distro/data/sbin/telinit b/core/modules/systemd-distro/data/sbin/telinit Binary files differdeleted file mode 100755 index 994bdf14..00000000 --- a/core/modules/systemd-distro/data/sbin/telinit +++ /dev/null diff --git a/core/modules/systemd-distro/data/usr/lib/sysctl.d/50-default.conf b/core/modules/systemd-distro/data/usr/lib/sysctl.d/50-default.conf deleted file mode 100644 index 6ece04ce..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/autovt@.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/autovt@.service deleted file mode 100644 index 2d2940e1..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/autovt@.service +++ /dev/null @@ -1,49 +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 -# the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %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-distro/data/usr/lib/systemd/system/basic.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/basic.target deleted file mode 100644 index 6b9cfe4c..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/bluetooth.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/bluetooth.target deleted file mode 100644 index dd4ae14c..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/console-getty.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/console-getty.service deleted file mode 100644 index 74a220e2..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/console-getty.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 Getty -Documentation=man:agetty(8) -After=systemd-user-sessions.service plymouth-quit-wait.service -After=rc-local.service -Before=getty.target - -[Service] -ExecStart=-/sbin/agetty --noclear -s console 115200,38400,9600 -Type=idle -Restart=always -RestartSec=0 -UtmpIdentifier=cons -TTYPath=/dev/console -TTYReset=yes -TTYVHangup=yes -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-distro/data/usr/lib/systemd/system/console-shell.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/console-shell.service deleted file mode 100644 index c1548299..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/ctrl-alt-del.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/ctrl-alt-del.target deleted file mode 100644 index dec8f567..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/ctrl-alt-del.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 -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-reboot.service -After=systemd-reboot.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service deleted file mode 100644 index 71971e44..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/dbus-org.freedesktop.login1.service +++ /dev/null @@ -1,23 +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=http://www.freedesktop.org/wiki/Software/systemd/multiseat -After= - -[Service] -ExecStart=/usr/lib/systemd/systemd-logind -Restart=always -RestartSec=0 -BusName=org.freedesktop.login1 -CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG - -# 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-distro/data/usr/lib/systemd/system/debug-shell.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/debug-shell.service deleted file mode 100644 index 4220d7c2..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/default.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/default.target deleted file mode 100644 index 65f2521d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/default.target +++ /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=Graphical Interface -Documentation=man:systemd.special(7) -Requires=multi-user.target -After=multi-user.target -Conflicts=rescue.target -Wants=display-manager.service -AllowIsolate=yes - -[Install] -Alias=default.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-hugepages.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-hugepages.mount deleted file mode 100644 index d711faed..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-hugepages.mount +++ /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=Huge Pages File System -Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/sys/kernel/mm/hugepages - -[Mount] -What=hugetlbfs -Where=/dev/hugepages -Type=hugetlbfs diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-mqueue.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-mqueue.mount deleted file mode 100644 index 5c11ca7d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/dev-mqueue.mount +++ /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=POSIX Message Queue File System -Documentation=man:mq_overview(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/proc/sys/fs/mqueue - -[Mount] -What=mqueue -Where=/dev/mqueue -Type=mqueue diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/emergency.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/emergency.service deleted file mode 100644 index 72fcff2d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/emergency.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=Emergency Shell -Documentation=man:sulogin(8) -DefaultDependencies=no -Conflicts=shutdown.target -Before=shutdown.target - -[Service] -Environment=HOME=/root -WorkingDirectory=/root -ExecStartPre=-/bin/plymouth quit -ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.' -ExecStart=-/sbin/sulogin -ExecStopPost=/usr/bin/systemctl --fail --no-block default -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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/emergency.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/emergency.target deleted file mode 100644 index 0760d66f..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/final.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/final.target deleted file mode 100644 index c7cf18e0..00000000 --- a/core/modules/systemd-distro/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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/getty.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/getty.target deleted file mode 100644 index c33d4465..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/getty@.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/getty@.service deleted file mode 100644 index 2d2940e1..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/getty@.service +++ /dev/null @@ -1,49 +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 -# the VT is cleared by TTYVTDisallocate -ExecStart=-/sbin/agetty --noclear %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-distro/data/usr/lib/systemd/system/graphical.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/graphical.target deleted file mode 100644 index 65f2521d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/graphical.target +++ /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=Graphical Interface -Documentation=man:systemd.special(7) -Requires=multi-user.target -After=multi-user.target -Conflicts=rescue.target -Wants=display-manager.service -AllowIsolate=yes - -[Install] -Alias=default.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/halt-local.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/halt-local.service deleted file mode 100644 index e6243eeb..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/halt.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/halt.target deleted file mode 100644 index a21d984b..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/hibernate.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/hibernate.target deleted file mode 100644 index 143eb592..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/hybrid-sleep.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/hybrid-sleep.target deleted file mode 100644 index d2d34092..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/kexec.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/kexec.target deleted file mode 100644 index 90795d0c..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/multi-user.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target deleted file mode 100644 index 998e0460..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/multi-user.target.wants/getty.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/getty.target deleted file mode 100644 index c33d4465..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/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-distro/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service deleted file mode 100644 index 71971e44..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/systemd-logind.service +++ /dev/null @@ -1,23 +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=http://www.freedesktop.org/wiki/Software/systemd/multiseat -After= - -[Service] -ExecStart=/usr/lib/systemd/systemd-logind -Restart=always -RestartSec=0 -BusName=org.freedesktop.login1 -CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG - -# 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-distro/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/systemd-user-sessions.service deleted file mode 100644 index 9226e3ea..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/multi-user.target.wants/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= - -[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-distro/data/usr/lib/systemd/system/network-online.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/network-online.target deleted file mode 100644 index a40c44c9..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/network-online.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=Network is Online -Documentation=man:systemd.special(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/network.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/network.target deleted file mode 100644 index 4186c088..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/paths.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/paths.target deleted file mode 100644 index 25c7fd03..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/poweroff.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/poweroff.target deleted file mode 100644 index 71871033..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/poweroff.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=Power-Off -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-poweroff.service -After=systemd-poweroff.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/printer.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/printer.target deleted file mode 100644 index a6b86caa..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd-distro/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.automount deleted file mode 100644 index 6be38937..00000000 --- a/core/modules/systemd-distro/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/Documentation/binfmt_misc.txt -Documentation=http://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-distro/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount deleted file mode 100644 index 8c7c3863..00000000 --- a/core/modules/systemd-distro/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/Documentation/binfmt_misc.txt -Documentation=http://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-distro/data/usr/lib/systemd/system/rc-local.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service deleted file mode 100644 index cb9c1ba2..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/reboot.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/reboot.target deleted file mode 100644 index dec8f567..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/reboot.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 -Documentation=man:systemd.special(7) -DefaultDependencies=no -Requires=systemd-reboot.service -After=systemd-reboot.service -AllowIsolate=yes - -[Install] -Alias=ctrl-alt-del.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/remote-fs.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/remote-fs.target deleted file mode 100644 index 0821987d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/remote-fs.target +++ /dev/null @@ -1,3 +0,0 @@ -[Unit] -Description=Remote File Systems Impostor - diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/serial-getty@.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/serial-getty@.service deleted file mode 100644 index 5f289500..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/serial-getty@.service +++ /dev/null @@ -1,36 +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 - -[Service] -ExecStart=-/sbin/agetty -s %I 115200,38400,9600 vt102 -Type=idle -Restart=always -RestartSec=0 -UtmpIdentifier=%I -TTYPath=/dev/%I -TTYReset=yes -TTYVHangup=yes -KillMode=process -IgnoreSIGPIPE=no - -# Some login implementations ignore SIGTERM, so we send SIGHUP -# instead, to ensure that login terminates cleanly. -KillSignal=SIGHUP diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/shutdown.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/shutdown.target deleted file mode 100644 index 73e302b8..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/sigpwr.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/sigpwr.target deleted file mode 100644 index a52e7cff..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/sleep.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/sleep.target deleted file mode 100644 index 10c7c8d5..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/smartcard.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/smartcard.target deleted file mode 100644 index 5fefe847..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/sockets.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target deleted file mode 100644 index 26ab065d..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-journald.socket deleted file mode 100644 index 4f0619d2..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/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 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 -ListenDatagram=/dev/log -SocketMode=0666 -PassCredentials=yes -PassSecurity=yes -ReceiveBuffer=8M diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket deleted file mode 100644 index 9421ce8a..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-shutdownd.socket +++ /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=Delayed Shutdown Socket -Documentation=man:systemd-shutdownd.service(8) -DefaultDependencies=no -Before=sockets.target - -[Socket] -ListenDatagram=/run/systemd/shutdownd -SocketMode=0600 -PassCredentials=yes -PassSecurity=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.socket deleted file mode 100644 index ca17102d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-control.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 Control Socket -Documentation=man:systemd-udevd.service(8) man:udev(7) -DefaultDependencies=no -Before=sockets.target -ConditionCapability=CAP_MKNOD - -[Socket] -Service=systemd-udevd.service -ListenSequentialPacket=/run/udev/control -SocketMode=0600 -PassCredentials=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/systemd-udevd-kernel.socket deleted file mode 100644 index 4b8a5b0f..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sockets.target.wants/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 -ConditionCapability=CAP_MKNOD - -[Socket] -Service=systemd-udevd.service -ReceiveBuffer=134217728 -ListenNetlink=kobject-uevent 1 -PassCredentials=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sound.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/sound.target deleted file mode 100644 index 6699adec..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/suspend.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/suspend.target deleted file mode 100644 index f50cb226..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/swap.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/swap.target deleted file mode 100644 index 23a7d0dc..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sys-fs-fuse-connections.mount deleted file mode 100644 index ebd93e2c..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sys-fs-fuse-connections.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=FUSE Control File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/fs/fuse/connections -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=fusectl -Where=/sys/fs/fuse/connections -Type=fusectl diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sys-kernel-config.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sys-kernel-config.mount deleted file mode 100644 index 020101c0..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sys-kernel-config.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=Configuration File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/kernel/config -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=configfs -Where=/sys/kernel/config -Type=configfs diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target deleted file mode 100644 index ec6fbefc..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.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=System Initialization -Documentation=man:systemd.special(7) -Conflicts=emergency.service emergency.target -Wants= swap.target -After= swap.target emergency.service emergency.target -RefuseManualStart=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount deleted file mode 100644 index d711faed..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-hugepages.mount +++ /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=Huge Pages File System -Documentation=https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/sys/kernel/mm/hugepages - -[Mount] -What=hugetlbfs -Where=/dev/hugepages -Type=hugetlbfs diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount deleted file mode 100644 index 5c11ca7d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/dev-mqueue.mount +++ /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=POSIX Message Queue File System -Documentation=man:mq_overview(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/proc/sys/fs/mqueue - -[Mount] -What=mqueue -Where=/dev/mqueue -Type=mqueue diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount deleted file mode 100644 index 6be38937..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/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/Documentation/binfmt_misc.txt -Documentation=http://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-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.mount deleted file mode 100644 index ebd93e2c..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-fs-fuse-connections.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=FUSE Control File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/fuse.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/fs/fuse/connections -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=fusectl -Where=/sys/fs/fuse/connections -Type=fusectl diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.mount deleted file mode 100644 index 020101c0..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/sys-kernel-config.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=Configuration File System -Documentation=https://www.kernel.org/doc/Documentation/filesystems/configfs/configfs.txt -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -ConditionPathExists=/sys/kernel/config -After=systemd-modules-load.service -Before=sysinit.target - -[Mount] -What=configfs -Where=/sys/kernel/config -Type=configfs diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service deleted file mode 100644 index 897cf4e5..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-binfmt.service +++ /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=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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service deleted file mode 100644 index 77b4bfe9..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-journald.service +++ /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 Service -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Requires=systemd-journald.socket -After=systemd-journald.socket syslog.socket -Before=sysinit.target - -[Service] -ExecStart=/usr/lib/systemd/systemd-journald -Restart=always -RestartSec=0 -NotifyAccess=all -StandardOutput=null -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID - -# Increase the default a bit in order to allow many simultaneous -# services being run since we keep one fd open per service. -LimitNOFILE=16384 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-modules-load.service deleted file mode 100644 index 3ff810f7..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/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 -After= -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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service deleted file mode 100644 index 46e2475e..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-sysctl.service +++ /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=Apply Kernel Variables -Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5) -DefaultDependencies=no -Conflicts=shutdown.target -After= -Before=sysinit.target shutdown.target -ConditionPathIsReadWrite=/proc/sys/ -ConditionPathExists=|/etc/sysctl.conf -ConditionDirectoryNotEmpty=|/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d -ConditionDirectoryNotEmpty=|/etc/sysctl.d -ConditionDirectoryNotEmpty=|/run/sysctl.d - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-sysctl diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.service deleted file mode 100644 index da1ee1f8..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup-dev.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=Create static device nodes in /dev -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Before=sysinit.target systemd-udevd.service -ConditionCapability=CAP_MKNOD - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemd-tmpfiles --prefix=/dev --create diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service deleted file mode 100644 index 9e1a5650..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup.service +++ /dev/null @@ -1,23 +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=Recreate Volatile Files and Directories -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Wants= -After= -Before=sysinit.target shutdown.target -ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d -ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d -ConditionDirectoryNotEmpty=|/etc/tmpfiles.d -ConditionDirectoryNotEmpty=|/run/tmpfiles.d - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udev-trigger.service deleted file mode 100644 index 6b19c75d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/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 systemd-udev-settle.service -After=systemd-udevd-kernel.socket systemd-udevd-control.socket -Before=sysinit.target systemd-udev-settle.service -ConditionCapability=CAP_MKNOD - -[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-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service deleted file mode 100644 index 2c33ce53..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-udevd.service +++ /dev/null @@ -1,23 +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 -Before=sysinit.target -ConditionCapability=CAP_MKNOD - -[Service] -Type=notify -OOMScoreAdjust=-1000 -Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket -Restart=always -RestartSec=0 -ExecStart=/usr/lib/systemd/systemd-udevd diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/systemd-vconsole-setup.service deleted file mode 100644 index ce60c1bb..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/sysinit.target.wants/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-distro/data/usr/lib/systemd/system/syslog.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/syslog.socket deleted file mode 100644 index e6e9cf85..00000000 --- a/core/modules/systemd-distro/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=http://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 http://www.freedesktop.org/wiki/Software/systemd/syslog for details. diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/system-update.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/system-update.target deleted file mode 100644 index b6008c8f..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/system-update.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=System Update -Documentation=http://freedesktop.org/wiki/Software/systemd/SystemUpdates -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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-binfmt.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-binfmt.service deleted file mode 100644 index 897cf4e5..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-binfmt.service +++ /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=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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-halt.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-halt.service deleted file mode 100644 index a13d67c6..00000000 --- a/core/modules/systemd-distro/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 final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force halt diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-hibernate.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-hibernate.service deleted file mode 100644 index 7f19e48f..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/systemd-hybrid-sleep.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-hybrid-sleep.service deleted file mode 100644 index 7d627bfa..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/systemd-journald.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-journald.service deleted file mode 100644 index 77b4bfe9..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-journald.service +++ /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 Service -Documentation=man:systemd-journald.service(8) man:journald.conf(5) -DefaultDependencies=no -Requires=systemd-journald.socket -After=systemd-journald.socket syslog.socket -Before=sysinit.target - -[Service] -ExecStart=/usr/lib/systemd/systemd-journald -Restart=always -RestartSec=0 -NotifyAccess=all -StandardOutput=null -CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID - -# Increase the default a bit in order to allow many simultaneous -# services being run since we keep one fd open per service. -LimitNOFILE=16384 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-journald.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-journald.socket deleted file mode 100644 index 4f0619d2..00000000 --- a/core/modules/systemd-distro/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 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 -ListenDatagram=/dev/log -SocketMode=0666 -PassCredentials=yes -PassSecurity=yes -ReceiveBuffer=8M diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-logind.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-logind.service deleted file mode 100644 index 71971e44..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-logind.service +++ /dev/null @@ -1,23 +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=http://www.freedesktop.org/wiki/Software/systemd/multiseat -After= - -[Service] -ExecStart=/usr/lib/systemd/systemd-logind -Restart=always -RestartSec=0 -BusName=org.freedesktop.login1 -CapabilityBoundingSet=CAP_AUDIT_CONTROL CAP_CHOWN CAP_KILL CAP_DAC_READ_SEARCH CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_TTY_CONFIG - -# 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-distro/data/usr/lib/systemd/system/systemd-modules-load.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-modules-load.service deleted file mode 100644 index 3ff810f7..00000000 --- a/core/modules/systemd-distro/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 -After= -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 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-nspawn@.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-nspawn@.service deleted file mode 100644 index f9f9aa65..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-nspawn@.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=Container %i -Documentation=man:systemd-nspawn(1) - -[Service] -ExecStart=/usr/bin/systemd-nspawn -bjD /var/lib/container/%i -ControlGroup=%R/machine/%i.nspawn cpu:/ -Type=notify - -[Install] -Also=multi-user.target diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-poweroff.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-poweroff.service deleted file mode 100644 index eede0eab..00000000 --- a/core/modules/systemd-distro/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 final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force poweroff diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-reboot.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-reboot.service deleted file mode 100644 index b2d27c8e..00000000 --- a/core/modules/systemd-distro/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 final.target -After=shutdown.target final.target - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemctl --force reboot diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.service deleted file mode 100644 index 38c663de..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.service +++ /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=Delayed Shutdown Service -Documentation=man:systemd-shutdownd.service(8) -DefaultDependencies=no - -[Service] -ExecStart=/usr/lib/systemd/systemd-shutdownd -NotifyAccess=all diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.socket deleted file mode 100644 index 9421ce8a..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-shutdownd.socket +++ /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=Delayed Shutdown Socket -Documentation=man:systemd-shutdownd.service(8) -DefaultDependencies=no -Before=sockets.target - -[Socket] -ListenDatagram=/run/systemd/shutdownd -SocketMode=0600 -PassCredentials=yes -PassSecurity=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-suspend.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-suspend.service deleted file mode 100644 index 5d242edd..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/systemd-sysctl.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-sysctl.service deleted file mode 100644 index 46e2475e..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-sysctl.service +++ /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=Apply Kernel Variables -Documentation=man:systemd-sysctl.service(8) man:sysctl.d(5) -DefaultDependencies=no -Conflicts=shutdown.target -After= -Before=sysinit.target shutdown.target -ConditionPathIsReadWrite=/proc/sys/ -ConditionPathExists=|/etc/sysctl.conf -ConditionDirectoryNotEmpty=|/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/lib/sysctl.d -ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d -ConditionDirectoryNotEmpty=|/etc/sysctl.d -ConditionDirectoryNotEmpty=|/run/sysctl.d - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/lib/systemd/systemd-sysctl diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.service deleted file mode 100644 index da1ee1f8..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup-dev.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=Create static device nodes in /dev -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Before=sysinit.target systemd-udevd.service -ConditionCapability=CAP_MKNOD - -[Service] -Type=oneshot -ExecStart=/usr/bin/systemd-tmpfiles --prefix=/dev --create diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service deleted file mode 100644 index 9e1a5650..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-tmpfiles-setup.service +++ /dev/null @@ -1,23 +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=Recreate Volatile Files and Directories -Documentation=man:tmpfiles.d(5) man:systemd-tmpfiles(8) -DefaultDependencies=no -Wants= -After= -Before=sysinit.target shutdown.target -ConditionDirectoryNotEmpty=|/usr/lib/tmpfiles.d -ConditionDirectoryNotEmpty=|/usr/local/lib/tmpfiles.d -ConditionDirectoryNotEmpty=|/etc/tmpfiles.d -ConditionDirectoryNotEmpty=|/run/tmpfiles.d - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udev-settle.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udev-settle.service deleted file mode 100644 index 146c6499..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udev-settle.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. - -# 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 -ConditionCapability=CAP_MKNOD - -[Service] -Type=oneshot -TimeoutSec=180 -RemainAfterExit=yes -# Don't ask... -ExecStart=/opt/openslx/bin/usleep 100000 -ExecStart=/usr/bin/udevadm settle --timeout=3 -ExecStart=/opt/openslx/bin/usleep 20000 -ExecStart=/usr/bin/udevadm settle --timeout=3 -ExecStart=/opt/openslx/bin/usleep 20000 -ExecStart=/usr/bin/udevadm settle --timeout=3 diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udev-trigger.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udev-trigger.service deleted file mode 100644 index 6b19c75d..00000000 --- a/core/modules/systemd-distro/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 systemd-udev-settle.service -After=systemd-udevd-kernel.socket systemd-udevd-control.socket -Before=sysinit.target systemd-udev-settle.service -ConditionCapability=CAP_MKNOD - -[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-distro/data/usr/lib/systemd/system/systemd-udevd-control.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd-control.socket deleted file mode 100644 index ca17102d..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd-control.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 Control Socket -Documentation=man:systemd-udevd.service(8) man:udev(7) -DefaultDependencies=no -Before=sockets.target -ConditionCapability=CAP_MKNOD - -[Socket] -Service=systemd-udevd.service -ListenSequentialPacket=/run/udev/control -SocketMode=0600 -PassCredentials=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd-kernel.socket b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd-kernel.socket deleted file mode 100644 index 4b8a5b0f..00000000 --- a/core/modules/systemd-distro/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 -ConditionCapability=CAP_MKNOD - -[Socket] -Service=systemd-udevd.service -ReceiveBuffer=134217728 -ListenNetlink=kobject-uevent 1 -PassCredentials=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd.service deleted file mode 100644 index 2c33ce53..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-udevd.service +++ /dev/null @@ -1,23 +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 -Before=sysinit.target -ConditionCapability=CAP_MKNOD - -[Service] -Type=notify -OOMScoreAdjust=-1000 -Sockets=systemd-udevd-control.socket systemd-udevd-kernel.socket -Restart=always -RestartSec=0 -ExecStart=/usr/lib/systemd/systemd-udevd diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-user-sessions.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-user-sessions.service deleted file mode 100644 index 9226e3ea..00000000 --- a/core/modules/systemd-distro/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= - -[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-distro/data/usr/lib/systemd/system/systemd-vconsole-setup.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/systemd-vconsole-setup.service deleted file mode 100644 index ce60c1bb..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/systemd/system/time-sync.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/time-sync.target deleted file mode 100644 index 54078069..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/time-sync.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. - -# This exists mostly for compatibility with SysV/LSB units, and -# implementations lacking socket/bus activation. - -[Unit] -Description=System Time Synchronized -Documentation=man:systemd.special(7) -RefuseManualStart=yes diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/timers.target b/core/modules/systemd-distro/data/usr/lib/systemd/system/timers.target deleted file mode 100644 index 07fda3d9..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/timers.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=Timers -Documentation=man:systemd.special(7) diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/user@.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/user@.service deleted file mode 100644 index 876c28c9..00000000 --- a/core/modules/systemd-distro/data/usr/lib/systemd/system/user@.service +++ /dev/null @@ -1,23 +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 %u -After=systemd-user-sessions.service - -[Service] -User=%I -PAMName=systemd-shared -# in order to allow MEM_CG features to work, add "memory:/" here -ControlGroup=%R/user/%U.user/shared cpu:/ -ControlGroupModify=yes -Type=notify -ExecStart=-/usr/lib/systemd/systemd --user -Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/dbus/user_bus_socket - -[Install] -Alias=user@%i.service diff --git a/core/modules/systemd-distro/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules b/core/modules/systemd-distro/data/usr/lib/udev/rules.d/70-uaccess-floppy.rules deleted file mode 100644 index 113d288a..00000000 --- a/core/modules/systemd-distro/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-distro/data/usr/lib/udev/rules.d/99-systemd.rules b/core/modules/systemd-distro/data/usr/lib/udev/rules.d/99-systemd.rules deleted file mode 100644 index 99cdf676..00000000 --- a/core/modules/systemd-distro/data/usr/lib/udev/rules.d/99-systemd.rules +++ /dev/null @@ -1,56 +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=="net", KERNEL=="br0|eth*", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/$name", ENV{SYSTEMD_WANTS}="network-interface@$name.service" -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-distro/module.conf b/core/modules/systemd-distro/module.conf index 75160049..96bedf61 100644 --- a/core/modules/systemd-distro/module.conf +++ b/core/modules/systemd-distro/module.conf @@ -1,9 +1,4 @@ #!/bin/bash REQUIRED_DIRECTORIES=" - /etc - /usr -" -REQUIRED_SYSTEM_FILES=" - /usr/lib/tmpfiles.d - /etc/tmpfiles.d + / " |