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

Re: privsep and /dev/log

On Tue, Mar 11, 2003 at 01:09:30PM +0100, Emile van Bergen wrote:
> On Tue, Mar 11, 2003 at 12:46:17PM +0100, Russell Coker wrote:
> > It appears that sshd is trying to write to /dev/log from it's
> > "privsep" process after the chroot.  Should we have a bind mount or
> > something to enable this logging?
> Or make it log through an open fd, so that the parent process can set it
> up or act as a character shunt?

If you read the code you'll find lots of infrastructure where sshd does
this already. Look for the PRIVSEP() macro.

I need to know what is being logged from inside the chroot.

Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: