From 87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:53 +0200 Subject: Adding debian version 255.4-1. Signed-off-by: Daniel Baumann --- debian/extra/units/getty-static.service | 10 ++++++++++ debian/extra/units/rc-local.service.d/debian.conf | 10 ++++++++++ debian/extra/units/systemd-localed.service.d/x11-keyboard.conf | 4 ++++ debian/extra/units/systemd-logind.service.d/dbus.conf | 9 +++++++++ .../units/systemd-udevd.service.d/syscall-architecture.conf | 7 +++++++ 5 files changed, 40 insertions(+) create mode 100644 debian/extra/units/getty-static.service create mode 100644 debian/extra/units/rc-local.service.d/debian.conf create mode 100644 debian/extra/units/systemd-localed.service.d/x11-keyboard.conf create mode 100644 debian/extra/units/systemd-logind.service.d/dbus.conf create mode 100644 debian/extra/units/systemd-udevd.service.d/syscall-architecture.conf (limited to 'debian/extra/units') 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= -- cgit v1.2.3