Your message dated Sat, 17 Nov 2018 02:27:38 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#913919: Policykit-1: 
"...Error executing command as another user: Not authorized..."
has caused the Debian Bug report #913922,
regarding policykit-1: "...Error executing command as another user: Not 
authorized..."
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
913922: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913922
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: policykit-1
Version: 0.105-21
Severity: important

Dear Maintainer,

thunar won't be launched by pkexec:

"pkexec thunar %f
==== AUTHENTICATING FOR org.xfce.thunar ===
Authentication is required to run Thunar as root.
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."


----------------------
auth.log:

Nov 16 19:45:10 xxx polkitd(authority=local): Registered Authentication Agent 
for unix-process:11239:790825 (system bus name :1.142 [pkexec thunar %f], 
object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 16 19:45:16 xxx polkitd(authority=local): Operator of 
unix-process:11239:790825 FAILED to authenticate to gain authorization for 
action org.xfce.thunar for unix-process:11239:790825 [bash] (owned by 
unix-user:x)
Nov 16 19:45:16 xxx pkexec[11316]: x: Error executing command as another user: 
Not authorized [USER=root] [TTY=/dev/pts/3] [CWD=/home/x] 
[COMMAND=/usr/bin/thunar %f]
Nov 16 19:45:16 xxx polkitd(authority=local): Unregistered Authentication Agent 
for unix-process:11239:790825 (system bus name :1.142, object path 
/org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

-----------------------------------------------

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages policykit-1 depends on:
ii  dbus                   1.12.10-1
ii  libc6                  2.27-8
ii  libglib2.0-0           2.58.1-2
ii  libpam-systemd         239-11
ii  libpam0g               1.1.8-3.8
ii  libpolkit-agent-1-0    0.105-21
ii  libpolkit-backend-1-0  0.105-21
ii  libpolkit-gobject-1-0  0.105-21

policykit-1 recommends no packages.

policykit-1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Am 17.11.18 um 01:27 schrieb Awtul:
> Package: policykit-1
> Version: 0.105-21
> Severity: important
> 
> Dear Maintainer,
> 
> thunar won't open via pkexec. I get:
> 
> "pkexec thunar %f
> ==== AUTHENTICATING FOR org.xfce.thunar ===
> Authentication is required to run Thunar as root.
> 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."
> 
> -----------------------------------------
> 
> After executing "pkexec thunar %f" I see in /var/log/auth.log I see:
> 
> Nov 16 19:22:03 my-user-name polkitd(authority=local): Registered 
> Authentication Agent for unix-process:9445:650488 (system bus name :1.129 
> [pkexec thunar %f], object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
> Nov 16 19:22:09 my-user-name polkitd(authority=local): Operator of 
> unix-process:9445:650488 FAILED to authenticate to gain authorization for 
> action org.xfce.thunar for unix-process:9445:650488 [bash] (owned by 
> unix-user:xc)
> Nov 16 19:22:09 my-user-name pkexec[9521]: xc: Error executing command as 
> another user: Not authorized [USER=root] [TTY=/dev/pts/3] [CWD=/home/xc] 
> [COMMAND=/usr/bin/thunar %f]
> Nov 16 19:22:09 my-user-name polkitd(authority=local): Unregistered 
> Authentication Agent for unix-process:9445:650488 (system bus name :1.129, 
> object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale 
> en_US.UTF-8)


Starting X applications via pkexec is not allowed by default. So this
error message is expected.
See the pkexec man page wrt org.freedesktop.policykit.exec.allow_gui


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to