[nsd-users] NSD not logging to SYSLOG
Michael Tokarev
mjt at tls.msk.ru
Thu Feb 20 10:07:57 UTC 2014
20.02.2014 04:35, Stuart Henderson пишет:
> On 2014-02-17, W.C.A. Wijngaards <wouter at nlnetlabs.nl> wrote:
>>
>> Syslog on OpenBSD may need something in the chroot to function
>> properly,
>
> It does indeed, a flag is used on the syslogd command line to create
> log sockets in chroot jails as necessary. The system rc.d scripts handle
> this for daemons such as NSD which are in the base OS; if it's needed for
> software in packages, it will be explained by a pkg-readme file or
> package installation message.
Actually most systems have the same issue here and similar solutions.
Usually it is enough to open main system syslog socket (usually /dev/log)
before chroot, and logging will Just Work if syslogd is not restarted.
Only for the latter case one (usually) needs additional configuration
on the syslogd part, to create various additional sockets in various
chroot jails.
Is OpenBSD different in this aspect? Will main /dev/log (or equivalent)
opened before chroot work after chroot, provided that syslogd is not
restarted?
Thanks,
/mjt
More information about the nsd-users
mailing list