Patrick Nelson wrote:
----------------->>>>
Found a doc on chroot bind at the LDP.  In the doc it states that one must
deal with logging and gives a couple of examples on how
(http://www.tldp.org/HOWTO/Chroot-BIND-HOWTO-2.html#ss2.5).  The main way
they suggest says to us the -a switch in the /etc/sysconfig/syslog file
like:

  SYSLOGD_OPTIONS="-m 0 -a /mejail/named/dev/log"

I was just finishing the process when I started to think about it (oh boy).
What does this do?  The man page of syslogd says that it adds an additional
socket that syslog has to listen to.  Does this mean that the output to the
syslog'er will go to the same /var/log logs?  Maybe this is simply a matter
of doing it and seeing.  Just thought I'd maker sure prior to putting my dns
in jail...
----------------->>>>

Yes the output does go to the regular log files.  Followed the how-to and
aside from having to chown -R named:named the entire named chroot dir to get
it working, it was pretty easy.  Oh did have to edit init.d/named because it
checked to see if /etc/named.conf was there, which in my case I renamed it
to make sure that the right one was being loaded, so I just had it point to
the new one.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to