Your message dated Tue, 22 Dec 2020 18:03:22 +0000
with message-id <[email protected]>
and subject line Bug#964006: fixed in elogind 246.9.1-1+debian1
has caused the Debian Bug report #964006,
regarding elogind: writes to kernel log
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
964006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964006
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: elogind
Version: 243.7-1+debian1
Severity: normal
elogind pretends it’s the kernel. It must log to syslog instead.
If it uses systemd’s logging framework, the attached patch might help.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500,
'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1,
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.6.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages elogind depends on:
ii dbus 1.12.18-1
ii debconf 1.5.74
ii libacl1 2.2.53-8
ii libc6 2.30-8
ii libcap2 1:2.36-1
ii libelogind0 243.7-1+debian1
ii libselinux1 3.0-1+b3
ii libudev1 245.6-1
ii lsb-base 11.1.0
Versions of packages elogind recommends:
ii libpam-elogind 243.7-1+debian1
ii policykit-1 0.105-26
elogind suggests no packages.
-- Configuration Files:
/etc/elogind/logind.conf changed:
[Login]
HandlePowerKey=poweroff
HandleLidSwitch=lock
HandleLidSwitchExternalPower=lock
HandleLidSwitchDocked=lock
RemoveIPC=no
[Sleep]
-- no debconf information
diff -Nru systemd-241/debian/changelog systemd-241/debian/changelog
--- systemd-241/debian/changelog 2019-05-24 22:58:59.000000000 +0200
+++ systemd-241/debian/changelog 2019-05-29 15:10:29.000000000 +0200
@@ -1,3 +1,9 @@
+systemd (241-5tarent1) wtf; urgency=low
+
+ * Add patch to prefer syslog over kmsg for auto logging. (Closes: #923559)
+
+ -- Thorsten Glaser <[email protected]> Wed, 29 May 2019 15:10:29 +0200
+
systemd (241-5) unstable; urgency=medium
* Revert "Add check to switch VTs only between K_XLATE or K_UNICODE"
diff -Nru
systemd-241/debian/patches/debian/Use-syslog-for-AUTO-logging-before-klog.patch
systemd-241/debian/patches/debian/Use-syslog-for-AUTO-logging-before-klog.patch
---
systemd-241/debian/patches/debian/Use-syslog-for-AUTO-logging-before-klog.patch
1970-01-01 01:00:00.000000000 +0100
+++
systemd-241/debian/patches/debian/Use-syslog-for-AUTO-logging-before-klog.patch
2019-05-29 15:07:36.000000000 +0200
@@ -0,0 +1,32 @@
+# DP: make LOG_TARGET_AUTO fall back to syslog before kernel message buffer
+# DP: fixes #923559
+
+--- a/src/basic/log.c
++++ b/src/basic/log.c
+@@ -257,6 +257,7 @@ int log_open(void) {
+
+ if (!prohibit_ipc &&
+ IN_SET(log_target, LOG_TARGET_SYSLOG_OR_KMSG,
++ LOG_TARGET_AUTO,
+ LOG_TARGET_SYSLOG)) {
+ r = log_open_syslog();
+ if (r >= 0) {
+@@ -603,6 +604,7 @@ int log_dispatch_internal(
+ }
+
+ if (IN_SET(log_target, LOG_TARGET_SYSLOG_OR_KMSG,
++ LOG_TARGET_AUTO,
+ LOG_TARGET_SYSLOG)) {
+
+ k = write_to_syslog(level, error, file, line, func,
buffer);
+--- a/src/basic/log.h
++++ b/src/basic/log.h
+@@ -30,7 +30,7 @@ typedef enum LogTarget{
+ LOG_TARGET_JOURNAL_OR_KMSG,
+ LOG_TARGET_SYSLOG,
+ LOG_TARGET_SYSLOG_OR_KMSG,
+- LOG_TARGET_AUTO, /* console if stderr is tty, JOURNAL_OR_KMSG
otherwise */
++ LOG_TARGET_AUTO, /* console if stderr is tty, journal or syslog or
kmsg otherwise */
+ LOG_TARGET_NULL,
+ _LOG_TARGET_MAX,
+ _LOG_TARGET_INVALID = -1
diff -Nru systemd-241/debian/patches/series systemd-241/debian/patches/series
--- systemd-241/debian/patches/series 2019-05-24 22:58:59.000000000 +0200
+++ systemd-241/debian/patches/series 2019-05-29 15:07:36.000000000 +0200
@@ -35,3 +35,4 @@
debian/Let-graphical-session-pre.target-be-manually-started.patch
debian/Add-env-variable-for-machine-ID-path.patch
debian/Drop-seccomp-system-call-filter-for-udev.patch
+debian/Use-syslog-for-AUTO-logging-before-klog.patch
--- End Message ---
--- Begin Message ---
Source: elogind
Source-Version: 246.9.1-1+debian1
Done: Mark Hindley <[email protected]>
We believe that the bug you reported is fixed in the latest version of
elogind, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mark Hindley <[email protected]> (supplier of updated elogind package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 22 Dec 2020 16:53:57 +0000
Source: elogind
Architecture: source
Version: 246.9.1-1+debian1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ecosystem Init Diversity Team
<[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 964006
Changes:
elogind (246.9.1-1+debian1) unstable; urgency=medium
.
* New upstream version 246.9.1
+ Log to syslog rather than kernel log (Closes: #964006).
* d/changelog: fix typo in previous entry.
Checksums-Sha1:
a3c951dfbf5c21599e0e9d757b51f52285e8d88d 2674 elogind_246.9.1-1+debian1.dsc
a2a7954f84f2d129c23f4d0c599e776934830ce0 1534991 elogind_246.9.1.orig.tar.gz
3f018825ebbc1f9c414bcc1b7a622c0d5279a58f 8652
elogind_246.9.1-1+debian1.debian.tar.xz
66ca59c137ce9e835ffb66611ce2bd44e663ff1e 7444
elogind_246.9.1-1+debian1_source.buildinfo
Checksums-Sha256:
d7aeab061e9df35dffd8fa6e7b9f43d8395b97aafe4416cc56525f2fbfd51b8e 2674
elogind_246.9.1-1+debian1.dsc
13afcc58f71c4804b682532cd055819493411c33c814b1b3707e55e857582651 1534991
elogind_246.9.1.orig.tar.gz
a98d304982a3257c699ece2324113bd0f29ed9a4ca73fd3f69eccf680a35a229 8652
elogind_246.9.1-1+debian1.debian.tar.xz
a785c46d19d64795919848636351d8dbd76c10d22e02bf3ab64ae4243413c283 7444
elogind_246.9.1-1+debian1_source.buildinfo
Files:
7773414a8b6a11890f6ee34786e3e087 2674 admin optional
elogind_246.9.1-1+debian1.dsc
d9fdee3692990afadcd8c8764e440fa0 1534991 admin optional
elogind_246.9.1.orig.tar.gz
8d20b192db233b4c60ff494085ea20db 8652 admin optional
elogind_246.9.1-1+debian1.debian.tar.xz
c6586b394cbff005e34c86cb2f148653 7444 admin optional
elogind_246.9.1-1+debian1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl/iMBAACgkQweDZLphv
fH7MmhAAw+MGXY4ptw+g7tXqou/oxfXGzEMjdNfJEzYvweuVEsRQ2zWRIutpw3Bd
fN4VhFhi6KCSHcuSGcBAUkY6ArixJ7WoHmDT5gzyYrMhm3aQTNjiQB9LSbBTyt9j
2ojwbJ4tFWAKjCCvpMF0EzaiG20UsGyC2AWxQGvhusx7aomx08Ah0+xB8FIiAORF
NKoMaXIlH8q+izJfPiZGiPffSQ3gV1rDhwn4q04k37Z8E3a5w/nLroGchMYW15Bz
K7TxZm0szUBCRSM0STuV9eLnZ6Ft1x+G2m4E7jnvr9Y+1VCHX/oHEk/CU8++3y6D
hbbLD2t5t2Tune5tB7F1TQU3e8HM2mdgrgCA55it4AOlRuWDt/7ZAyh40kBolknZ
b3u+ElAEhBp8SAC5pEvYtCGmXhJTKXPYH+lnJkIEdJPmGiZ+PCEAtC8zBbOMaViG
CsyZQWlq1VeMRWqhh49+PAS7yh5MmT1zmKcGcENo1gShJsG1MQGTk2555/Dpz2Ju
3E9JvXMU5WeWPpqtez0aDNoF3qywneuIV2Bw9CLwwzSuN4ljX7nzOh1bvy66/0Dg
7F6OKa1sUbTRcX6MvOU/nq2pEQzTob98lfY2QrXxBFmGu7W0RA5L84cYAV6f4Bzs
ijJvxZ+iDxhE7nvY9xDAfNsNedcfB4DR3yFHG4YG419ZHbeDccM=
=HPG3
-----END PGP SIGNATURE-----
--- End Message ---