Overriding logrotate files
Hi, I thought the whole idea behind the /usr/etc move was to let admins change the defaults without actually touching the distro defaults by using /etc/ For example I want to change the defaults for zypper logrotate but the only way to do is to change the distro default. How can I override the logrotate config files without overwriting the opensuse default files? Thanks
On 14.11.2021 01:35, Togan Muftuoglu wrote:
Hi,
I thought the whole idea behind the /usr/etc move was to let admins change the defaults without actually touching the distro defaults by using /etc/
It is up to each application to support it.
For example I want to change the defaults for zypper logrotate but the only way to do is to change the distro default.
How can I override the logrotate config files without overwriting the opensuse default files?
Patch logrotate to support /usr/etc and patch each package that provides logrotate configuration to install it into /usr/etc.
"Andrei" == Andrei Borzenkov
writes:
Andrei> On 14.11.2021 01:35, Togan Muftuoglu wrote:
Hi,
I thought the whole idea behind the /usr/etc move was to let admins change the defaults without actually touching the distro defaults by using /etc/
Andrei> It is up to each application to support it.
For example I want to change the defaults for zypper logrotate but the only way to do is to change the distro default.
How can I override the logrotate config files without overwriting the opensuse default files?
Andrei> Patch logrotate to support /usr/etc and patch each package that Andrei> provides logrotate configuration to install it into /usr/etc. Apparently it is already listed in the bugzilla but the last comment before mine was dated almost a year ago :( https://bugzilla.opensuse.org/show_bug.cgi?id=1173319
participants (2)
-
Andrei Borzenkov
-
Togan Muftuoglu