summaryrefslogtreecommitdiffstats
path: root/debian/extra/units
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/extra/units
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 'debian/extra/units')
-rw-r--r--debian/extra/units/getty-static.service10
-rw-r--r--debian/extra/units/rc-local.service.d/debian.conf10
-rw-r--r--debian/extra/units/systemd-localed.service.d/x11-keyboard.conf4
-rw-r--r--debian/extra/units/systemd-logind.service.d/dbus.conf9
-rw-r--r--debian/extra/units/systemd-udevd.service.d/syscall-architecture.conf7
5 files changed, 40 insertions, 0 deletions
diff --git a/debian/extra/units/getty-static.service b/debian/extra/units/getty-static.service
new file mode 100644
index 0000000..25c5c72
--- /dev/null
+++ b/debian/extra/units/getty-static.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=getty on tty2-tty6 if dbus and logind are not available
+ConditionPathExists=/dev/tty0
+ConditionPathExists=!/usr/bin/dbus-daemon
+ConditionPathExists=!/usr/bin/dbus-broker
+
+[Service]
+Type=oneshot
+ExecStart=systemctl --no-block start getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service
+RemainAfterExit=true
diff --git a/debian/extra/units/rc-local.service.d/debian.conf b/debian/extra/units/rc-local.service.d/debian.conf
new file mode 100644
index 0000000..ec77220
--- /dev/null
+++ b/debian/extra/units/rc-local.service.d/debian.conf
@@ -0,0 +1,10 @@
+[Unit]
+# not specified by LSB, but has been behaving that way in Debian under SysV
+# init and upstart
+After=network-online.target
+
+# Often contains status messages which users expect to see on the console
+# during boot
+[Service]
+StandardOutput=journal+console
+StandardError=journal+console
diff --git a/debian/extra/units/systemd-localed.service.d/x11-keyboard.conf b/debian/extra/units/systemd-localed.service.d/x11-keyboard.conf
new file mode 100644
index 0000000..7c7f91f
--- /dev/null
+++ b/debian/extra/units/systemd-localed.service.d/x11-keyboard.conf
@@ -0,0 +1,4 @@
+[Service]
+# systemd-localed will try to write to /etc/X11/xorg.conf.d/00-keyboard.conf
+# if it can, but we don't use it. Make the path read-only so that it skips it.
+ReadOnlyPaths=-/etc/X11/xorg.conf.d/
diff --git a/debian/extra/units/systemd-logind.service.d/dbus.conf b/debian/extra/units/systemd-logind.service.d/dbus.conf
new file mode 100644
index 0000000..bd78263
--- /dev/null
+++ b/debian/extra/units/systemd-logind.service.d/dbus.conf
@@ -0,0 +1,9 @@
+# logind fails to start in minimal environments without dbus, such as LXC
+# containers or servers. Add a startup condition to avoid the very noisy
+# startup failure.
+# Consider both dbus-daemon (the reference implementation) and dbus-broker.
+# See https://bugs.debian.org/772700
+
+[Unit]
+ConditionPathExists=|/usr/bin/dbus-daemon
+ConditionPathExists=|/usr/bin/dbus-broker
diff --git a/debian/extra/units/systemd-udevd.service.d/syscall-architecture.conf b/debian/extra/units/systemd-udevd.service.d/syscall-architecture.conf
new file mode 100644
index 0000000..0395c2d
--- /dev/null
+++ b/debian/extra/units/systemd-udevd.service.d/syscall-architecture.conf
@@ -0,0 +1,7 @@
+# We can't really control what helper programs are run from other udev
+# rules. E.g. running i386 binaries under amd64 is a valid use case and
+# should not trigger a SIGSYS failure.
+# https://bugs.debian.org/869719
+
+[Service]
+SystemCallArchitectures=