Bug 1226689 - icaro udev rules should be moved to /usr/lib/udev/rules.d
Summary: icaro udev rules should be moved to /usr/lib/udev/rules.d
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: icaro
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Omar Berroteran
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1226704
TreeView+ depends on / blocked
 
Reported: 2015-05-31 19:04 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2018-08-11 19:11 UTC (History)
3 users (show)

Fixed In Version: icaro-1.0.7-1.fc25 icaro-1.0.7-1.fc24 icaro-1.0.9-2.fc28
Clone Of:
Environment:
Last Closed: 2018-08-11 19:11:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2015-05-31 19:04:27 UTC
Description of problem:
/etc/udev/rules.d is administrator territory. Please move the rules file to  /usr/lib/udev/rules.d (aka %{_udevrulesdir}).

Version-Release number of selected component (if applicable):
icaro-1.0.4-1.fc22.noarch

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-05-31 19:20:44 UTC
Oh, there's more of those files:

$ rpm -ql icaro-1.0.4-1.fc22.noarch|grep udev|xargs tail -n 300
==> /etc/udev/rules.d/026-microchip.rules <==
#PICKit
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0032", SYMLINK+="pickit1-%k"
#PICKit2
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="04d8", ATTR{idProduct}=="0033", SYMLINK+="pickit2-%k"
#ICD2
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="04d8", ATTR{idProduct}=="8000", SYMLINK+="icd2-%k"
#ICD21
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="04d8", ATTR{idProduct}=="8001", SYMLINK+="icd2-%k"

==> /etc/udev/rules.d/26-microchip.rules <==
#PICKit 1
ATTR{idVendor}=="04d8", ATTR{idProduct}=="feaa", MODE="0660",GROUP="microchip"

==> /etc/udev/rules.d/41-microchip.rules <==
# Pinguino
ATTR{idVendor}=="04d8", ATTR{idProduct}=="feaa", MODE="0660",GROUP="microchip"

==> /etc/udev/rules.d/99-serial.rules <==
KERNEL=="ttyACM*", GROUP="dialout", MODE="0666"

First, 26-microchip.rules and 41-microchip rules seem to be a duplicate.

Second, there is no reason to use such strange numbers: please stick to a single prefix like 60-.

Third, 99-serial.rules is wrong! Mode should be 0660, so that only users in the dialout group can access the device.

And of course everything should still be moved to %{_udevrulesdir}.

Comment 2 Zbigniew Jędrzejewski-Szmek 2015-06-10 02:49:32 UTC
And it seems that there's no microchip group...

Comment 3 Jan Kurik 2015-07-15 14:05:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 4 Fedora End Of Life 2016-11-24 11:50:45 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora Update System 2016-11-27 20:39:51 UTC
icaro-1.0.7-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3b4365d6f1

Comment 6 Fedora Update System 2016-11-27 20:42:35 UTC
icaro-1.0.7-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d873f92374

Comment 7 Fedora Update System 2016-11-28 09:33:56 UTC
icaro-1.0.7-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3b4365d6f1

Comment 8 Fedora Update System 2016-11-28 09:37:00 UTC
icaro-1.0.7-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d873f92374

Comment 9 Fedora Update System 2016-12-05 21:43:13 UTC
icaro-1.0.7-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-12-06 10:26:29 UTC
icaro-1.0.7-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Zbigniew Jędrzejewski-Szmek 2018-07-18 09:09:32 UTC
I still see this in rawhide and F28:

$ dnf repoquery --releasever=rawhide -l icaro|grep udev
/etc/udev/rules.d/026-microchip.rules
/etc/udev/rules.d/26-microchip.rules
/etc/udev/rules.d/41-microchip.rules
/etc/udev/rules.d/99-mm-usb-device-blacklist.rules
/etc/udev/rules.d/99-serial.rules

Comment 12 Fedora Update System 2018-08-03 09:06:07 UTC
icaro-1.0.9-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ba4d91cd86

Comment 13 Fedora Update System 2018-08-03 21:59:17 UTC
icaro-1.0.9-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ba4d91cd86

Comment 14 Fedora Update System 2018-08-11 19:11:44 UTC
icaro-1.0.9-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.