Bug 431412

Summary: PA doesn't work with PK ... (I love all those abbreviations)
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: bnocera, davidz, lpoetter, pierre-bugzilla, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-28 16:33:31 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235705    

Description Matěj Cepl 2008-02-04 05:52:50 EST
Description of problem:
[matej@viklef ~]$ pulseaudio --check
W: polkit.c: Failed to show grant dialog: Unable to lookup exe for caller
W: polkit.c: PolicyKit responded with 'auth_admin_keep_always'
[matej@viklef ~]$ 

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

How reproducible:

Steps to Reproduce:
1.run any off pulseaudio {,--check,--kill} commands, or even better pulseaudio
Actual results:
see above, no PK dialog happens
pulseaudio --realtime=yet fails

Expected results:
should get lovely PK dialog asking me for password to allow realtime priority for PA

Additional info:
Comment 1 Tim Waugh 2008-02-22 12:04:32 EST
It's because /usr/bin/pulseaudio is setuid, and so the session service
polkit-gnome-manager can't read /proc/.../exe for it.

[pid 28488] readlink("/proc/28486/exe", 0x7ffff9e59480, 4095) = -1 EACCES
(Permission denied)
Comment 2 David Zeuthen 2008-02-22 12:12:27 EST
The bug is that PA, a daemon with no UI on it's own, calls to show auth dialogs.
This needs to happen from preference dialogs.
Comment 3 Lennart Poettering 2008-03-28 16:33:31 EDT
This has been fixed a while back in PK now. PA and PK are now perfectly
compatible again.