On Thursday 28 April 2005 23:24, Ciaran McCreesh wrote: > On Thu, 28 Apr 2005 10:41:58 +0100 Edward Catmur <[EMAIL PROTECTED]> > > wrote: > | On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote: > | > Is this a feature or a bug? It seems that emerge -C will not remove > | > any altered files from /etc/ once it has been changed. > | > > | > This really leaves some cruft in my /etc/ Is this due to > | > config-protect or is it something else?? > | > | No, portage will not remove any files that have been changed > | (actually, had their mtime altered) wherever on the filesystem they > | reside. > | > | This is a feature. > > It isn't what's happening here, however. Portage won't unmerge anything > that's CONFIG_PROTECTed. Yet another reason /etc/init.d should be added > to CONFIG_PROTECT_MASK...
The goal there is to have a MERGE_PROTECT and UNMERGE_PROTECT or whatever names are chosen. They will essentially do the same as CONFIG_PROTECT but will separate the functionality into install time and uninstall time. The mtime/md5 checks will also be dropped. Instead there'll be a refcount on all known files and the file is removed when the refcount drops to 0. Regards, Jason Stubbs -- gentoo-user@gentoo.org mailing list