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 1NImHE-0006Cg-DJ for garchives@archives.gentoo.org; Thu, 10 Dec 2009 16:54:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 662D8E09E6; Thu, 10 Dec 2009 16:53:00 +0000 (UTC) Received: from mail-iw0-f201.google.com (mail-iw0-f201.google.com [209.85.223.201]) by pigeon.gentoo.org (Postfix) with ESMTP id 4FAE7E09E6 for ; Thu, 10 Dec 2009 16:53:00 +0000 (UTC) Received: by iwn39 with SMTP id 39so5142759iwn.32 for ; Thu, 10 Dec 2009 08:53:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=afpJZAygrnsVdve2ihja/vJ8ZgX3eGyLk6j0nhSjuOY=; b=FQFObB4RG5jTQfOaXOZvwGy6drRvwKBgz67d+2IqqH1pPWNoLJdedsxLNHXSwgBv4M NM8cvsyaq7bfOjux3XHk6Oi6iZasKjHy8u52SilTV1g2bFJghzz6zKd99wiWXCcBZHUv WEGpEbSft/o2p/Qc2L+SucDzx2OoOQQYrz6jA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=J1mrXlZ7aI/Tpot2Yigo28VObcpEblpfyzH9wtNGinQ0FOkjz4iW7ditlK58AOKV7G 0AaCdhfDVfwRpDAuKhs/5D67RWLB5FSPnJPTQZGUSZtDYZqIEVN9nIJkmxkkd5DxYSDr ndewpW0R/unKff7aFw8uPP6Cj3r7CR8+AsWmA= 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 Received: by 10.231.156.85 with SMTP id v21mr75961ibw.38.1260463979376; Thu, 10 Dec 2009 08:52:59 -0800 (PST) In-Reply-To: <20091210152706.GA31654@princeton.edu> 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> <20091210152706.GA31654@princeton.edu> Date: Thu, 10 Dec 2009 11:52:59 -0500 Message-ID: Subject: Re: [gentoo-user] Problems setting up sshd on an installation kernel From: Joshua Murphy To: gentoo-user Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5c3ac384-3631-47b4-ae75-059044e1408c X-Archives-Hash: 801c4e697e5417076ce393e5e170d441 On Thu, Dec 10, 2009 at 10:27 AM, Willie Wong wr= ote: > On Thu, Dec 10, 2009 at 10:36:41AM +0000, Penguin Lover Alan Mackenzie sq= uawked: >> How did this breakage happen? =C2=A0I would guess that at the time the >> installation procedure was devised, this line >> >> =C2=A0 =C2=A0 # mount -o bind /dev /mnt/gentoo/dev >> >> worked perfectly OK, since /dev didn't have any subdirectories. =C2=A0So= me >> 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 That one only works if the kernel of your install disk is configured to allow multiple instances of devpts to be mounted (CONFIG_DEVPTS_MULTIPLE_INSTANCES) ... I'm in no way certain if that's enabled on the Gentoo generated livecds, currently. --=20 Poison [BLX] Joshua M. Murphy