Date: Wed, 22 Jun 2005 11:24:16 -0400 From: Kris Kennaway <kris@obsecurity.org> To: GiZmen <gizmen@zion.vsip.pl> Cc: hackers@freebsd.org Subject: Re: instability with mount_nullfs and jails Message-ID: <20050622152416.GA18990@xor.obsecurity.org> In-Reply-To: <20050620175031.GA50395@procent.t2.ds.pwr.wroc.pl> References: <20050620175031.GA50395@procent.t2.ds.pwr.wroc.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 20, 2005 at 07:50:31PM +0200, GiZmen wrote: > hi, >=20 > I have problem with mount_nullfs and jails. My system FreeBSD 5.4-STABLE > when have two jails and each of this jails has couple mount_nullfs freeze > without kernel panic. It freezes out in random times. Sometimes it can run > for couple days sometimes it freezes after couple hours. >=20 > I have mount points like below: >=20 > root@procent:~# mount > /dev/ad0s1a on / (ufs, local) > devfs on /dev (devfs, local, multilabel) > /dev/ad0s1e on /tmp (ufs, local, nodev, nosuid, nosymfollow, soft-updates= , multilabel, acls) > /dev/ad0s1f on /usr (ufs, local, nodev, soft-updates, multilabel, acls) > /dev/ad0s1d on /var (ufs, local, nodev, nosuid, soft-updates, multilabel,= acls) > /usr/local/bandwidthd/htdocs on /usr/jails/httpd/www/traf (nullfs, local,= nodev, noexec, nosuid, read-only) > /usr/local/share/pear on /usr/jails/httpd/lib/php/pear (nullfs, local, no= dev, noexec, nosuid, read-only) > /usr/local/share/smarty on /usr/jails/httpd/lib/php/smarty (nullfs, local= , nodev, noexec, nosuid, read-only) > /usr/local/lib/php/20020429 on /usr/jails/httpd/lib/php/20020429 (nullfs,= local, nodev, noexec, nosuid, read-only) > /usr/local/libexec/apache on /usr/jails/httpd/libexec/apache (nullfs, loc= al, nodev, noexec, nosuid, read-only) > /usr/local/etc/php on /usr/jails/httpd/etc/php (nullfs, local, nodev, noe= xec, nosuid, read-only) > /usr/local/bin on /usr/jails/httpd/bin (nullfs, local, nodev, nosuid, rea= d-only) > devfs on /usr/jails/httpd/dev (devfs, local, multilabel) > /dev/ad0s1g.bde on /crypto (ufs, local, noatime, nodev, nosuid, synchrono= us, soft-updates, multilabel, acls) > /dev/ad2s1a.bde on /crypto2 (ufs, local, noatime, nodev, nosuid, synchron= ous, soft-updates, multilabel, acls) > /crypto/home on /usr/jails/users/home (nullfs, local, nodev) > /crypto/home on /usr/jails/httpd/home (nullfs, local, nodev, noexec, nosu= id) >=20 > from fstab.sshd: >=20 > /bin /usr/jails/users/bin nullfs ro,nosuid,nodev = 0 0 > /sbin /usr/jails/users/sbin nullfs ro,nodev 0 = 0 > /usr/ports /usr/jails/users/usr/ports nullfs rw,nosuid,nodev 0= 0 > /usr/include /usr/jails/users/usr/include nullfs ro,nosuid,noexec,= nodev 0 0 > /usr/share /usr/jails/users/usr/share nullfs ro,nosuid,nodev,noexe= c 0 0 > /usr/lib /usr/jails/users/usr/lib nullfs ro,nosuid,nodev = 0 0 > #/lib /usr/jails/users/lib nullfs ro,nosuid,nodev,noex= ec 0 0 > #/libexec /usr/jails/users/libexec nullfs ro,nosuid,nodev = 0 0 > /usr/bin /usr/jails/users/usr/bin nullfs ro,nodev 0 = 0 > /usr/sbin /usr/jails/users/usr/sbin nullfs ro,nodev 0 = 0 > /usr/libexec /usr/jails/users/usr/libexec nullfs ro,nodev = 0 0 >=20 >=20 > When i start sshd jail with mount_nulls like above i will have crash afte= r random period of time. > Without this jail i have never had any freeze. home dir in users jail is = mount_nulled from /crypto > partition.Earlier my users jails didnt have mount_nulls, i have had copy = of each dir. I could have > uptime like 80 days. I dont know why it is so instabile? > Could any one point me somehow ? Maybe i do someting wrong or someting? Be specific about your crash. See the Developers' Handbook chapter on kernel debugging for the minimum information needed to proceed further with this. Kris --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCuYKfWry0BWjoQKURAnIMAKD5DUzZV3sAJoli+K3ktWSE4sWo0QCg3kiL CL/wxPL2/zS1H50RNsCeGP8= =0PyI -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050622152416.GA18990>