On Sun, 15 Oct 2006 00:40:52 -0400, Walter Dnes wrote:

> > Yes, etc-update shows it to your before asking what to do. Check the
> > contents of each file before allowing it to be overwritten, and never,
> > ever let etc-update overwrite etc/fstab, /etc/passwd or /etc/group.  
> 
>   CONFIG_PROTECT and CONFIG_PROTECT_MASK work at the *DIRECTORY* level.

That will change soon IIRC.

> What I really want/need is a feature that allows additional protection
> *FOR INDIVIDUAL FILES*.  E.g...

You don't understand what CONFIG_PROTECT means, it prevents files being
automatically overwritten during installation, leaving them to you to
update.

>   - my customized /etc/conf.d/local.start or /etc/conf.d/local.stop
>     should *NEVER* be replaced with an empty version

Agreed.
 
>   - /etc/rc.conf should be left alone too.  ***FOR THE UMPTEENTH TIME,
>     NO I DO NOT WANT NANO REPLACING VIM AS MY "EDITOR"***

How would you know about changes to rc.conf? Either new features or changes in 
the way things are done would pass you by.

>   And the list goes on and on.  Howsabout an environmental variable
> CONFIG_PROTECT_FILES, containing a list of protected files?  I'm ready
> to submit a feature request if necessary.  Does anybody have additional
> comments?

As I've mentioned several times before, there was a patch to
dispatch-conf to do just this. You added the files you didn't want
touching, ever, to a line in the config file. Unfortunately, the patch
hasn't been updated for a couple of years and stopped working a while
ago. Why not re-open the bug at
http://bugs.gentoo.org/show_bug.cgi?id=68618


-- 
Neil Bothwick

If you think that you can truncate my sig to 75 chars, then you can just
fu

Attachment: signature.asc
Description: PGP signature

Reply via email to