Re: unowned directory problem with /etc/logrotate.d

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Enrico Scholz wrote:
j.w.r.degoede@xxxxxx (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.


3 is rather ugly IMHO, so I still vote for 2, yes we may need this for other dirs too, but those need to be discussed and then filed seperately free feel to start threads for these.

Regards,

Hans

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux