diverting the diversion (serious question)

Lorenzo plorenzo at disroot.org
Tue Mar 4 22:12:02 GMT 2025



On Tue, 4 Mar 2025 11:25:05 +0000
Matthew Vernon <matthew at debian.org> wrote:

> Hi,
> 
> On 03/03/2025 23:41, Lorenzo wrote:
> 
> > not a theoretical question: I have the same issue with logrotate and
> > rsyslogd as there was in o-s-s[1], but o-s-s already diverts the
> > file in /usr/lib/rsyslog so I was wondering if runit-services and
> > o-s-s could cooperate by agree to use an identical version of the
> > diverted file..
> > (I would really like to fix this without imposing a dependency nor a
> > conflict between o-s-s and runit-services)
> 
> As Thorsten says, you can't have multiple packages diverting the same 
> file (without them conflicting); the usual way for managing lots of 
> packages wanting to have the same file in place is to use
> alternatives, but I don't see the rsyslog maintainers wanting to
> participate (and without their doing so, it wouldn't work).
> 
>  From an o-s-s point of view, I'd be happy to modify the version of 
> rsyslog-rotate to make it work for runit-services as well, although
> you would then need to Suggests: or Recommends: o-s-s from
> runit-services.

Matthew, thanks for your offer; however, giving how bad is the bug on
rsyslogd if it does not get HUP on log rotation (probably RC) , I think
runit-services would need a Depends: o-s-s and as already mentioned I
prefer not to.
For now I'm going to keep the imperfect fix that is already deployed
in runit-services..

Thanks again,
Lorenzo

> 
> Regards,
> 
> Matthew
> 




More information about the Debian-init-diversity mailing list