rsyslog trigger?

Robie Basak robie.basak at ubuntu.com
Wed Jul 20 14:00:41 UTC 2022


Hi Andreas,

On Wed, Jul 20, 2022 at 10:49:42AM -0300, Andreas Hasenack wrote:
> I was working on a few packages that had bugs related to rsyslog
> logging, and noticed that they don't seem to restart or reload rsyslog
> after they install a config snippet in /etc/rsyslog.d/*.conf.

I think it's bad/surprising behaviour to automatically end up in a state
where the actually running configuration doesn't match the configuration
in /etc. That would lead to user surprises and/or regressions on reboot
or on a further package upgrade (to rsyslog in this case).

> Would it make sense to use dpkg triggers to restart rsyslog everytime
> a file is updated in /etc/rsyslog.d/*.conf?

That sounds like the appropriate way to fix it to me.

Robie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20220720/142c095f/attachment.sig>


More information about the ubuntu-devel mailing list