Re: Debian KfreeBSD on a Jail
On Fri, 3 Dec 2010, Petr Salinger wrote:
I want to have some Debian KfreeBSD Jails on my FreeBSD 8.1 Host. I don't
know, anything is missing. So nothing in logs or on dmsg. My FreeBSD 8.1
Jail has starts successful. I have choosen a FreeBSD Host because to many
FreeBSD features are not or bad implemented on Debain KfreeBSD. Inside a
jail it would doesn't matter.
Thats all, no more output :( So any suggestions what will do the trick?
Could you "degrade" jail into chroot and verify manually whether shell inside
jail works ? Please make sure that inside chroot/jail is
under /proc mounted linprocfs.
Which kernel do you use ? From debian package ?
Otherwise at least 007_clone_signals.diff is crucial
for multithreaded programs compiled for GNU/kFreeBSD.
I am not sure but k might not yet support jails or experimental VNETs
so I am assuming he's running FreeBSD natively and thus making this
a freebsd-jail@f.o or freebsd-virtualization@f.o question maybe.
That said there are log file for the jail startup in the
${jail_consolelog} location which defaults to
/var/log/jail_${name of jail}_console.log .
But there are more problems to that rc.conf configuration; for
example, the first one re-executes /bin/sh /etc/rc which is the
default command on jail start, ... not only the missing mounts
for insecure things to have inside a jail (linprocfs, ..).
That said, I have done it before, though I have a very hacked FreeBSD
system wrt to jails and vnets.
/bz
--
Bjoern A. Zeeb Welcome a new stage of life.
<ks> Going to jail sucks -- <bz> All my daemons like it!
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
Reply to: