diverting the diversion (serious question)

Matthew Vernon matthew at debian.org
Tue Mar 4 11:25:05 GMT 2025


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.

Regards,

Matthew



More information about the Debian-init-diversity mailing list