[gentoo-user] Emerge -C package doesn't clean up /etc/ config files
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?? -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 16:24:30 up 2 days, 7:04, 6 users, load average: 0.61, 0.40, 0.41 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
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. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
Edward Catmur 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. Files in /etc are never removed from portage, to force portage remove files under etc you can use : CONFIG_PROTECT_MASK=/etc/init.d -- . These pages are best viewed by coming to my house and looking at . . my monitor. [S. Lucas Bergman (on his website)]. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
On Thu, 2005-04-28 at 10:41 +0100, Edward Catmur 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. Which is what I would expect. But it doesn't seem to the case for me. I installed synergy and then removed it but the conf file was still around. Maybe there's something I'm not doing?? This is a feature. -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 17:54:36 up 2 days, 8:35, 6 users, load average: 0.83, 0.50, 0.47 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
On Thursday 28 April 2005 11:55, Ow Mun Heng wrote: On Thu, 2005-04-28 at 10:41 +0100, Edward Catmur 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. Which is what I would expect. But it doesn't seem to the case for me. I installed synergy and then removed it but the conf file was still around. Maybe there's something I'm not doing?? This is a feature. from emerge --help config: In addition to protecting overwritten files, Portage will not delete any files from a protected directory when a package is unmerged. While this may be a little bit untidy, it does prevent potentially valuable config files from being deleted, which is of paramount importance. -- Hans-Gunther Borrmann [EMAIL PROTECTED] Rechenzentrum der Universitaet Freiburg Hermann-Herder-Str. 10, D79104 FREIBURG Tel.: +49 761/203-4652 Fax: +49 761/203-4643 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
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... -- Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools) Mail: ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm pgp5La5pQRkJx.pgp Description: PGP signature