systemd/debian/systemd.links
Michael Biebl b6be32c547 Drop alias for rc.local and urandom as well
Also re-add mask for /etc/init.d/{rc,rcS}, they are not masked by
initscripts as strictly speaking those are no SysV init scripts.

Follow-up for the previous commit.

Gbp-Dch: Ignore
2019-11-09 17:06:38 +01:00

33 lines
1.3 KiB
Plaintext

# These are all services which have native implementations
# So we mask them by linking against /dev/null or create an alias
/lib/systemd/system/systemd-sysctl.service /lib/systemd/system/procps.service
/lib/systemd/system/systemd-modules-load.service /lib/systemd/system/kmod.service
/etc/modules /etc/modules-load.d/modules.conf
# X server and ICE socket directories are created by /usr/lib/tmpfiles.d/x11.conf
/dev/null /lib/systemd/system/x11-common.service
# Don't set the hwclock, as the kernel does that on its own when using NTP
# Without NTP, we shouldn't store the time either
# https://github.com/systemd/systemd/commit/da2617378523e007ec0c6efe99d0cebb2be994e1
/dev/null /lib/systemd/system/hwclock.service
# We use the built-in cryptsetup support
/dev/null /lib/systemd/system/cryptdisks.service
/dev/null /lib/systemd/system/cryptdisks-early.service
# Those services are useless under systemd. Mask them so they can't
# be run manually by accident.
/dev/null /lib/systemd/system/rc.service
/dev/null /lib/systemd/system/rcS.service
# Enable Debian specific units
/lib/systemd/system/getty-static.service /lib/systemd/system/getty.target.wants/getty-static.service
# Compat symlink
/lib/systemd/systemd /bin/systemd
# Create a compat symlink as systemd-sysctl no longer reads /etc/sysctl.conf
/etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf