28.12.2013 02:00, Mathieu Arnold wrote:
+--On 25 décembre 2013 22:16:07 -0800 Doug Barton <[email protected]>
wrote:
| While looking at the UPDATING entry for the bdb mess (more on that later)
| I happened to see this:
|
| 20131209:
| AFFECTS: users of dns/bind96, dns/bind98 and bind99 on FreeBSD 10.0
| AUTHOR: [email protected]
|
| Bind versions before 9.6.3.2.ESV.R10_2, 9.8.6_2, and 9.9.4_2 on
| FreeBSD 10.0 will replace named.conf on upgrade. Make sure to
| backup any local changes before upgrading to the _2 versions.
|
| This is not Ok. FreeBSD ports are NEVER supposed to blindly overwrite
| config files. Please fix this so that it confirms to over a decade of
| policy that FreeBSD ports users should be able to safely depend on.
That's ok, because FreeBSD 10.0 is not released yet, and the current
version of the bind ports doesn't overwrite the config files.
That's what you say.
> ls -la /usr/local/etc/namedb/
total 53
drwxr-xr-x 6 root wheel 16 Dec 18 18:23 .
drwxr-xr-x 43 root wheel 87 Dec 31 11:47 ..
-rw-r--r-- 1 root wheel 101 Nov 14 15:06 acls.conf
drwxr-xr-x 2 bind bind 2 Dec 6 11:51 dynamic
-rw-r--r-- 1 root wheel 553 Nov 15 15:18 local.conf
-rw-r--r-- 1 root wheel 668 Nov 14 15:06 logging.conf
drwxr-xr-x 2 root wheel 9 Dec 6 11:51 master
-r--r--r-- 1 root wheel 22642 Dec 9 11:33 named.conf
-r--r--r-- 1 root wheel 22642 Dec 6 11:46 named.conf.good
-r--r--r-- 1 root wheel 21194 Nov 14 15:41 named.conf.old
-r--r--r-- 1 root wheel 21194 Dec 6 11:51 named.conf.sample
-r--r--r-- 1 root wheel 3134 Dec 6 11:51 named.root
-r--r--r-- 1 root wheel 1439 Dec 6 11:51 rndc.conf.sample
-rw------- 1 bind wheel 97 Nov 14 15:54 rndc.key
drwxr-xr-x 2 bind bind 2 Dec 6 11:51 slave
drwxr-xr-x 2 bind bind 6 Jan 2 14:47 working
# portmaster dns/bind99
> ls -la /usr/local/etc/namedb/
total 52
drwxr-xr-x 6 root wheel 16 Jan 2 15:14 .
drwxr-xr-x 43 root wheel 87 Dec 31 11:47 ..
-rw-r--r-- 1 root wheel 101 Nov 14 15:06 acls.conf
drwxr-xr-x 2 bind bind 2 Jan 2 15:14 dynamic
-rw-r--r-- 1 root wheel 553 Nov 15 15:18 local.conf
-rw-r--r-- 1 root wheel 668 Nov 14 15:06 logging.conf
drwxr-xr-x 2 root wheel 9 Jan 2 15:14 master
-r--r--r-- 1 root wheel 21194 Jan 2 15:14 named.conf
-r--r--r-- 1 root wheel 22642 Dec 6 11:46 named.conf.good
-r--r--r-- 1 root wheel 21194 Nov 14 15:41 named.conf.old
-r--r--r-- 1 root wheel 21194 Jan 2 15:14 named.conf.sample
-r--r--r-- 1 root wheel 3134 Jan 2 15:14 named.root
-r--r--r-- 1 root wheel 1439 Jan 2 15:14 rndc.conf.sample
-rw------- 1 bind wheel 97 Nov 14 15:54 rndc.key
drwxr-xr-x 2 bind bind 2 Jan 2 15:14 slave
drwxr-xr-x 2 bind bind 6 Jan 2 14:47 working
And that's what I see. I doesn't even made a backup of old named.conf.
All files named `named.conf.*` (except for `*.sample`) are mine and
weren't touched by port.
I filed a bug and it was closed:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184562
UPDATING states that:
20131209:
AFFECTS: users of dns/bind96, dns/bind98 and bind99 on FreeBSD 10.0
AUTHOR: [email protected]
Bind versions before 9.6.3.2.ESV.R10_2, 9.8.6_2, and 9.9.4_2 on
FreeBSD 10.0 will replace named.conf on upgrade. Make sure to
backup any local changes before upgrading to the _2 versions.
But this doesn't happen only on port upgrade, any time bind is installed
it wipes old config.
--
Sphinx of black quartz, judge my vow.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"