[Pkg-privacy-maintainers] Bug#814190: Bug#814190: tails-installer: tails installer fails to authentication

Kenichiro MATOHARA matoken at gmail.com
Tue Feb 9 16:14:55 UTC 2016


On Tue, 09 Feb 2016 11:20:00 +0100
intrigeri <intrigeri at debian.org> wrote:

> At first glance, it seems that either your user is not allowed to run
> commands as root via polkit, or you don't have working polkit in your
> current desktop session.
>
> Can you try running:
>
>   $ pkexec whoami
>
> ... and report back what's happening?
I tried.

```
$ pkexec whoami
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/whoami' as the super user
Authenticating as: KenichiroMATOHARA,,, (mk)
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.
```

```
$ sudo tail /var/log/auth.log
   :
Feb 10 00:35:17 x220 polkitd(authority=local): Registered Authentication Agent for unix-process:28789:1127161 (system bus name :1.91 [pkexec whoami], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 10 00:35:19 x220 polkitd(authority=local): Operator of unix-process:28789:1127161 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:28789:1127161 [bash] (owned by unix-user:mk)
Feb 10 00:35:19 x220 pkexec[29524]: mk: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/2] [CWD=/home/mk] [COMMAND=/usr/bin/whoami]
Feb 10 00:35:19 x220 polkitd(authority=local): Unregistered Authentication Agent for unix-process:28789:1127161 (system bus name :1.91, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 10 00:35:21 x220 sudo:       mk : TTY=pts/2 ; PWD=/home/mk ; USER=root ; COMMAND=/usr/bin/tail /var/log/auth.log
Feb 10 00:35:21 x220 sudo: pam_unix(sudo:session): session opened for user root by mk(uid=0)
```

> And it worked, right?
It was work properly until the end.
I can use the Tails.


I have tried to change from awesome wm to Gnome.
Authentication seems dialogue is activated is displayed.

```
$ pkexec whoami
root
```

I tried the "Tails Installer" in Gnome. It was operating normally.
It seems to be a problem that occurs in the "awesome wm" environment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-privacy-maintainers/attachments/20160210/ea52a8e4/attachment.sig>


More information about the Pkg-privacy-maintainers mailing list