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

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



Nicolas Mailhot wrote:
Le Ven 24 novembre 2006 11:15, Hans de Goede a écrit :
Hi all,

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.

3. add Requires: /etc/logrotate.d to /etc/logrotate.d users


Which effectivly boils down to 1) except that it causes yum to take an extra 5-10 minutes to download file lists for all enabled repos.
(on a 1 mbit link) file based dependencies usually are not the answer!

Regards,

Hans



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