[systemd-bugs] [Bug 90041] udevd affected by instance in early user space / does not apply udev rules as expected/logged

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 21 01:14:50 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90041

--- Comment #4 from Tom Yan <tom.ty89 at gmail.com> ---
According to the discussion here:
http://www.spinics.net/lists/linux-usb/msg124033.html, the hid-generic module
is responsible for setting the default value to "enabled".

>From my further testings, I can see that, if the hid-generic module is not
loaded in early user space, either because the time is not enough, or it is
excluded/blacklisted from/in the initcpio (while sufficient time is given, e.g.
sleep 5), the udev rule applied would be overrided by the behaviour of the
module; while if it is loaded before, that would not happen.

Then I run the following command after the udev rules are properly applied:
 # modprobe -r hid-generic; modprobe hid-generic
The result is, the value is set to "enabled" again.

So it seems that THE ACTUAL PROBLEM IS: udevd apply the udev rule before
hid-generic is loaded.

BUT this is true ONLY IF if it's a fact, the module won't be loaded again later
if (or loaded in the same way as) the module is loaded in the early user space,
which I am not sure about.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150421/5793cd57/attachment.html>


More information about the systemd-bugs mailing list