unowned directory problem with /etc/logrotate.d

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri Nov 24 10:47:30 UTC 2006


j.w.r.degoede at hhs.nl (Hans de Goede) writes:

> Many packages drop config files for logrotate in
> /etc/logrotate.d. without requiring logrotate, which is the owner of
> /etc/logrotate.d, thus potentially leading to an unowned
> /etc/logrotate.d for users who don't want logrotate and thus remove
> it.
>
> I see 2 solutions for this:

> 1) Add "Requires: logrotate" to all packages which put files in
>    /etc/logrotate.d. IMHO this is not good as the user should be
>    able to choose if he wants logrotate or not.
> 2) Add /etc/logrotate.d to the filesystem package, this is my preferred
>    solution.

or

3) package logrotate files in an own subpackage which has strict Requires:


I would tend to 2 or 3; but dirs like /etc/cron.d, /usr/share/aclocal
should be handled by 2 too.



Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20061124/e05f21f5/attachment.sig>


More information about the fedora-extras-list mailing list