[Pkg-privacy-maintainers] Bug#818554: tails-installer: Fails unmounting the USB: Not authorized to perform operation

Ilario Gelmetti iochesonome at gmail.com
Sun Dec 4 12:48:53 UTC 2016


Using gksu works.

Checking if polkit is running:

# ps aux |grep polkit
root       452  0.0  0.2  39348  7508 ?        Ssl  10:05   0:00
/usr/lib/policykit-1/polkitd --no-debug

# systemctl status polkit.service
polkit.service - Authorization Manager
   Loaded: loaded (/lib/systemd/system/polkit.service; static; vendor
preset: enabled)
   Active: active (running) since Sun 2016-12-04 10:05:51 CET; 3h 11min ago
     Docs: man:polkit(8)
 Main PID: 452 (polkitd)
      CPU: 299ms
   CGroup: /system.slice/polkit.service
           452 /usr/lib/policykit-1/polkitd --no-debug

Dec 04 10:05:49 satellite systemd[1]: Starting Authorization Manager...
Dec 04 10:05:51 satellite polkitd[452]: started daemon version 0.105
using authority implementation `local' version `0.105'
Dec 04 10:05:51 satellite systemd[1]: Started Authorization Manager.
Dec 04 13:00:25 satellite polkitd(authority=local)[452]: Registered
Authentication Agent for unix-process:2709:526309 (system bus name :1.53
[pkexec whoami], object path /org/freedesktop/PolicyKit1/Authenticati
Dec 04 13:00:30 satellite polkitd(authority=local)[452]: Operator of
unix-process:2709:526309 FAILED to authenticate to gain authorization
for action org.freedesktop.policykit.exec for unix-process:2709:526309
Dec 04 13:00:30 satellite polkitd(authority=local)[452]: Unregistered
Authentication Agent for unix-process:2709:526309 (system bus name
:1.53, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, local

Running "pkexec whoami" results in:

$ pkexec whoami
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/whoami' as the super user
Authenticating as: root
Password:
polkit-agent-helper-1: error response to PolicyKit daemon:
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ===
Error executing command as another user: Not authorized
This incident has been reported.



More information about the Pkg-privacy-maintainers mailing list