From owner-freebsd-hackers Tue Nov 12 22:31:45 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 95D5037B401 for ; Tue, 12 Nov 2002 22:31:44 -0800 (PST) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58D643E77 for ; Tue, 12 Nov 2002 22:31:43 -0800 (PST) (envelope-from gandalf@vilnya.demon.co.uk) Received: from vilnya.demon.co.uk ([158.152.19.238]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 18Br3q-000OfF-0W; Wed, 13 Nov 2002 06:31:39 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.rings (Postfix) with ESMTP id C784310790; Wed, 13 Nov 2002 06:32:26 +0000 (GMT) Received: from haveblue (haveblue.rings [10.2.4.64]) by vilnya.demon.co.uk (Postfix) with SMTP id 1606D1078E; Wed, 13 Nov 2002 06:32:24 +0000 (GMT) Message-ID: <011e01c28ade$95d1c280$4004020a@haveblue> From: "Cameron Grant" To: "Matthew Dillon" , "Daniel O'Connor" Cc: "Hans Zaunere" , References: <20021113034726.75787.qmail@web12801.mail.yahoo.com> <1037159767.66058.34.camel@chowder.localdomain> <200211130530.gAD5UxNt067928@apollo.backplane.com> Subject: Re: Shared files within a jail Date: Wed, 13 Nov 2002 06:33:31 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 > Try using null mounts. The warning is in there because making the > null mount code work is a real hack and the authors aren't entirely > sure that everything's gotten covered. That said, use of a null mount > is certainly a lot safer if the stuff behind the mount is mostly > static. 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. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message