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 1R1mQ6-00044E-22 for garchives@archives.gentoo.org; Thu, 08 Sep 2011 21:46:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEE4321C2EE; Thu, 8 Sep 2011 21:45:52 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E5B321C01F for ; Thu, 8 Sep 2011 21:44:56 +0000 (UTC) Received: by wyg36 with SMTP id 36so1271895wyg.40 for ; Thu, 08 Sep 2011 14:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=KcKLfA+8sx3Iy44H9KFSdAieQEdC2O+9Ub6ZG/ZCmCs=; b=S08gNWVNtxZZFyuOSqRQge6A6m2rADKPjd24AqgewG7twUalolxkF+6f2AFkt+Oyzc nPIRebfp5/K/zi+eKgOGL35xAHQCUpmC2lrl1yUbe2IGodi9PH3pNS6yshL44ZXSVQ4A yYxs0Eq9cWvnuD37DKHP+y4IiZYxa0bUG87c0= Received: by 10.227.11.194 with SMTP id u2mr1278305wbu.76.1315518296466; Thu, 08 Sep 2011 14:44:56 -0700 (PDT) Received: from rohan (196-210-153-55.dynamic.isadsl.co.za [196.210.153.55]) by mx.google.com with ESMTPS id fa3sm5606413wbb.3.2011.09.08.14.44.54 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 14:44:55 -0700 (PDT) Date: Thu, 8 Sep 2011 23:44:41 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110908234441.06901191@rohan> In-Reply-To: <20110908212940.GB2338@acm.acm> References: <201108191109.34984.michaelkintzios@gmail.com> <20110908220536.55dd3798@rohan> <1868314.dUVoYqWeDk@pc> <20110908212940.GB2338@acm.acm> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2f1b488cfbace113c4bdff743e530ee4 On Thu, 8 Sep 2011 21:29:40 +0000 Alan Mackenzie wrote: > Hi, all. >=20 > Forgive me butting in at a random place in this rather heated thread, > but .... >=20 > On Thu, Sep 08, 2011 at 10:43:29PM +0200, Michael Schreckenbauer > wrote: > > Am Donnerstag, 8. September 2011, 16:23:36 schrieb Canek Pel=C3=A1ez > > Vald=C3=A9s: > > > > In what valid way does access to /usr become something that > > > > udev may be required to support? >=20 > > > It is a matter of what else do you end having in /bin and /lib. > > > Remember that udev rules can execute arbitrary code. Do all that > > > code needs to be moved to /bin and /lib also? >=20 > > Of course. That's what /bin, /sbin and /lib are for. >=20 > > > I keep telling: it is a difficult problem. >=20 > > No. Just move or copy the binaries and libs *you* use for *your* > > udev-scripts to /bin, /sbin and /lib >=20 > Would it not be possible to have a minimal /usr tree in the root > partition for udev's use at boot time, and to later mount a more > robust /usr partition over this? What am I missing here? A big problem will be that the package manager cannot easily maintain that "phase 1" code as it's under another mount point. Doing so would require the package manager to bind-mount / somewhere and copy updated binaries of essential packages there as well as into the real /usr. Not an insurmountable problem, it just requires changes to all affected packages, and well within the capabilities of distros. As a workaround, it's certainly a fine example. But I suspect it will annoy a lot of users and support people due to this "hidden" code being on the filesystem. If I were a package maintainer, I know I'd feel a little annoyed with having to track yet another trait in my packages. --=20 Alan McKinnnon alan.mckinnon@gmail.com