Hi Andrew,

On Sat, 29 Nov 2025 13:51:33 +0000 Andrew Bower <[email protected]> wrote:
> Package: runit
> Version: 2.2.0-6
> Severity: wishlist
> Tags: patch
> X-Debbugs-Cc: [email protected]
> 
> Hi Lorenzo,
> 
> The default-syslog virtual service does not know about the
> forthcoming metalog package[1].

default-syslog is scheduled for removal, although not in the next Debian
version of runit.

> I suggest a patch along the lines of
> the attached to prepare for this implementation of syslog joining
> debian.

I can add 'metalog-log' [*] for now; if I add 'metalog' it won't work
when this is removed.
I intend to remove default-syslog in this cycle, just after renaming
other syslogs services; given that renaming a service in runit is non
trivial extra work I think is better to get the name right from the
start.

Best,
Lorenzo

[*]or metalog.log if that's looks less ugly, the format of the 'log'
suffix is open for changes until other services are renamed.
Constrains are that it has to work with 
'sv start|check /etc/service/*.log'
and it has to be unique enough that there are no false matches

Best,
Lorenzo

> 
> Thanks!
> 
> Andrew
> 
> [1] ITP #1109152 https://bugs.debian.org/1109152
> 
> 
> -- System Information:
> Debian Release: forky/sid
>   APT prefers experimental
>   APT policy: (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 6.17.8+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash
> Init: runit (via /run/runit.stopit)
> LSM: AppArmor: enabled
> 
> Versions of packages runit depends on:
> ii  libc6           2.41-12
> ii  runit-helper    2.16.4
> ii  sysuser-helper  1.6.0
> 
> Versions of packages runit recommends:
> ii  runit-init  2.2.0-6
> 
> Versions of packages runit suggests:
> ii  runit-services  0.10.0
> ii  socklog         2.1.1+repack-1
> pn  ucspi-unix      <none>
> ii  xchpst          0.8.0~git20251026.d185632-1~ajb1
> ii  zsh             5.9-8+b14
> 
> -- Configuration Files:
> /etc/sv/default-syslog/check changed:
> socklog-check && exit 0
> unixclient /dev/log /bin/true 2>&1 | grep -q '^connect: Protocol
> wrong type for socket' && exit 0 fuser /dev/log >/dev/null
> 2>/dev/null && exit 0 # psmisc is not essential+not available on Hurd
> 2>for service in rsyslog socklog-unix syslog-ng metalog
> 2>busybox-syslogd inetutils-syslogd ; do
>       sv u $service && sv check $service && exit 0
> done
> exit 1
> 
> 
> -- no debconf information

Reply via email to