|
[20070104]
|
Have the daily security check not complain about a symlink for /etc/named.conf
After my router runs NetBSD for some time now, it complains every
night that my /etc/named.conf is a symlink instead of a file
via the /etc/daily script, quoting from the mail I get every day:
Checking special files and directories.
etc/named.conf:
type (file, link)
I've tried a few pointless attempts to make the system accept that
I actually want a symlink in the place (edit /etc/mtree/special,
put 'check_mtree_follow_symlinks=yes' into /etc/security.conf), but no go.
Asking, Manuel Bouyer
hinted at his solution for a similar problem
(running named in a chroot environment), and apparently the solution is
to put the following into /etc/mtree/special.local:
./etc/named.conf type=link
[Tags: Docs, Security]
|