Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56445

Summary: Cups segfaults when using pam_usb
Product: Gentoo Linux Reporter: Rumba <david>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: VERIFIED TEST-REQUEST    
Severity: critical CC: scox, znirkel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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