Subject: misc/31504: If /etc/namedb does not exist, named_migrate tries to copy part of / to /var/chroot/named/etc/
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <sd4dfg2@hotmail.com>
List: netbsd-bugs
Date: 10/08/2005 01:30:00
>Number:         31504
>Category:       misc
>Synopsis:       If /etc/namedb does not exist, named_migrate tries to copy part of / to /var/chroot/named/etc/
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 08 01:30:00 +0000 2005
>Originator:     Rob Quinn
>Release:        
>Organization:
>Environment:
NetBSD spiral.example.com 3.99.9 NetBSD 3.99.9 (SPIRAL) #151: Tue Oct  4 09:07:13 EDT 2005  root@spiral.example.com:/usr/obj/SPIRAL i386

>Description:
I was trying to bring an old system up to date, and since it doesn't
use a local resolver I just deleted /etc/namedb.

spiral:/var/chroot/named/etc #ls
localtime               namedbftpd*             namedbnamed*            namedbrtclocaltime*
named.conf@             namedbidentd*           namedbnamed.conf        namedbrtsold*
namedb/                 namedbifwatchd*         namedbndbootd*          namedbrwho*
namedb127               namedbinetd*            namedbnetwork*          namedbsavecore*
namedbCVS/              namedbipfilter*         namedbnewsyslog*        namedbscreenblank*
namedbDAEMON*           namedbipfs*             namedbnfsd*             namedbsecurelevel*
namedbLOGIN*            namedbipmon*            namedbnfslocking*       namedbsendmail*
namedbMakefile*         namedbipnat*            namedbntpd*             namedbsmmsp*
namedbNETWORKING*       namedbipsec*            namedbntpdate*          namedbsshd*
namedbSERVERS*          namedbisdnd*            namedbpf*               namedbstaticroute*
namedbaccounting*       namedbkdc*              namedbpf_boot*          namedbswap1*
namedbaltqd*            namedbldconfig*         namedbpflogd*           namedbswap2*
namedbamd*              namedblib/              namedbpoffd*            namedbsysctl*
namedbapmd*             namedblibexec/          namedbpostfix*          namedbsysdb*
namedbbin/              namedblkm1*             namedbpowerd*           namedbsyslogd*
namedbbootconf.sh*      namedblkm2*             namedbppp*              namedbtimed*
namedbbootparams*       namedblkm3*             namedbpwcheck*          namedbtpctl*
namedbccd*              namedblocal*            namedbquota*            namedbttys*
namedbcgd*              namedblocalhost         namedbracoon*           namedbveriexec*
namedbcleartmp*         namedbloopback.v6       namedbraidframe*        namedbvirecover*
namedbcron*             namedblpd*              namedbraidframeparity*  namedbwdogctl*
namedbdev/              namedbmixerctl*         namedbrarpd*            namedbwscons*
namedbdhclient*         namedbmopd*             namedbrbootd*           namedbwsmoused*
namedbdhcpd*            namedbmotd*             namedbrescue/           namedbxdm*
namedbdhcrelay*         namedbmountall*         namedbroot.cache        namedbxfs*
namedbdmesg*            namedbmountcritlocal*   namedbroot/             namedbypbind*
namedbdowninterfaces*   namedbmountcritremote*  namedbroute6d*          namedbyppasswdd*
namedbetc/              namedbmountd*           namedbrouted*           namedbypserv*
namedbfixsb*            namedbmoused*           namedbrpcbind*          rndc.conf 
namedbfsck*             namedbmrouted*          namedbrtadvd*           

>How-To-Repeat:

>Fix: