cvs commit: src/usr.sbin/syslogd syslogd.8 syslogd.c src/sys/sys syslog.h src/lib/libc/gen syslog.c

David Malone dwmalone at maths.tcd.ie
Fri Nov 5 09:27:21 GMT 2004


On Fri, Nov 05, 2004 at 10:26:09AM +0900, Makoto Matsushita wrote:
> It would be a good one, but how do I open yet another priv socket?
> (Imagine you have a chroot/jail sandbox, and sshd runs inside sandbox.)

libc automatically falls back to the original socket if there is no
priv socket, so it shouldn't cause any problems.

> Do we have yet another option, say, option -L (open priv socket), and
> use it as "syslogd -l /my/jail/var/run/log -L /my/jail/var/run/logpriv"
> or something like that?

You can now specify the the mode for the socket on the command line,
so you should be able to do:

	syslogd -l /my/jail/var/run/log -l 600:/my/jail/var/run/logpriv

David.


More information about the cvs-src mailing list