unowned directory problem with /etc/logrotate.d

Garrick Staples garrick at usc.edu
Sat Nov 25 02:38:35 UTC 2006


On Fri, Nov 24, 2006 at 07:25:52PM -0600, Rex Dieter alleged:
> 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
> 
> That's not really all that different than 1.
> 
> For now, imo, the only viable alternative is 1.  Requires: logrotate

4. Split logrotate to have a filesystem subpackage that just owns the
directories and have everything Require: logrotate-filesystem.

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20061124/89083dba/attachment.sig>


More information about the fedora-extras-list mailing list