Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2010 01:15:28 -0500
From:      John Nielsen <john@jnielsen.net>
To:        freebsd-emulation@freebsd.org
Cc:        Alexander Leidinger <Alexander@leidinger.net>, ed@freebsd.org
Subject:   Re: linux-only jail possible?
Message-ID:  <201003060115.28496.john@jnielsen.net>
In-Reply-To: <20100305092611.0000772c@unknown>
References:  <201003021325.27197.lists@jnielsen.net> <201003041322.57875.lists@jnielsen.net> <20100305092611.0000772c@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 05 March 2010 03:26:11 Alexander Leidinger wrote:
> On Thu, 4 Mar 2010 13:22:57 -0500 John Nielsen <lists@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.

JN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003060115.28496.john>