1 |
Neil Bothwick wrote: |
2 |
|
3 |
>On Wed, 10 Aug 2005 16:48:34 -0700, Mike S wrote: |
4 |
> |
5 |
> |
6 |
> |
7 |
>>ok I have many questions this time. I set this variable before but for |
8 |
>>get where it was. There is something that emerge can to to |
9 |
>>automatically write over existing configuration files. And when I |
10 |
>>first installed gentoo I set it to do that, not knowing how annoying it |
11 |
>>could be. Now I hope someone can help me in changing that back, as |
12 |
>>when I ran emerge world a lot of settings were deleted, some of which |
13 |
>>have been easy to change, and some not. |
14 |
>> |
15 |
>> |
16 |
> |
17 |
>The variable is CONFIG_PROTECT_MASK, set in /etc/make.conf. It sound |
18 |
>slike you set it to "/etc", which is a dangerous thing to do, especially |
19 |
>when you emerge a baselayout update and your fstab and passwd files get |
20 |
>overwritten. Comment out the setting in make.conf, or set it to contain |
21 |
>only directories where you know it is safe for emerge to overwrite files. |
22 |
>I have it set to "/etc/init.d". |
23 |
> |
24 |
> |
25 |
> |
26 |
> |
27 |
well I checked the /etc/make.conf file, and yes you were right (almost) |
28 |
I am not sure what the difference is, but I am sure that I will find out |
29 |
sooner or later, instead of CONFIG_PROTECT_MASK variable set to |
30 |
something I had CONFIG_PROTECT="-*". So for the time being I just |
31 |
commented that line out, and will maybe change it once I learn more |
32 |
about it. |
33 |
|
34 |
I will investigate the difference between CONFIG_PROTECT_MASK and |
35 |
CONFIG_PROTECT and see what the difference is (if any), or if they are |
36 |
merely the same variable with different names, which I have noticed on |
37 |
some distributions happens because of multiple developers not all |
38 |
keeping up to speed with each other. Though from what I have see so far |
39 |
gentoo is one of the more professional distributions and that will |
40 |
probably not be the case. |
41 |
|
42 |
Thanks Neil, |
43 |
--Mike S |
44 |
-- |
45 |
gentoo-ppc-user@g.o mailing list |