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 90DD01383F8 for ; Fri, 11 Jan 2013 15:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B564321C03C; Fri, 11 Jan 2013 15:16:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 275B421C00F for ; Fri, 11 Jan 2013 15:15:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 63DCF33DA91 for ; Fri, 11 Jan 2013 15:15:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: 0.253 X-Spam-Level: X-Spam-Status: No, score=0.253 tagged_above=-999 required=5.5 tests=[AWL=-0.948, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NTiJM3UMdEFv for ; Fri, 11 Jan 2013 15:15:21 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF14B33DA4D for ; Fri, 11 Jan 2013 15:15:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TtgKP-0001Ul-R8 for gentoo-user@gentoo.org; Fri, 11 Jan 2013 16:15:29 +0100 Received: from athedsl-353433.home.otenet.gr ([85.72.236.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2013 16:15:29 +0100 Received: from realnc by athedsl-353433.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jan 2013 16:15:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib Date: Fri, 11 Jan 2013 17:14:43 +0200 Organization: Lucas Barks Message-ID: References: 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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-353433.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: X-Archives-Salt: 99e70390-0bab-4a5d-8093-7184cc03e13d X-Archives-Hash: 6263d7dffc233b5557eda0cbad12bd12 On 11/01/13 16:04, 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 udev > config scripts in /usr/lib/udev/rules.d/ (where they never belonged in the > 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. Running this command (all in one line): emerge -p1 $(for p in $(qfile -Cvq $(find /usr/lib/udev/) | sort -u); do echo "=$p"; done) should re-emerge all packages that still have files there. After that, /usr/lib/udev should no longer exist. If it still does, then there are files in it that don't belong to any package. Check them manually and delete them as needed or move them over. Then delete /usr/lib/udev.