Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61927 - [libsigrok] debian-specific udev rule mentioning plugdev group, duplicates uaccess rule

Attached to Project: Community Packages
Opened by Antonio Vázquez Blanco (antoniovazquezblanco) - Wednesday, 06 March 2019, 15:21 GMT
Last edited by Filipe Laíns (FFY00) - Thursday, 11 April 2019, 12:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: pulseview <= 0.4.1-2 includes the udev-rule "61-libsigrok-plugdev.rules" in directory "/lib/udev/rules.d", which relies on the group "plugdev". This group doesn't exist by default and is not referred in our wiki. The "plugdev" group seems to be a special group from Ubuntu and is not generally used on GNU/Linux.

The developers of systemd doesn't like this: https://bugzilla.redhat.com/show_bug.cgi?id=815093

I want judge this. But we are relying on systemd. So it seems sane, to follow their policy.
Based on https://bugs.archlinux.org/task/56059
Based on https://bugs.archlinux.org/task/35602.

Extra info:

⇢ journalctl -b
...
Mar 06 15:57:54 X1Arch systemd-udevd[276]: Specified group 'plugdev' unknown
...

⇢ fgrep -r plugdev /{etc,lib}/udev/rules.d
/lib/udev/rules.d/61-libsigrok-plugdev.rules:# Grant access permissions to users who are in the "plugdev" group.
/lib/udev/rules.d/61-libsigrok-plugdev.rules:# "plugdev" is typically used on Debian based distributions and may not
/lib/udev/rules.d/61-libsigrok-plugdev.rules:ACTION!="add|change", GOTO="libsigrok_rules_plugdev_end"
/lib/udev/rules.d/61-libsigrok-plugdev.rules:ENV{ID_SIGROK}=="1", MODE="660", GROUP="plugdev"
/lib/udev/rules.d/61-libsigrok-plugdev.rules:LABEL="libsigrok_rules_plugdev_end"
/lib/udev/rules.d/60-libsigrok.rules:# The access policy is stored in the 61-libsigrok-plugdev.rules and
This task depends upon

Closed by  Filipe Laíns (FFY00)
Thursday, 11 April 2019, 12:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  libsigrok 0.5.1-4
Comment by Antonio Vázquez Blanco (antoniovazquezblanco) - Wednesday, 06 March 2019, 15:23 GMT
Sorry, I think I made a mistake and this should have been opened in libsigrok. Will this do or should I move the issue?

Thanks
Comment by Eli Schwartz (eschwartz) - Wednesday, 10 April 2019, 23:13 GMT
How exactly is this upstream? We should not install code that is debian-specific, and as far as I can tell, we are installing two different udev rules, where upstream created one for debian systems and one for properly using systemd's uaccess. We should, rather, have only installed one of them when initially implementing  FS#60652 
Comment by Eli Schwartz (eschwartz) - Wednesday, 10 April 2019, 23:15 GMT
  • Field changed: Summary ([libsigrok] Udev rules mentioning plugdev group → [libsigrok] debian-specific udev rule mentioning plugdev group, duplicates uaccess rule)
And accumulating duplicates:  FS#62285 

Loading...