From owner-freebsd-hackers Tue Nov 12 23:14:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31EC337B404 for ; Tue, 12 Nov 2002 23:14:10 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9B2943E75 for ; Tue, 12 Nov 2002 23:14:09 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0207.cvx21-bradley.dialup.earthlink.net ([209.179.192.207] helo=mindspring.com) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18Brir-0006iX-00; Tue, 12 Nov 2002 23:14:01 -0800 Message-ID: <3DD1FB3A.E0B305B3@mindspring.com> Date: Tue, 12 Nov 2002 23:11:54 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Cameron Grant Cc: Matthew Dillon , Daniel O'Connor , Hans Zaunere , freebsd-hackers@FreeBSD.ORG Subject: Re: Shared files within a jail References: <20021113034726.75787.qmail@web12801.mail.yahoo.com> <1037159767.66058.34.camel@chowder.localdomain> <200211130530.gAD5UxNt067928@apollo.backplane.com> <011e01c28ade$95d1c280$4004020a@haveblue> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cameron Grant wrote: > null mounts, in -stable at least, are broken for this purpose. on > connection, sshd revoke()s some device- its pty, i assume, and when this > hits the nullfs layer a null pointer is dereferenced. if i had vfs-clue i'd > have fixed it when i found the panic about two weeks ago. when i overcame > this by putting the jails /dev on an nfs loopback, i managed to produce two > more different panics. 1) Use devfs instead. 2) Mount a devfs instance in each jail. Problem solved. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message