Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413025 - sys-auth/pam_usb-0.5.0 scripts fail with python 3
Summary: sys-auth/pam_usb-0.5.0 scripts fail with python 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PAM Gentoo Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-21 21:09 UTC by samurai.no.dojo
Modified: 2012-05-25 11:09 UTC (History)
0 users

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 samurai.no.dojo 2012-04-21 21:09:54 UTC
When trying to use pam_usb components (pamusb-{agent,conf} it fails whe python-3.2 is eselected- -
Suggestion is edit first line of those scripts from 
#!/usr/bin/env python

to something like
#!/usr/bin/env python2.7

 (works for me)



Reproducible: Always

Steps to Reproduce:
1.eselect python 3.2
2.emerge pam_usb
3.run pamusb-conf -d Name -> fail with syntax error
4.eselect python 2.7 and everything is allright
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-05-25 11:09:43 UTC
done