udev rules don't match naming scheme.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned | ||
hplip (Ubuntu) |
Triaged
|
Low
|
Unassigned | ||
libgphoto2 (Debian) |
Fix Released
|
Unknown
|
Bug Description
Binary package hint: hplip
hplip installs a file named "/etc/udev/
/etc/udev/
---
Files should be named xx-descriptive-
chosen first according to the following sequence points:
00 rules that it is critical to be run first, usually
only WAIT_FOR_SYSFS
20 rules that change the name from the device from the default
(cannot be overriden)
40 rules that set the permissions of device nodes
(can be overriden by later rules)
---
Since this file just sets the ownership of device nodes that it recognizes to be chown'd lp:scanner, it can be placed in the 40s.
It appears that this name is a result of bug 248093, where the old name conflicted with the file 025_libgphoto2.
It seems like the respective udev rules files should be 45-libgphoto2.rules and 44-hpmud.rules. Is there a good way to make this change without breaking anything?
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: hplip 2.8.7-0ubuntu6
ProcEnviron:
SHELL=/bin/bash
PATH=/
LANG=en_US.UTF-8
SourcePackage: hplip
Uname: Linux 2.6.27-7-generic i686
Changed in libgphoto2: | |
status: | Unknown → New |
Changed in libgphoto2 (Debian): | |
status: | New → Fix Released |
I agree with Adam. The readme has defined a reasonable naming convention that should be adhered to. I further suggest that if there's a reason to deviate from that convention then that reason should be commented inside the .rule file in question so that everyone can figure out why it's out of place without searching the web for days. IMHO, it's part of the reason that the comment option is available. I think this sort of forethought will help push Open Source further ahead of The Dark Side.