On Tue, Dec 09, 2025 at 08:41:57AM -0300, altoid via Dng wrote:
> On 9 Dec 2025 at 11:10, Kevin Chadwick via Dng wrote:
>
> > ... running runit so I've done apt install socklog and saved 1 megabyte ...
> Interesting.
>
> What ...
> No AI? 8^D !!!!
>
> On a more serious note:
>
> I there a way to seamlessly (or without much ado) replace [rysylog]
> with [socklog] on a Daedalus box with good old [sysvinit]?
Yes.
socklog is designed to use runit's companion logger, svlogd, so it is
structured to run as a runit service, but with the 'runit-run' package
you can have a secondary supervision tree using runit (spawned from
inittab) and it works just fine.
Here is how to do it (not tested on Daedalus):
apt-get install socklog-run runit-run
update-service --add socklog-unix
update-service --add socklog-klog
With runit as init (runit-init), you do not need to add the services
manually but with runit-run it must be assumed than any installed
service is already managed by another init - socklog is exceptional in
that it isn't [1].
Note that the logs show up as /var/log/runit/socklog/*/current - each
log type has its own directory and log rotation happends within that.
[1]
https://bugs.debian.org/1112379