On Sun, 29 Jan 2006 13:51:25 -0800
Donnie Berkholz <[EMAIL PROTECTED]> wrote:

> Thomas de Grenier de Latour wrote:
> > Or again another one (a bit ugly imho tho): merge the files in
> > an "/etc/logrotate.d.dist" directory, and add an eselect module
> > to handle symlinks from "/etc/logrotate.d".
> 
> What's ugly about this? I like it.
> 

What i fear could be a bit ugly is transition of existing systems
from the current setup (logrotate.d/files) to the eselect setup 
(logrotate.d/symlinks -> logrotate.d.dist/files). I don't really see
how to automate that since it would require being able to make
distinction beetween packages' files and users' files (to move the
first ones but not the second ones), and i don't really like the
idea to do that kind of nasty tricks in some pkg_*inst function or
alike. That, and also the fast transition on ebuilds side would
somehow need to happen all at the same time so that no ebuild
continue to put real files in logrotate.d once a system is on an
select setup.
It would be interesting to know how that happened for in the past
for /etc/bash_completion.d, which made a similar move iirc
(although real files went to /usr/share/something, whereas here i
would rather see them in etc because they are more likely to be
customized). 

--
TGL
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to