NetBSD-Bugs archive

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

misc/39250: /etc/rc.d/named:named_precmd() should add entries to /etc/mtree/special.local



>Number:         39250
>Category:       misc
>Synopsis:       /etc/rc.d/named:named_precmd() should add entries to 
>/etc/mtree/special.local
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 30 00:15:00 +0000 2008
>Originator:     Valeriy E. Ushakov
>Release:        NetBSD 4.0
>Organization:
>Environment:
>Description:
After named_precmd() does its "migration" job, daily security runs 
start complaining about:

Checking special files and directories.
etc/namedb:
        type (dir, link)
etc/named.conf:
        type (file, link)


If named_precmd() decides to migrate, it should also add overriding entries to 
/etc/mtree/special.local

>How-To-Repeat:
Set 

named=YES
named_chrootdir=/var/chroot/named

in rc.conf and start named with its rc.d script, watch it creating 
symlinks from /etc that point into $named_chrootdir.

Wait for daily cron job to run daily security checks or run them manually.

>Fix:



Home | Main Index | Thread Index | Old Index