Bug#1056066: systemd: rsyslog fails to start if /dev/xconsole exists
Sven Joachim
svenjoac at gmx.de
Thu Nov 16 16:17:07 GMT 2023
Package: systemd
Version: 255~rc2-1
Severity: important
After upgrading systemd from 254.5-1 and rebooting, rsyslog failed to
start on my system. These messages appear in the journal:
,----
| Nov 16 16:58:10 localhost systemd[1]: Starting rsyslog.service - System Logging Service...
| Nov 16 16:58:10 localhost (rsyslogd)[674]: Failed to create destination mount point node '/run/systemd/mount-rootfs/dev/xconsole', ignoring: Read-only file system
| Nov 16 16:58:10 localhost (rsyslogd)[674]: Failed to mount /dev/xconsole to /run/systemd/mount-rootfs/dev/xconsole: No such file or directory
| Nov 16 16:58:10 localhost (rsyslogd)[674]: rsyslog.service: Failed to set up mount namespacing: /dev/xconsole: No such file or directory
| Nov 16 16:58:10 localhost systemd[1]: rsyslog.service: Main process exited, code=exited, status=226/NAMESPACE
| Nov 16 16:58:10 localhost systemd[1]: rsyslog.service: Failed with result 'exit-code'.
| Nov 16 16:58:10 localhost systemd[1]: Failed to start rsyslog.service - System Logging Service.
| Nov 16 16:58:10 localhost systemd[1]: rsyslog.service: Scheduled restart job, restart counter is at 1.
`----
This gets repeated a few times, and after five restart attempts systemd
gives up.
It should be noted that I have enabled forwarding messages to xconsole
according to the the "Logging to xconsole" section in
/usr/share/doc/rsyslog/README.Debian, and the problem is obviously in
the bind mount for /dev/xconsole. Removing /dev/xconsole so that the
"BindPaths=-/dev/xconsole" statement in rsyslog.service has no effect
lets rsyslog start, but recreates the problem of #1053913.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii libacl1 2.3.1-3
ii libapparmor1 3.0.12-1
ii libaudit1 1:3.1.1-1
ii libblkid1 2.39.2-6
ii libc6 2.37-12
ii libcap2 1:2.66-4
ii libcryptsetup12 2:2.6.1-5
ii libfdisk1 2.39.2-6
ii libgcrypt20 1.10.2-3
ii libkmod2 30+20230601-2
ii liblz4-1 1.9.4-1
ii liblzma5 5.4.4-0.1
ii libmount1 2.39.2-6
ii libpam0g 1.5.2-9.1
ii libseccomp2 2.5.4-2
ii libselinux1 3.5-1
ii libssl3 3.0.12-2
ii libsystemd-shared 255~rc2-1
ii libsystemd0 255~rc2-1
ii libzstd1 1.5.5+dfsg2-2
ii mount 2.39.2-6
ii systemd-dev 255~rc2-1
Versions of packages systemd recommends:
ii dbus [default-dbus-system-bus] 1.14.10-3
ii systemd-timesyncd [time-daemon] 255~rc2-1
Versions of packages systemd suggests:
ii libfido2-1 1.13.0-1+b1
ii libip4tc2 1.8.9-2
ii libp11-kit0 0.25.0-5
ii libqrencode4 4.1.1-1
pn libtss2-esys-3.0.2-0 <none>
pn libtss2-mu0 <none>
pn libtss2-rc0 <none>
ii polkitd 123-3
ii python3 3.11.4-5+b1
pn python3-pefile <none>
pn systemd-boot <none>
pn systemd-container <none>
pn systemd-homed <none>
pn systemd-resolved <none>
pn systemd-userdbd <none>
Versions of packages systemd is related to:
ii dbus-user-session 1.14.10-3
pn dracut <none>
ii initramfs-tools 0.142
ii libnss-systemd 255~rc2-1
ii libpam-systemd 255~rc2-1
ii udev 255~rc2-1
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list