public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib
  @ 2013-01-11 19:51 99%   ` Daniel Campbell
  0 siblings, 0 replies; 1+ results
From: Daniel Campbell @ 2013-01-11 19:51 UTC (permalink / raw
  To: gentoo-user

On 01/11/2013 09:14 AM, Nikos Chantziaras wrote:
> 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.
> 
> 

Thanks for the command line tip. I wasn't aware of the /lib/ move and
would've had a handful of problems had I not read the list.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-01-11 14:04     [gentoo-user] udev-197 moves from /usr/lib to /lib walt
2013-01-11 15:14     ` [gentoo-user] " Nikos Chantziaras
2013-01-11 19:51 99%   ` Daniel Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox