[1550] in linux-net channel archive
Re: syslog and chroot ?
daemon@ATHENA.MIT.EDU (sct@dcs.ed.ac.uk)
Thu Dec 28 07:47:02 1995
From: sct@dcs.ed.ac.uk
Date: Tue, 26 Dec 95 15:23 GMT
To: Bernd Eckenfels <ukd1@rzstud1.rz.uni-karlsruhe.de>
Cc: submit-linux-dev-net@ratatosk.yggdrasil.com
In-Reply-To: <4b926d$6np@nz12.rz.uni-karlsruhe.de>
Hi,
Bernd Eckenfels <ukd1@rzstud1.rz.uni-karlsruhe.de> writes:
> Martin Schulze (joey@finlandia.Infodrom.North.DE) wrote:
>> You can configure the syslogd to log everything or parts of the stream
>> to another machine. This should have nothing to do with chroot'ed
>> environments.
> In chrooted environments there is no /dev/log.
In chrooted environments you still have IP:
~ $ grep syslog /etc/services
syslog 514/udp # BSD syslogd(8)
syslog can use that instead. It's the same as with X --- the unix
domain sockets aren't available so "DISPLAY=:0.0" won't work any
longer, but "DISPLAY=127.0.0.1:0.0" works fine.
Cheers,
Stephen.
--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.