Bug#764471: [systemd] logind DBus GetSessionByPID() and GetUserByPID() fail
Marcin Szewczyk
Marcin.Szewczyk at wodny.org
Wed Oct 8 12:10:48 BST 2014
Package: systemd
Version: 215-5+b1
Severity: normal
logind DBus GetSessionByPID() and GetUserByPID() fail even though
ListSeats(), ListSessions() and ListUsers() work. loginctl returns a
list a of seats/sessions.
I suppose this is the reason why polkit-gnome-authentication-agent-1
fails to start with an error:
(polkit-gnome-authentication-agent-1:4794): polkit-gnome-1-WARNING **: Unable
to determine the session we are in: No session for pid 4794
This in turn makes it impossible to do things that policykit requires
authentication for.
My X11 stack (ps fax) looks like this:
/usr/sbin/lightdm
\_ /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
\_ lightdm --session-child 11 20
\_ /usr/bin/lxsession -s LXDE -e LXDE
\_ openbox --config-file /home/wodny/.config/openbox/lxde-rc.xml
session optional pam_systemd.so is present in /etc/pam.d/common-session.
Probably the problem is related to bugs #728361 and #703016.
I use systemv for init. systemd-shim installed.
/sbin/cgmanager --daemon -m name=systemd is running.
--- System information. ---
Architecture: amd64
Kernel: Linux 3.16-2-amd64
Debian Release: jessie/sid
500 testing security.debian.org
500 testing ftp.pl.debian.org
500 stable security.debian.org
500 stable ftp.pl.debian.org
--- Package information. ---
Depends (Version) | Installed
================================================-+-=========================
libacl1 (>= 2.2.51-8) | 2.2.52-2
libaudit1 (>= 1:2.2.1) | 1:2.4-1
libc6 (>= 2.17) |
libcap2 (>= 2.10) |
libcryptsetup4 (>= 2:1.4.3) |
libdbus-1-3 (>= 1.1.1) |
libgcrypt11 (>= 1.5.1) |
libkmod2 (>= 5~) |
liblzma5 (>= 5.1.1alpha+20120614) |
libpam0g (>= 0.99.7.1) |
libselinux1 (>= 2.1.9) |
libsystemd-daemon0 (= 204-14) |
libsystemd-journal0 (= 204-14) |
libudev1 (>= 189) |
libwrap0 (>= 7.6-4~) |
libsystemd-login0 (= 204-14) |
util-linux (>= 2.19.1-2) |
initscripts (>= 2.88dsf-17) |
sysv-rc |
udev |
acl |
adduser |
libcap2-bin |
Recommends (Version) | Installed
=============================-+-===========
libpam-systemd | 215-5+b1
Suggests (Version) | Installed
=========================-+-===========
systemd-ui |
--- Output from package bug script ---
--
Marcin Szewczyk http://wodny.org
mailto:Marcin.Szewczyk at wodny.borg <- remove b / usuń b
xmpp:wodny at ubuntu.pl xmpp:wodny at jabster.pl
More information about the Pkg-systemd-maintainers
mailing list