tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* chroot and syslog: broken?
@ 2003-07-17 13:19 Stephane Bortzmeyer
  0 siblings, 0 replies; only message in thread
From: Stephane Bortzmeyer @ 2003-07-17 13:19 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-17 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-17 13:19 chroot and syslog: broken? Stephane Bortzmeyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox