From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NIksP-0001Eg-Oj for garchives@archives.gentoo.org; Thu, 10 Dec 2009 15:24:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B2FCE0849; Thu, 10 Dec 2009 15:23:31 +0000 (UTC) Received: from sentinel.math.Princeton.EDU (sentinel.math.Princeton.EDU [128.112.16.31]) by pigeon.gentoo.org (Postfix) with ESMTP id 4DFBBE0849 for ; Thu, 10 Dec 2009 15:23:31 +0000 (UTC) Received: from math.princeton.edu ([128.112.18.16] helo=sep.dynalias.net) by sentinel.math.Princeton.EDU with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NIkra-0000WX-5U for gentoo-user@lists.gentoo.org; Thu, 10 Dec 2009 10:23:31 -0500 Received: by sep.dynalias.net (Postfix, from userid 1001) id 4A413589B43; Thu, 10 Dec 2009 10:27:06 -0500 (EST) Date: Thu, 10 Dec 2009 10:27:06 -0500 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problems setting up sshd on an installation kernel Message-ID: <20091210152706.GA31654@princeton.edu> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <20091206144836.GA2599@muc.de> <200912091743.50847.alan.mckinnon@gmail.com> <20091209164611.GE8387@muc.de> <200912092142.56433.alan.mckinnon@gmail.com> <20091210103641.GB1504@muc.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091210103641.GB1504@muc.de> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: ea914168-6b01-4a90-9dff-7a7bee236f86 X-Archives-Hash: a12f99490928baf12f45f7aab0d58f5d On Thu, Dec 10, 2009 at 10:36:41AM +0000, Penguin Lover Alan Mackenzie squawked: > How did this breakage happen? I would guess that at the time the > installation procedure was devised, this line > > # mount -o bind /dev /mnt/gentoo/dev > > worked perfectly OK, since /dev didn't have any subdirectories. Some > time recently, /dev acquired subdirectories (e.g. /dev/pts), but nobody > realised this would render the chrooted system less capable. Just to be pedantic. Not subdirectories. 'mount --bind' binds the directory tree. What /dev picked up was submounts, which is why you issued 'mount --rbind' as a workaround. (The mount manpage I think has something about devpts.) I wonder if 'mount -t devpts devpts /dev/pts' is a better workaround for your problem, though. Cheers, W -- M: Hot almond milk. Best stuff on earth. Sortir en Pantoufles: up 1098 days, 14:03