On 16/02/2023 20:43, Michael Biebl wrote:
I don't plan to re-add this (btw, this would break if orphan-sysvinit-scripts is not installed).
A check for the presence of the init script would not be hard (and I'd happily write it and volunteer to fix any issues with it).
I'll add a note to README.Debian to the logrotate section though, what users of non-default inits need to consider.
Can I urge you to reconsider, please? Unless I'm missing something there isn't a way for this to work without /usr/lib/rsyslog/rsyslog-rotate doing the "rotate" of rsyslog, since that's what /etc/logrotate.d/rsyslog calls in its postrotate.
The only way this can plausibly work is if rsyslog-rotate does the rotation, and that means there has to be _some_ "else" clause in rsyslog-rotate.
I'm happy to offer patches to your spec, but I really do think the rsyslog package has to do a smidge of enabling work here.
Regards, Matthew

