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 E3435138434 for ; Sat, 12 Jan 2013 21:13:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E59FCE00C2; Sat, 12 Jan 2013 21:13:05 +0000 (UTC) Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF066E06EE for ; Sat, 12 Jan 2013 21:10:38 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id k13so3561533iea.8 for ; Sat, 12 Jan 2013 13:10:38 -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=mVZwzkl5mBzXgM+KStgSF8n0cBGTEqTDZUzsz3KTzuY=; b=Rw0YnreWcTQFxeG7Jz6uav2eSzn/gqNAaYawXmOaCJ6EfiP33NoBlpWffewK6SdtJQ TOKyV89QX9mEEs70CxiaPAAfFNI319/ZQ6+l/MU5Zg5JU9HtjZ8iy27RXSzzowasZbJ8 vemMIy+OPPXwz4sdnN31oEfF68BKst+jKWtPC39nplDZqD7VTiMnrrE5qR4F4EjJy94A gjr5SbfthVu94m7145tGhWjRb2ebMmFKJwPRZX1bneGt5t6lApBzK6ZMt7mCRcp4wqss s4B33ZLSymohnvyoPTQlaj+cbFs4AAMocufFn5YN4b7Fq8F3U0XsC97AYI8J0xJEQ2ZH G34w== 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.190.199 with SMTP id gs7mr2522789igc.89.1358010069786; Sat, 12 Jan 2013 09:01:09 -0800 (PST) Received: by 10.64.32.195 with HTTP; Sat, 12 Jan 2013 09:01:09 -0800 (PST) In-Reply-To: <1357988420.13695.0@numa-i> References: <1357988420.13695.0@numa-i> Date: Sat, 12 Jan 2013 11:01:09 -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: 6f101a9e-b831-4936-829b-505051f57d4d X-Archives-Hash: 617827b7815b97bf32debd1984945990 On Sat, Jan 12, 2013 at 5:00 AM, Helmut Jarausch wrote: > On 01/11/2013 03:04:01 PM, walt wrote: >> >> This seems to me like very happy news indeed, but I'm interested in >> contrary >> opinions. There's a recent thread discussing how udev-197 breaks lvm2, >> but >> that's a trivial fix once you know about it. >> >> The problem is caused because many apps including lvm2 install their ude= v >> config scripts in /usr/lib/udev/rules.d/ (where they never belonged in t= he >> 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* >> installing >> 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 >> until >> its udev scripts are in the correct directory. >> >> Doesn't this seem to fix the problem with booting a separate /usr >> partition? > > > Hi, does anybody know if files in /etc/udev/rules.d like 10-local.rules > have to be moved to a different place? No; check src/udev/udev-rules.c, udev_rules_new(), which starts at 1578: rules->dirs =3D strv_new("/etc/udev/rules.d", "/run/udev/rules.d", "/usr/lib/rules.d", "/lib/rules.d", UDEVLIBEXECDIR "/rules.d", NULL); /etc/udev/rules.d has always been the first dir scanned for rules (which means the rules in /etc will override any other rule), and as far as I know nobody has ever suggested to move or change that. 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