On Mon, 6 Jan 2014 23:50:02 +0200, Gevisz wrote:

> On Sun, 5 Jan 2014 10:16:20 +0000
> Neil Bothwick <n...@digimed.co.uk> wrote:

> > CONFIG_PROTECT_MASK is a make.conf setting, read that man page. It
> > means your config files are overwritten at install time, way be for
> > you run dispatch-conf or one of its friends.
> 
> The man page for make.conf actually refers to the CONFIGURATION FILES
> section of emerge man page. There, indeed, everything explained very
> clearly and in details. However, it does not work so for my system.

> 
> Thus, I have the following settings  
> 
> $ echo $CONFIG_PROTECT
> /usr/share/gnupg/qualified.txt

CONFIG_PROTECT is not a global environment variable. Also, variables like
this are not only set in make.conf but in profiles and even on
the command line. Read man portage for more detail.

The correct way to see what settings are in place is to run emerge --info

emerge --info | grep CONFIG_PROTECT

> And this, in my view, contradicts with the following statement from
> emerge man pages: "Protected  directories  are  set  using the
> CONFIG_PROTECT variable", as in my case /etc have not been set in
> my CONFIG_PROTECT variable.

See above. /etc is protected in the base profile, inherited by all others.


-- 
Neil Bothwick

"Logic will get you from A to B. Imagination will take you everywhere."
 (Albert Einstein)

Attachment: signature.asc
Description: PGP signature

Reply via email to