linux-only jail possible?

Alexander Leidinger Alexander at Leidinger.net
Sat Mar 6 10:47:13 UTC 2010


On Sat, 6 Mar 2010 01:15:28 -0500 John Nielsen <john at jnielsen.net>
wrote:

> On Friday 05 March 2010 03:26:11 Alexander Leidinger wrote:
> > On Thu, 4 Mar 2010 13:22:57 -0500 John Nielsen <lists at jnielsen.net>
> > wrote:
> [snip]
> > > Syslogd ran without complaint as well but didn't actually log
> > > anything. I had to run it with "-p /var/run/log" (inside the jail
> > > via /etc/sysconfig/syslog) and create a symlink to the socket in
> > > the jail's /dev/log (outside the jail via exec_poststart). That's
> > > not ideal since there's a period of time between when syslogd
> > > starts in the jail and the symlink is created, but it works after
> > > that. It would be better in the exec_prestart RC knob but the
> > > jail's devfs isn't necessarily mounted at that point.
> > 
> > Why don't you add a script into rc3 on the linux side which does the
> > link?
> 
> I always got permission errors when trying to do that manually and I
> wasn't able to find a jail sysctl or similar to allow it.

Ah, yes... and unfortunately devfs.rules has no link command. :(

Bye,
Alexander.


More information about the freebsd-emulation mailing list