Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2010 12:07:57 +0100 (CET)
From:      Alexander Best <alexbestms@wwu.de>
To:        <freebsd-hackers@FreeBSD.org>
Subject:   /var/named/etc/namedb/master not empty when doing `make delete-old`
Message-ID:  <permail-2010032211075780e26a0b0000782b-a_best01@message-id.uni-muenster.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
hi there,

with MK_BIND_ETC and MK_BIND set to 'no' in src.conf,
var/named/etc/namedb/master should get deleted yet the directory still
contains some files. that's why i'm getting

rmdir: /var/named/etc/namedb/master: Directory not empty

during `make delete-old`. does the attached patch look ok? i also added
var/named/etc/namedb/working to be deleted.

-- 
Alexander Best

[-- Attachment #2 --]
Index: OptionalObsoleteFiles.inc
===================================================================
--- OptionalObsoleteFiles.inc	(revision 205390)
+++ OptionalObsoleteFiles.inc	(working copy)
@@ -313,6 +313,9 @@
 .endif
 
 .if ${MK_BIND_ETC} == no || ${MK_BIND} == no
+OLD_FILES+=var/named/etc/namedb/master/empty.db
+OLD_FILES+=var/named/etc/namedb/master/localhost-forward.db
+OLD_FILES+=var/named/etc/namedb/master/localhost-reverse.db
 OLD_FILES+=var/named/etc/namedb/PROTO.localhost-v6.rev
 OLD_FILES+=var/named/etc/namedb/PROTO.localhost.rev
 OLD_FILES+=var/named/etc/namedb/make-localhost
@@ -321,6 +324,7 @@
 OLD_DIRS+=var/named/etc/namedb/slave
 OLD_DIRS+=var/named/etc/namedb/master
 OLD_DIRS+=var/named/etc/namedb/dynamic
+OLD_DIRS+=var/named/etc/namedb/working
 #OLD_DIRS+=var/named/etc/namedb
 #OLD_DIRS+=var/named/etc
 .endif
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2010032211075780e26a0b0000782b-a_best01>