Date: Sat, 6 Mar 2010 11:47:03 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: John Nielsen <john@jnielsen.net> Cc: freebsd-emulation@freebsd.org Subject: Re: linux-only jail possible? Message-ID: <20100306114703.0000462f@unknown> In-Reply-To: <201003060115.28496.john@jnielsen.net> References: <201003021325.27197.lists@jnielsen.net> <201003041322.57875.lists@jnielsen.net> <20100305092611.0000772c@unknown> <201003060115.28496.john@jnielsen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Mar 2010 01:15:28 -0500 John Nielsen <john@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100306114703.0000462f>