Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2009 11:34:37 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Edwin Groothuis <edwin@FreeBSD.org>
Subject:   Re: svn commit: r193635 - head/etc
Message-ID:  <4A3A88BD.5030703@FreeBSD.org>
In-Reply-To: <86iqiudm63.fsf@ds4.des.no>
References:  <200906071326.n57DQvSG095104@svn.freebsd.org> <86iqiudm63.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Edwin Groothuis <edwin@FreeBSD.org> writes:
>> Author: edwin
>> Date: Sun Jun  7 13:26:57 2009
>> New Revision: 193635
>> URL: http://svn.freebsd.org/changeset/base/193635
>>
>> Log:
>>   Welcome to a default installed /etc/ntp.conf
> 
> Great, now mergemaster blew away my ntp.conf and installed this one
> instead.  Apparently, it thinks AUTO_UPGRADE means it's fine to
> overwrite an existing file with a new one...

Yes, that's exactly what the option means. The problem comes in
because it's a new file, which means that there is no record of it in
the mtree file, so it does not show up as "changed." The problem is
compounded by the fact that this is the first time I can remember that
we've introduced a new file in the base that has the same name as a
commonly (pre-)existing file that most users would have in /etc (as
opposed to having it in /usr/local). Suggestions on how to deal with
this issue are welcome. Please follow up on -current or -hackers.

FWIW, this is one of the reasons that I resisted the idea of using
mtree for this function, and continue to resist the idea of the -U
option being the default. There is no way that I can see to have mtree
list the files that have _not_ changed, which would be the safest way
to implement this option. If someone wants to implement that option
for mtree I will gladly update the -U option in mergemaster. (Looking
at doing the change in mtree myself is "on the list," but it's way
down there ...)

Meanwhile I'm sure you were able to restore from backups, and there is
always mergemaster's -P option ....


Doug

-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A3A88BD.5030703>