* Steven Elling (2003-08-03 07:03 +0200)
> On Saturday 02 August 2003 15:23, Stephane Brossier wrote:
>> I emerge some ebuilds yesterday, and then i got a warning that I
>> should run etc-update to merge some files.
>>
>> I used the "-5" option which automaticall merge the files,
>> and it seems it deleted some of my config files such
>> as /etc/fstab.

> One of my questions about etc-update and portage is, why etc-update / 
> portage even consider critical files like /etc/fstab for a update?

> It seems to me that files like this should never be considered for upgrades 
> because they are static in nature, only need to be set up once, and if 
> changes do need to be made it is because the admin of the box has changed 
> the hardware configuration.

This is in fact the point it is all about. There is no sense in
"updating" fstab or /etc/passwd so these types of files should be
always omitted. Another possibility would be to have etc-update issue
a "red warning" when used with "-5".

Just another point: is the "-5" useful at all? I mean, has anyone used
that in a senseful way? If you really want to "overwrite", you could
have done 'CONFIG_PROTECT="-*" emerge -u whatever', right?

By the way: I never use "etc-update". If I didn't configure the
service, I just overwrite the config file, otherwise I do it manually.

Thorsten


--
[EMAIL PROTECTED] mailing list

Reply via email to