summaryrefslogtreecommitdiffstats
path: root/debian/systemd.links
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:49:53 +0000
commit87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68 (patch)
tree263fc56d7d40512aaa09193905008a3f4e3b0018 /debian/systemd.links
parentAdding upstream version 255.4. (diff)
downloadsystemd-87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68.tar.xz
systemd-87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68.zip
Adding debian version 255.4-1.debian/255.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/systemd.links27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/systemd.links b/debian/systemd.links
new file mode 100644
index 0000000..234a097
--- /dev/null
+++ b/debian/systemd.links
@@ -0,0 +1,27 @@
+# These are all services which have native implementations
+# So we mask them by linking against /dev/null or create an alias
+/usr/lib/systemd/system/systemd-sysctl.service /usr/lib/systemd/system/procps.service
+
+/usr/lib/systemd/system/systemd-modules-load.service /usr/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 /usr/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 /usr/lib/systemd/system/hwclock.service
+
+# We use the built-in cryptsetup support
+/dev/null /usr/lib/systemd/system/cryptdisks.service
+/dev/null /usr/lib/systemd/system/cryptdisks-early.service
+
+# Enable Debian specific units
+/usr/lib/systemd/system/getty-static.service /usr/lib/systemd/system/getty.target.wants/getty-static.service
+
+# Compat symlink
+/usr/lib/systemd/systemd /usr/bin/systemd
+
+# Create a compat symlink as systemd-sysctl no longer reads /etc/sysctl.conf
+/etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf