NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rc.subr: *_chroot vs. *_chrootdir



Hi,

rc.subr(8) mentions ${name}_chroot, rcorder(8) has the chrootdir KEYWORD
and /etc/rc.d/syslogd is looking for ${name}_chrootdir when creating a
list of all syslog sockets that need to be placed in chroots.

${name}_chroot will satisfy rc(8) but syslog won't create a socket in
${name}_chroot/var/run.  When defining ${name}_chrootdir the problem is
inverted.

I assume the difference between _chroot and _chrootdir is the usage of
chroot(8) vs. just passing some path to a daemon that then will do
chroot(2) itself.. but then /etc/rc.d/syslogd should probably look for
both when creating /var/run/syslogd.sockets?

Thanks,

		Petar

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index