Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Fabio Erculiani <lxnay@g.o>
Subject: Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
Date: Wed, 16 May 2012 11:56:47 +0200
On Wed, May 16, 2012 at 11:36 AM, Eray Aslan <eras@g.o> wrote:
> On 2012-05-16 12:13 PM, Andreas K. Huettel wrote:
>>>> make.conf(5) man page:
>>>>   This causes the CONFIG_PROTECT behavior to be skipped for files that
>>>>   have not been modified since they were installed.
>>
>> +1 very good idea
>
> Hmm, does that mean that when a default changes in (or some new setting
> is added to) an app config file, I'll get no prompt and no warning
> assuming I go with the default settings in the app?  That presumes that
> the new default or the new setting does not break my setup.  That is a
> big assumption.

Generally, several PMS (I think apt does it as well) make this assumption:
if config file C owned by package P has never been modified, meaning
that md5 or whatever is the same, the old C of P was fine, so is the
new C.
On the other hand, if the old C has been modified, then the above
assumption is not valid.

This also helps a lot in the scenario where critical configuration
files are not updated before reboot, which might result in an
unbootable system (ouch!).

>
> Even if we go with enabling it by default, please have a news item so
> that one can turn it off if necessary.  Even then, new installs will
> have to remember to turn it off.
>
> --
> Eray Aslan <eras@g.o>
>



-- 
Fabio Erculiani


Replies:
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
-- Eray Aslan
References:
RFC: Enable FEATURES=config-protect-if-modified by default?
-- Zac Medico
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
-- Andreas K. Huettel
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
Next by thread:
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
Previous by date:
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?
Next by date:
Re: Re: RFC: Enable FEATURES=config-protect-if-modified by default?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.