On Thu, 27 Feb 2025 21:17:18 +0000
Andrew Bower <andrew@bower.uk> wrote:
How about biting the bullet and doing a dpkg-divert like orphan-sysvinit-scripts does?
well, then we need to conflict[1] with orphan-sysvinit-scripts, only
for this. Since runit in part uses sysvinit scripts I prefer not to..
[1] not sure what happens with two diversions on the same file, I
guess we get the link flipping from one target to another depending
on the configure order..
i confess i didn't know rsyslog background untill now... (read relative bug reports/salsa MR/etc.. even decade old rsyslog bugs..) i can now see what Andrew meant....
with all this background, and also reading the thread on init-diversity
list, i'd also be in favor in leaving situation as-is. can't suggest any better solution..
and to be honest, now that i know rsyslog situation, i'll probably try some alternative (eg. syslog-ng) and let it go...
p.s. devuan forks rsyslog package, would your salsa MR for rsyslog make
sense there? (can offer to forward MR to devuan maintainers if that would help devuan+runit people..)
p.s. devuan forks rsyslog package, would your salsa MR for rsyslog
make sense there? (can offer to forward MR to devuan maintainers
if that would help devuan+runit people..)
Sounds like moving the discussion to a bug on the Devuan BTS would
be a good idea. My preference would be to solve this in the fork
directly for runit or any other init rather than a drop-in.
Yeah but this pacakge has to work properly both in Debian and Devuan
(and other downstreams too) and I'm not sure how this could be
possible. Example:
*devuan could change the /lib/rsyslog code and add runit support, but
I still need the duplicate logrotate file for Debian (in this case
rsyslog gets HUP twice, and you still get spam in logs)
* devuan could change the logrotate file to work with fragments in
/lib/rsyslog but I still need need the duplicate logrotate file for
Debian (you only got spam in logs)
Overall fixing in Devuan only works if there is a reliable way to
identify a Devuan system in maintainerscript, so that I could make
the copying of the logrotate file a no-op in Devuan systems..
Hey,I have issues with the BTS too, I didn't get a mail for this bug in the
(sorry for a somewhat late reply.. wasn't receiving any bug
updates... tried subscribing to bug twice during last reply, but ...
nada...)
i confess i didn't know rsyslog background untill now... (read
relative bug reports/salsa MR/etc.. even decade old rsyslog bugs..) i
can now see what Andrew meant....
anyway,
with all this background, and also reading the thread on
init-diversity list, i'd also be in favor in leaving situation as-is.
can't suggest any better solution..
technically, logrotate still works as expected, just outputs annoying
error (spam) message without serious implications..
and to be honest, now that i know rsyslog situation, i'll probably
try some alternative (eg. syslog-ng) and let it go...
thanks for all the help/info, sorry for the puzzling bug.... plz feel
free to close.
d.
p.s. devuan forks rsyslog package, would your salsa MR for rsyslog
make sense there? (can offer to forward MR to devuan maintainers if
that would help devuan+runit people..)
p.s. devuan forks rsyslog package, would your salsa MR for rsyslog
make sense there? (can offer to forward MR to devuan maintainers if
that would help devuan+runit people..)
Sounds like moving the discussion to a bug on the Devuan BTS would be
a good idea. My preference would be to solve this in the fork
directly for runit or any other init rather than a drop-in.
Overall fixing in Devuan only works if there is a reliable way to
identify a Devuan system in maintainerscript, so that I could make
the copying of the logrotate file a no-op in Devuan systems..
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 480 |
Nodes: | 16 (2 / 14) |
Uptime: | 247:41:58 |
Calls: | 9,532 |
Files: | 13,650 |
Messages: | 6,137,784 |