Bug 251468 - console.perms change required for HPLIP scanning
console.perms change required for HPLIP scanning
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Tomas Mraz
Fedora Extras Quality Assurance
Depends On:
Blocks: 251470
  Show dependency treegraph
Reported: 2007-08-09 05:54 EDT by Tim Waugh
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-22 15:34:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
pam-scanner.patch (573 bytes, patch)
2007-08-09 05:54 EDT, Tim Waugh
no flags Details | Diff

  None (edit)
Description Tim Waugh 2007-08-09 05:54:15 EDT
Description of problem:
When using the HPLIP backend to use a scanner, the device permissions need to
allow group ownership of the device node.  This is because the same device node
(the raw USB device) is used both for scanning and printing, and it needs group
lp read-write access.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Plug in an HP multi-function device.
2.Try to print something.
3.Try to scan something.
Actual results:
Currently, only printing works.  I have an HPLIP patch to add a 'scanner-%k'
symlink, but if I apply that only scanning works.  Needs this console.perms
patch to make both work.

Expected results:
Can print and scan.
Comment 1 Tim Waugh 2007-08-09 05:54:16 EDT
Created attachment 160960 [details]
Comment 2 Tomas Mraz 2007-08-09 06:18:07 EDT
As pam_console will/should? be replaced with consolekit for F8, this doesn't
make much sense to add to pam.
Comment 3 Tim Waugh 2007-08-09 06:29:48 EDT
As I understand it, console.perms will continued to be honoured by ConsoleKit.

What's a better solution?
Comment 4 Tomas Mraz 2007-08-09 06:45:19 EDT
IMHO only as a legacy thing. I suppose it will have its own configuration file
but I don't know any details.

Comment 5 Tim Waugh 2007-08-09 06:57:58 EDT
Neither do I.  Until we do, let's just fix this (it's a one-character patch) so
that the new HPLIP can actually get some testing.. :-)
Comment 6 Tomas Mraz 2007-08-09 07:10:01 EDT
OK, OK, you've convinced me :)
Comment 7 Tomas Mraz 2007-08-22 15:34:32 EDT
Fixed in pam-

The line will actually be:
<console>  0660 <scanner>    0660 root.lp

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