Your message dated Tue, 03 Mar 2026 13:22:34 +0000
with message-id <[email protected]>
and subject line Bug#1128585: fixed in socklog 2.1.2+repack-2
has caused the Debian Bug report #1128585,
regarding socklog-run: under systemd, listen to journald proxy instead of 
/dev/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.)


-- 
1128585: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128585
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: socklog-run
Version: 2.1.0+repack-6
Severity: normal
Tags: patch

Dear Maintainer,

When run under systemd and runit-run, the socklog-unix service listens
to /dev/log, which means that syslog traffic is stolen from journald and
any logs made to journald directly (possibly quite important to see if
they have been registered directly by systemd) do not appear in socklog
logs.

This can be fixed quite easily by listening to journald's syslog proxy
socket when it is running. See patch below for a tested solution.

To test:

  # printf "MESSAGE=hello123\n" | logger --journald

On sucessful test:

  # tail /var/log/runit/socklog/user/current              
  2026-02-21_15:38:12.61211 user.info: Feb 21 15:38:12 logger[7649]: hello123

Thanks!

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.57+deb13-cloud-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 socklog-run depends on:
ii  runit                       2.2.0-3
ii  runit-helper                2.16.4
ii  socklog                     2.1.0+repack-6
ii  systemd [systemd-sysusers]  257.9-1~deb13u1

Versions of packages socklog-run recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20220412cvs-1.1
ii  ipsvd              1.0.0-12

socklog-run suggests no packages.


diff --git a/debian/service/socklog-unix/run b/debian/service/socklog-unix/run
index d98e29d..b3e8a66 100755
--- a/debian/service/socklog-unix/run
+++ b/debian/service/socklog-unix/run
@@ -1,3 +1,8 @@
 #!/bin/sh
 exec 2>&1
-exec chpst -U _socklog-unix socklog unix /dev/log
+
+if [ "$(readlink /dev/log)" = "/run/systemd/journal/dev-log" ]; then
+  socket=/run/systemd/journal/syslog
+fi
+
+exec chpst -U _socklog-unix socklog unix "${socket:-/dev/log}"
#!/bin/sh
exec 2>&1

if [ "$(readlink /dev/log)" = "/run/systemd/journal/dev-log" ]; then
  socket=/run/systemd/journal/syslog
fi

exec chpst -U _socklog-unix socklog unix "${socket:-/dev/log}"

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: socklog
Source-Version: 2.1.2+repack-2
Done: Lorenzo Puliti <[email protected]>

We believe that the bug you reported is fixed in the latest version of
socklog, 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.
Lorenzo Puliti <[email protected]> (supplier of updated socklog 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, 03 Mar 2026 13:16:07 +0100
Source: socklog
Architecture: source
Version: 2.1.2+repack-2
Distribution: unstable
Urgency: medium
Maintainer: Mathieu Mirmont <[email protected]>
Changed-By: Lorenzo Puliti <[email protected]>
Closes: 1128585
Changes:
 socklog (2.1.2+repack-2) unstable; urgency=medium
 .
   * socklog-unix: listen to journald socket when run under systemd.
     Thanks to Andrew Bower (Closes: #1128585)
   * d/copyright: update years to 2026
   * d/control: bump S-V to 4.7.3, drop Priority: optional
   * d/watch: update to version 5
Checksums-Sha1:
 759ae5ff4ba6bc776cadaf9dbce0e824abb15a11 2062 socklog_2.1.2+repack-2.dsc
 e82908edaeee22385c8a9d064d39f94a4946a244 11500 
socklog_2.1.2+repack-2.debian.tar.xz
 31d25dfa6380534e6d35c87dffab8c01b67df065 6499 
socklog_2.1.2+repack-2_amd64.buildinfo
Checksums-Sha256:
 9773d79e9bf814e7098d4edabe227e94732a37519db10943908d2217056a82d8 2062 
socklog_2.1.2+repack-2.dsc
 b88b564e759ef078626caec52492a47f9e81f7eba8795dd2d64e3fafcd4dc919 11500 
socklog_2.1.2+repack-2.debian.tar.xz
 f92c07affaeda82276ad5000f2e3b967cf5babdb6890e3c1c3efae969e325fa3 6499 
socklog_2.1.2+repack-2_amd64.buildinfo
Files:
 6fc8356eccd3eae43af212350ebc461c 2062 admin optional socklog_2.1.2+repack-2.dsc
 1ca9308fe5a0fa66f4c89dc929b9bb9f 11500 admin optional 
socklog_2.1.2+repack-2.debian.tar.xz
 a6af5dfa15f62eb585b4af593e999e4b 6499 admin optional 
socklog_2.1.2+repack-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE2ji91PGnrxOd1bVNxxYb07RU7gMFAmmm2fMACgkQxxYb07RU
7gN7iBAAgIyRw2S1XVTrbUo4p3+J6T6xJFEi/H25aunGhBtEO7VE2QBk6f+4Egwc
uXEDjepQYsSNQ2BFaQPyD6cBN+c9WN878VkAEUldHXOja43zCE2AaLxZAOMZudkA
MlUkGvimOM1ACs7vlZDDt8I3JiYkJERJSSi+ywyDJweohGdBg3PI9m+jmkOaAXns
legN0cg90FG9dJHtcptYiINzdO46a1/DqvS8eI2MbndsiTKUh9f2U8hNVjYA08fk
seDO5e94WNx7oIODr6p7ouUHoMAlFu+VHGEdcr/KzJUknL0R/i3Uap7H9aptHG/E
3SkZH4IGSsrwg3trPC5infB/mQlB8F4RKju4jweTJDHJw96U1+1/dOB1yYsNPW6h
GvJzfIXIvMHln6Xd8Vzo29jxpBQaWSA/LkUIvIW2pQ+daiju+dx/37vKRzE3KxaT
bG8KIePPgFLJuWi8BQnvwsCciPmLcaqxhudUh4JGLN1lLp9KXqPDhMcC/hegTlNJ
pUJcuh6OW/t6MXZwNwUCwu8zWPiovoVD6igdbYgk0OMfPcL3qXXLc1Dz7ieuHv3h
r3FZ/tB8rJ1pO44gooZnP/887mc4Gk3jffAxp439/J7RCcvlRkNJ3WvAI3xRt55k
ycCDRJ/e/fhNjTOMXHwPUu74Cj0KO6RK0YhrU18bwBkmSXwgQ3k=
=qXNH
-----END PGP SIGNATURE-----

Attachment: pgprPGdEXuIHG.pgp
Description: PGP signature


--- End Message ---

Reply via email to