HEADS UP: New version of mergemaster with type checking
dougb at FreeBSD.org
Sat Dec 12 02:28:37 UTC 2009
I think the commit message explains this pretty well, but I wanted to
give a heads up message because this is very likely to ring a few
bells the first time through. I personally noticed it as result of the
recent termcap change, and I'm sure I'm not the only one with stale
stuff in /etc/ in particular.
Please make sure that you employ (what should be) the usual precaution
of backing up /etc before running this version of mergemaster. I also
encourage regular use of the -P option (or PRESERVE_FILES=yes in
~/.mergemasterrc or /etc/mergemaster.rc) however while I believe that
this new code is -P safe backing up /etc first is preferred this time
If you have any feedback on the code, messages, etc. please offer them
sooner rather than later. I will wait longer than 3 days for the MFC
on this one but at minimum I want to get it into RELENG_7 well before
the upcoming freeze.
-------- Original Message --------
Subject: svn commit: r200425 - head/usr.sbin/mergemaster
Date: Sat, 12 Dec 2009 02:19:42 +0000 (UTC)
Date: Sat Dec 12 02:19:41 2009
New Revision: 200425
Over time things that used to be files/directories/links can change
to something else. So add code to detect when things don't match and
give the user choices about how to fix it.
If we're using -P and something in the above check needs to be moved
we need to have the directory there for it, so create it at the
beginning and delete empty versions of it at the end.
The case where something used to be a file or link and now is
supposed to be a directory (e.g., /etc/security) is especially
dangerous, so make failure to install a necessary directory in
$DESTDIR a fatal error.
Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/
More information about the freebsd-current