Matthias Scheler <tron%zhadum.org.uk@localhost> wrote: > > On 23 Nov 2009, at 22:58, Jan Schaumann wrote: > > I have a named running in named_chrootdir="/var/chroot/named"; it > > appears that if this named is running, syslogd hangs: > > It works fine on two systems I look after. Can you describe your > configuration more precisely, please? What version of NetBSD are you > using on what platform? NetBSD panix.netmeister.org 5.0 NetBSD 5.0 (PANIX-VC) #0: Tue Apr 28 20:51:45 EDT 2009 root%juggler.panix.com@localhost:/misc3/obj/misc2/devel/netbsd/5.0/src/sys/arch/amd64/compile/PANIX-VC amd64 This is a domU. There's nothing out of the ordinary (that I'm aware of) in this build -- ie, that should be a plain vanilla 5.0 build. $ ident /usr/sbin/named /usr/sbin/syslogd /usr/sbin/named: $NetBSD: crt0.c,v 1.5 2007/09/27 10:51:18 dogcow Exp $ /usr/sbin/syslogd: $NetBSD: crt0.c,v 1.5 2007/09/27 10:51:18 dogcow Exp $ $NetBSD: syslogd.c,v 1.86 2008/07/21 13:36:59 lukem Exp $ $NetBSD: utmpentry.c,v 1.16 2008/10/28 14:01:46 christos Exp $ $ named -v BIND 9.5.0-P2 $ ls -ld /var/run/log /var/chroot/named/var/run/log srw-rw-rw- 1 root named 0 Nov 23 17:57 /var/chroot/named/var/run/log srw-rw-rw- 1 root wheel 0 Nov 23 17:57 /var/run/log > What setting are in "/etc/rc.conf"? rc_configured=YES # Add local overrides below # dhclient=YES dhclient_flags="xennet0" sshd=YES savecore=NO powerd=YES hostname=panix.netmeister.org ntpd=YES postfix=YES spamd=YES apache=YES apache_start="startssl" named=YES named_chrootdir="/var/chroot/named" syslogd_flags="-snvv" > What does "/etc/syslog.conf" look like? *.err;kern.*;auth.notice;authpriv.none;mail.crit /dev/console *.info;auth,authpriv,cron,ftp,kern,lpr,mail.none /var/log/messages kern.debug /var/log/messages # The authpriv log file should be restricted access; these # messages shouldn't go to terminals or publically-readable # files. auth,authpriv.info /var/log/authlog cron.info /var/log/cron ftp.info /var/log/xferlog lpr.info /var/log/lpd-errs mail.info /var/log/maillog #uucp.info /var/spool/uucp/ERRORS *.emerg * #*.notice root === If I don't run named, logging will work just fine. -Jan
Attachment:
pgpQ9ha5lifGh.pgp
Description: PGP signature