Bug 70665 - /dev/uinput belongs to subsystem misc, not input
Summary: /dev/uinput belongs to subsystem misc, not input
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-20 10:38 UTC by Göran Uddeborg
Modified: 2013-10-21 01:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Göran Uddeborg 2013-10-20 10:38:55 UTC
In /usr/lib/udev/rules.d/50-udev-default.rules there is a rule that says

  SUBSYSTEM=="input", KERNEL=="ts[0-9]*|uinput", MODE="0640"

Still, my /dev/uinput shows up with mode 0600.  After some confusion on my part, I found this Gentoo thread: http://forums.gentoo.org/viewtopic-t-951834-start-0.html which explains that uinput belongs to the subsystem "misc" rather than "input".  Testing the udevadm command suggested in the thread, that is equally true on my Fedora system, as expected.

From what I can understand, this is a bug in the udev rules file.  And that file belongs to the systemd package (systemd-208-2.fc20.x86_64.rpm), why I guess this is the correct place to report.
Comment 1 Kay Sievers 2013-10-21 01:54:49 UTC
Right, the rules make no sense.

I removed them:
  http://cgit.freedesktop.org/systemd/systemd/commit/?id=d1f0e886e1407ab50834127ce52710e1aff13938

See the above commit for some details. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.