Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501358 - sys-apps/pcsc-lite-1.8.11 USE=-policykit still builds/fails to build against sys-auth/polkit
Summary: sys-apps/pcsc-lite-1.8.11 USE=-policykit still builds/fails to build against ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 501402 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-15 07:23 UTC by Joe Kappus
Modified: 2014-02-15 21:16 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 Joe Kappus 2014-02-15 07:23:35 UTC
pcsc-lite is unusable and throws these errors into syslog when attempting to open a smartcard.

auth.c:85:IsClientAuthorized() polkit_authority_get_sync failed
winscard_svc.c:329:ContextThread() Rejected unauthorized PC/SC client

This shouldn't happen with -polkit.  


Reproducible: Always

Steps to Reproduce:
1. Build with libusb || udev != polkit
2. Attempt to open smartcard (ie. gpg --card-status)
3. Watch as tries to use polkit and fail.



Downgraded to 1.8.10 which works fine.
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2014-02-15 09:15:52 UTC
Same for me: the configure script enabled polkit.

So, if it is mandatory, please add it as dependancy, or switch it with a USE flag.
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2014-02-15 10:20:12 UTC
(In reply to Xavier Miller from comment #1)
> Same for me: the configure script enabled polkit.
> 
> So, if it is mandatory, please add it as dependancy, or switch it with a USE
> flag.

The ebuild do it. But the configuration don't like polkit disabled...
Comment 3 Petr Pisar 2014-02-15 10:38:40 UTC
I got the same error even if 1.8.1 is built without policykit use flag. I guess the configure does honor disabling polkit properly.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2014-02-15 11:32:30 UTC
Sorry, my fault. It seemed to work, it seems like it didn't.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2014-02-15 11:59:43 UTC
Fixed in -r1, sorry!
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-15 21:14:37 UTC
*** Bug 501402 has been marked as a duplicate of this bug. ***