Bug#1065638: systemd-journald: systemd-journald restart misses SyslogFacility

Kai Palomaki armando.vamos at gmail.com
Thu Mar 7 19:25:11 GMT 2024


Package: systemd
Version: 247.3-7+deb11u4
Severity: normal
X-Debbugs-Cc: armando.vamos at gmail.com

Dear Maintainer,

   * What led up to the situation?
   A systemd service unit "test" has SyslogFacility=local0 set. Service is running and logging lines.
   Log lines have SYSLOG_FACILITY=16 when observed with journalctl -o verbose.
   Restart journald. After restart of journald, log lines have no more SYSLOG_FACILITY=16.
   To restore SYSLOG_FACILITY=16 in journal logs, one has to restart service unit "test".

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   systemctl restart systemd-journald.service

   * What was the outcome of this action?
   journald did not record the SyslogFacility set in the service unit file.

   * What outcome did you expect instead?
   journald should continue recording SyslogFacility set in the service unit file without needing to restart the service having the SyslogFacility set.


-- Package-specific info:

-- System Information:
Debian Release: 11.8
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-26-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages systemd depends on:
ii  adduser          3.118+deb11u1
ii  libacl1          2.2.53-10
ii  libapparmor1     2.13.6-10
ii  libaudit1        1:3.0-2
ii  libblkid1        2.36.1-8+deb11u1
ii  libc6            2.31-13+deb11u7
ii  libcap2          1:2.44-1
ii  libcrypt1        1:4.4.18-4
ii  libcryptsetup12  2:2.3.7-1+deb11u1
ii  libgcrypt20      1.8.7-6
ii  libgnutls30      3.7.1-5+deb11u3
ii  libgpg-error0    1.38-2
ii  libip4tc2        1.8.7-1
ii  libkmod2         28-1
ii  liblz4-1         1.9.3-2
ii  liblzma5         5.2.5-2.1~deb11u1
ii  libmount1        2.36.1-8+deb11u1
ii  libpam0g         1.4.0-9+deb11u1
ii  libseccomp2      2.5.1-1+deb11u1
ii  libselinux1      3.1-3
ii  libsystemd0      247.3-7+deb11u4
ii  libzstd1         1.4.8+dfsg-2.1
ii  mount            2.36.1-8+deb11u1
ii  util-linux       2.36.1-8+deb11u1

Versions of packages systemd recommends:
ii  dbus               1.12.28-0+deb11u1
ii  ntp [time-daemon]  1:4.2.8p15+dfsg-1

Versions of packages systemd suggests:
ii  policykit-1        0.105-31+deb11u1
pn  systemd-container  <none>

Versions of packages systemd is related to:
pn  dracut           <none>
ii  initramfs-tools  0.140
ii  libnss-systemd   247.3-7+deb11u4
ii  libpam-systemd   247.3-7+deb11u4
ii  udev             247.3-7+deb11u4

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list