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 1R1lrP-0001FO-Fe for garchives@archives.gentoo.org; Thu, 08 Sep 2011 21:10:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9CC621C456; Thu, 8 Sep 2011 21:09:07 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 67B3021C42A for ; Thu, 8 Sep 2011 21:04:40 +0000 (UTC) Received: by wwf25 with SMTP id 25so359997wwf.10 for ; Thu, 08 Sep 2011 14:04:39 -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=f7vYqaF1rTpf+VjfFnOR6GnS+y0HsyT3W9NjzI9TaUc=; b=ekzz3bnQqzXfCQYpBkqws7dP88z/lZDyRNOcTKjNSZRTXEe2PD1tmBa+vBpvsrj9yu USJtI1UytQDxMwWkBvicubr1ia6G+B7pMdfLOyMqTp259OWMZXZGeTgzJyo26BTVD+0o wS5ypfLicQMZda+Xw90ceZM/4IZkf9GY6hKYo= Received: by 10.216.169.133 with SMTP id n5mr1216927wel.59.1315515879315; Thu, 08 Sep 2011 14:04:39 -0700 (PDT) Received: from rohan (196-210-153-55.dynamic.isadsl.co.za [196.210.153.55]) by mx.google.com with ESMTPS id m2sm5516405wbp.5.2011.09.08.14.04.36 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 14:04:38 -0700 (PDT) Date: Thu, 8 Sep 2011 23:04:32 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110908230432.58a4c40a@rohan> In-Reply-To: References: <201108191109.34984.michaelkintzios@gmail.com> <4842477.AF29R6J79c@pc> <12534676.jn0Id4Zse9@pc> <20110908220536.55dd3798@rohan> 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: e5b8b169b50c49080b2c74eceb380b9e On Thu, 8 Sep 2011 16:23:36 -0400 Canek Pel=C3=A1ez Vald=C3=A9s wrote: > 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? Why should it not move to /bin and /lib? Is there a valid case where udev can and should execute arbitrary code that is completely under the control of a *non-root* user? We are discussing device nodes. That to me is a root-only function. Root can access /. The package manager runs as root. Simply put all code that udev runs into /bin, /sbin and /lib. Why not restrict the location of said code to the one place where root is guaranteed to always be able to get to it? It's a reasonable restriction - the code must be guaranteed to exist on the same partition as /, where it is guaranteed to be accessible. > I keep telling: it is a difficult problem. And I maintain it is the same problem. It is code that is required for a minimal system to run. --=20 Alan McKinnnon alan.mckinnon@gmail.com