Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56445 - Cups segfaults when using pam_usb
Summary: Cups segfaults when using pam_usb
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 05:21 UTC by Rumba
Modified: 2004-09-01 14:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rumba 2004-07-08 05:21:00 UTC
Hi,

I haven't been able to print for a while. CUPS would just segfault when I tried to login to the admin pages. A friend of mine had the same problem and after disabing all the use flags CUPS was using he got CUPS working again.

After some investigation I fount out the USE="-pam" "fixed" the segfault. I then remembered that I was using pam_usb. After commenting out the pam_usb line from my system-auth cups ran just fine even with the pam useflag turned on.

I don't know if this is a CUPS problem or a pam_usb problem. I you need any more information, please ask and hopefully I can help.

kind regards,

David

Reproducible: Always
Steps to Reproduce:
1.emerge cups with at least the pam useflag turned on
2.emerge pam_usb
3.Add the following line to your system-auth:
auth       sufficient   /lib/security/pam_usb.so check_device=-1
4 Go to the admin page on localhost:631
5 Go to "Manage Printer"
6 Click "Add Printer"
7 Type in your login name and password

Actual Results:  
At this point CUPS segfaults 

Expected Results:  
Let me manage my printers
Comment 1 Andrea Luzzardi 2004-08-02 08:41:51 UTC
Greetings,

You shouldn't be using pam_usb for CUPS authentication.

Anyway, could you try the lastest version of pam_usb (0.3.1) which I pushed
to CVS about 10 minutes ago ? (It's keyworded ~x86).

This release mostly fixes memory management.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-19 01:53:20 UTC
please try the latest version of pam_usb
Comment 3 Rumba 2004-09-01 14:11:29 UTC
Hi, sorry for my late reply. I've tested it and it works fine now. Thanx

kind regards,

David