Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645650 - >=sys-apps/systemd-234 breaks udev because it doesn't look for old files in /usr/lib/udev/rules.d
Summary: >=sys-apps/systemd-234 breaks udev because it doesn't look for old files in /...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-25 03:44 UTC by Soren Harward
Modified: 2018-02-26 17:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soren Harward 2018-01-25 03:44:36 UTC
After upgrading from systemd-233 to systemd-236, my software raid stopped working on boot.  I eventually tracked down the problem to udev.  Since systemd moved from /usr/lib to /lib, it only looks for udev files in /lib/udev/rules.d . Any files installed in /usr/lib/udev/rules.d by other packages (e.g. mdadm, libinput) are still in the old /usr/lib/udev/rules.d directory, and systemd/udev doesn't read them.  The files in /usr/lib/udev/rules.d need to be (1) mv'd manually to /lib/udev/rules.d, (2) symlinked manually to /lib/udev/rules.d, or (3) the packages that installed the files need to be re-emerged.

emerge -1 /usr/lib/udev/rules.d/* works just fine. Maybe these instructions should be added to the 2017-07-16-systemd-rootprefix news item?

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2018-01-25 13:06:46 UTC
Gentoo's systemd hasn't used /usr/lib/udev for several years and have been then it was only enabled for a few months.

We were doing some weird stuff with pkg-config before 234, which probably caused your install to remain under /usr.