Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Don't mark /etc/namedb/named.conf as "obsolete" since that w...



details:   https://anonhg.NetBSD.org/src/rev/1dae57a9130c
branches:  trunk
changeset: 584349:1dae57a9130c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Sep 14 00:32:26 2005 +0000

description:
Don't mark /etc/namedb/named.conf as "obsolete" since that will cause
a file that has end-user configuration to be unconditionally removed.
Instead, remove the entry from the set list, and add a note to UPDATING
reminding users of MKUPDATE=yes to manually rectify the problem in
their DESTDIR.

The "named" fix in postinstall(8) will migrate /etc/namedb/named.conf
to /etc/named.conf if the latter doesn't exist.
(The need for these style of migrations was why I implemented postinstall(8)
in the first place.)

diffstat:

 UPDATING                  |  8 +++++++-
 distrib/sets/lists/etc/mi |  3 +--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 87ccddd28517 -r 1dae57a9130c UPDATING
--- a/UPDATING  Tue Sep 13 23:43:22 2005 +0000
+++ b/UPDATING  Wed Sep 14 00:32:26 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: UPDATING,v 1.142 2005/08/25 16:01:14 drochner Exp $
+$NetBSD: UPDATING,v 1.143 2005/09/14 00:32:26 lukem Exp $
 
 This file (UPDATING) is intended to be a brief reference to recent
 changes that might cause problems in the build process, and a guide for
@@ -16,6 +16,12 @@
 Recent changes:
 ^^^^^^^^^^^^^^^
 
+20050830:
+       named.conf was moved from /etc/namedb to /etc.
+       postinstall(8) migrates this during interactive use.
+       Users of MKUPDATE=yes will need to manually rectify
+       this in their DESTDIR.
+
 20050825:
        Some data structures in sys/device.h, related to interface
        attributes and locator names, were changed. config(1) was
diff -r 87ccddd28517 -r 1dae57a9130c distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Tue Sep 13 23:43:22 2005 +0000
+++ b/distrib/sets/lists/etc/mi Wed Sep 14 00:32:26 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.159 2005/08/30 10:58:33 tron Exp $
+# $NetBSD: mi,v 1.160 2005/09/14 00:32:26 lukem Exp $
 ./.cshrc                                       etc-util-etc
 ./.profile                                     etc-util-etc
 ./dev/MAKEDEV                                  etc-sys-etc
@@ -71,7 +71,6 @@
 ./etc/namedb/127                               etc-bind-etc
 ./etc/namedb/localhost                         etc-bind-etc
 ./etc/namedb/loopback.v6                       etc-bind-etc
-./etc/namedb/named.conf                                etc-obsolete            obsolete
 ./etc/namedb/root.cache                                etc-bind-etc
 ./etc/netconfig                                        etc-net-etc
 ./etc/networks                                 etc-net-etc



Home | Main Index | Thread Index | Old Index