[H-GEN] /dev/log inside a chroot

Bruce Campbell bc at humbug.org.au
Tue Aug 22 22:33:43 EDT 2000


[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics.  Please observe the list's charter.          ]

On Wed, 23 Aug 2000, David Jericho wrote:

davidj> A lot of applications obviously write to /dev/log as
davidj> opposed to using udp based syslog logging.  But inside a
davidj> chroot, the new /dev/log isn't the same as the old
davidj> /dev/log that syslog has opened.
davidj> 
davidj> How do I go about fixing this? That is, getting the
davidj> chrooted version of /dev/log to work?

As long as the device is created with the appropriate major and minor
numbers as the true /dev/log, messages written to /chroot/dev/log (ugh)
should turn up in the global syslog.

The path that can be typed is not the true Path .

-- 
  Bruce.                                                         | VP/BOFH
  Infinite Monkeys.  Infinite Keyboards.  I see no Shakespeare.  |  HUMBUG
  Usenet may or may not be an implementation of RFC2795.         |     PAN


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list