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 1R2Qn2-0005NT-0E for garchives@archives.gentoo.org; Sat, 10 Sep 2011 16:52:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA69A21C14E; Sat, 10 Sep 2011 16:52:10 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id B0F6221C0DF for ; Sat, 10 Sep 2011 16:50:16 +0000 (UTC) Received: by bkbzt12 with SMTP id zt12so474149bkb.40 for ; Sat, 10 Sep 2011 09:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WXAhEXIpR+w+BhmxUdYSJC2YyZzdMNXS8epjmuovKn4=; b=k83HqgXQ/emZ57vJFsGrkNpV5174QJDl5DIogaOAxxjfUaxE8PMClV7Ujav+d0kvh9 rXQY/r0TlWJ8+N0zHEt/f37zyjQhes+EfrkZL9ZqU55ho8kRcrBXCCt2sP5lgeFvdENm KsS8lRl0oX0gSpKglmPIp/SUhTszhXhIBo9AQ= 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.204.148.67 with SMTP id o3mr197549bkv.258.1315673415845; Sat, 10 Sep 2011 09:50:15 -0700 (PDT) Received: by 10.204.155.79 with HTTP; Sat, 10 Sep 2011 09:50:15 -0700 (PDT) In-Reply-To: References: <201108191109.34984.michaelkintzios@gmail.com> <20110910093659.2f2fdf58@rohan> <201109101124.15694.michaelkintzios@gmail.com> <4E6B8BB8.7040103@gmail.com> Date: Sat, 10 Sep 2011 12:50:15 -0400 Message-ID: Subject: Re: [gentoo-user] /dev/sda* missing at boot From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: e703a19befb1b242e0b82df3ade69d87 On Sat, Sep 10, 2011 at 12:36 PM, Pandu Poluan wrote: > > On Sep 10, 2011 11:22 PM, "Michael Mol" wrote: >> >> As I understand it, nothing of udev itself is in /usr, but instead >> packages and scripts which plug themselves into udev to be triggered >> by various events. >> >> Perhaps the real solution is to circumvent udev and get those other >> packages and scripts to not put hotplug-active files under /usr. >> > > Agree with both your points. > > udev *should* refuse accessing anything under /usr if it's still in the > sysinit phase. After all, that's what the FHS assumed (/usr does not contain > anything required during boot) > > IIRC, one of the most vocal designer of the FHS is Red Hat; if the dev of > udev is also Red Hat-related, shouldn't he at least try to follow FHS's > philosophy? In Portage, we have all kinds of warnings and QA notices pop up when building things. Could we patch udev to throw warnings when files under /usr are accessed? (such as by hooking in via strace and grepping for fopen() calls) -- :wq