Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 905143

Summary: udev rules in the wrong place
Product: Red Hat Enterprise Linux 6 Reporter: Tim Waugh <twaugh>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: bjrosen, isenfeld, joost.ringoot, mnavrati, pknirsch, psklenar
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.12.4-6.el6 Doc Type: Bug Fix
Doc Text:
Previously, the udev rules files were not in the correct location on the file system. As a consequence, permissions on the device node after connecting a device were insufficient. This update moves the udev rules files to the correct location, and udev rules now work correctly in the described situation.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-19 08:46:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Waugh 2013-01-28 16:56:02 UTC
Description of problem:
The hplip 3.12.4 re-base puts its udev rules in the wrong location.  Instead of /usr/lib/udev/rules.d it should be /lib/udev/rules.d.

Version-Release number of selected component (if applicable):
hplip-3.12.4-4.el6

Steps to Reproduce:
1.Connect a multi-function device.
2.Try scanning.
  
Actual results:
Insufficient permissions on device node.

Comment 2 Phil Knirsch 2013-01-30 14:58:26 UTC
Proposing as a blocker as without the very simple fix scanning with locally attached scanners would be completely broken and a regression from RHEL-6.3.

Thanks & regards, Phil

Comment 3 Phil Knirsch 2013-01-30 16:04:45 UTC
After discussion we agreed that local scanners aren't a critical use case so we're moving the fix to be addressed in RHEL-6.5.

Thanks & regards, Phil

Comment 8 Tim Waugh 2013-05-13 14:15:37 UTC
*** Bug 893003 has been marked as a duplicate of this bug. ***

Comment 9 Tim Waugh 2013-05-17 13:39:27 UTC
*** Bug 962606 has been marked as a duplicate of this bug. ***

Comment 12 Joost Ringoot 2013-10-30 21:00:11 UTC
xsane works for root. 

I tried  working around the issue by making symbolic links in /lib/udev/rules.d to all the files in: /usr/lib/udev/rules.d/*

like this:
ln -s /usr/lib/udev/rules.d/* /lib/udev/rules.d/

xsane still doesn't work for the user.

I removed the links and copied the files from /usr/lib/udev/rules.d to /lib/udev/rules.d 

xsane still doesn't work for the user.

If you have a workaround, please add it as a comment.

Thanks,

Comment 13 Joost Ringoot 2013-10-30 21:13:23 UTC
Correction on the previous comment: copying the files to the correct location helps,... only after reboot.
Udev rules are read only at boot.

Comment 19 errata-xmlrpc 2014-06-19 08:46:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0767.html