Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2000 20:41:09 +0200
From:      "Roland Schneider" <hostmaster@serv.ch>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   jail without IP
Message-ID:  <1000825-184109@virtual-media.ch>

next in thread | raw e-mail | index | archive | help

I have a real problem using jails in 4.1R.

After starting a jail there is no IP available to bind (according
to ifconfig) and I cant use the jail at all.

It has worked for about 2 weeks, I also was able to login into the
running jail and look at the processes there with ps -ax or even
kill all of them with kill -KILL -1 and restart everything again.

After a while I was not able to login into the existing jail, ps
did not show the jailed processes anymore, sshd (started from jailed
inetd) dumped core whenever called, a HUP to inetd finally killed
also this process.

Apache was still running inside the jail until today when I rebooted
to get everything back again - but still no IP available in the jail
and I had a little work to get everything from the 3 jails working
again without jails.

I noticed the problem of a jail without IP also in my initial testing,
but after moving the small shell-script which starts the jail inside
the jail-root it worked finally.

Now I am really lost without my jails :(

Some sysctl's:

jail.set_hostname_allowed: 0
kern.chroot_allow_open_directories: 1
kern.maxfilesperproc=2048
kern.maxprocperuid=1024
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1

THX for any help.

Roland





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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