From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: chroot and syslog: broken?
Date: Thu, 17 Jul 2003 15:19:55 +0200 [thread overview]
Message-ID: <20030717131955.GA25932@nic.fr> (raw)
Hello,
I'm trying to run the nameserver daemon nsd
<URL:http://www.nlnetlabs.nl/nsd/index.html> on Tru64. It works fine.
Now, I want to run it in a chroot (nsd has a "-t chrootdir"
option). It works fine but nothing is logged by syslog.
syslog(3) says:
[Tru64 UNIX] If a program is using the chroot system call, the syslog rou-
tine will not work correctly unless the program calls the openlog or
openlog_r routine prior to making the call to chroot .
But nsd does call openlog() long before calling chroot().
Funny, it seems nothing changed on Tru64 since 1996:
http://www.ornl.gov/cts/archives/mailing-lists/tru64-unix-managers/1996/01/msg00003.html
reply other threads:[~2003-07-17 13:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox