From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8C0921383FE for ; Fri, 11 Jan 2013 16:44:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C087721C03E; Fri, 11 Jan 2013 16:44:09 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EFEF21C05F for ; Fri, 11 Jan 2013 16:42:37 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f27so322975iae.39 for ; Fri, 11 Jan 2013 08:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=a12H2WhxXFDZKP0JcedAZdkLIWPhgAq+pf7xf+88rOU=; b=t6pYvL59wvIR0PBLst4WTEy3mm9IfYUfWVhFtfP03ituFA+tvFuPK1zgRVq/ndurD8 jSEyhVyV0m7XYtu0IAgK+ZFEKrlVwfYxNoo0cNFo6wVPy5PkdNyR7W4ai1vgXLZUeMuU CvTMI7B3aBhrvnQKNmFJoU6m789pvrLQMJYhqwhXBXhoI8AFQDCy1DXyb/lQTKGS67C7 jhpAY2PtuPe9tgUSV0UeLZSXJeIIs9eJQV4iqS4h6OmNVmf1YcMW62NMXGLDlMOBmBzf PHv2o4z02CnanQ2wWDz4uG1gTsoZvsciSu0mMXdao6tScJMSsQnk9c9z0E1WEC/bj4DV q3rw== 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.50.33.138 with SMTP id r10mr9317576igi.6.1357922557228; Fri, 11 Jan 2013 08:42:37 -0800 (PST) Received: by 10.64.32.195 with HTTP; Fri, 11 Jan 2013 08:42:37 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Jan 2013 10:42:37 -0600 Message-ID: Subject: Re: [gentoo-user] udev-197 moves from /usr/lib to /lib From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 93e07d49-6551-4458-9799-bd7e96e036df X-Archives-Hash: 6c3146992ae9f910a9bec58e50c93058 On Fri, Jan 11, 2013 at 8:04 AM, walt wrote: > This seems to me like very happy news indeed, but I'm interested in contr= ary > opinions. There's a recent thread discussing how udev-197 breaks lvm2, b= ut > that's a trivial fix once you know about it. > > The problem is caused because many apps including lvm2 install their udev > config scripts in /usr/lib/udev/rules.d/ (where they never belonged in th= e > first place IMO) and they should instead now go in /lib/udev/rules.d/. > All you need to do is to re-emerge all of those packages *after* installi= ng > udev-197 and the config scripts will go in the correct place. > > You should do this before rebooting the machine because lvm2 won't work u= ntil > its udev scripts are in the correct directory. > > Doesn't this seem to fix the problem with booting a separate /usr partiti= on? No, because the problem has never been in udev (nor systemd, for that matter). It fixes how *Gentoo* packages udev; probably the devs read the following comment from Lennart (note it was written almost a month ago): https://plus.google.com/u/0/115547683951727699051/posts/jcCjMct3SJ3 Certainly, <=3Dsys-fs/udev-171-r9 didn't use --with-rootprefix in the ebuil= ds. That's the reason Greg and many others were so dubious about eudev: one of the primary reasons for the fork to exist is supposedly to support a separate /usr without an initramfs... but that has *always* been supported by udev. And systemd, for that matter. systemd/udev prints a warning if it doesn't finds /usr at early boot, but both work in such configuration without any problem (if configured properly by the distribution, which apparently in Gentoo's case wasn't true). So, no, it doesn't "fix" the separate /usr problem, because that has never been a problem of udev nor systemd. And it's not going to be "fixed" by eudev either, for the same reason. But it fixes how udev it's packaged in Gentoo, which is very good news. I haven't upgraded, since I need systemd-197 also (which wasn't yet in the tree yesterday), and I don't use LVM, but I'm wondering if the LVM problem happens when you use an initramfs. I'm guessing it doesn't, since udev should read rules from /lib/udev/rules.d AND /usr/lib/udev/rules.d. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico