Bug#764471: [systemd] logind DBus GetSessionByPID() and GetUserByPID() fail

Michael Biebl biebl at debian.org
Wed Oct 8 13:19:39 BST 2014


Am 08.10.2014 um 13:10 schrieb Marcin Szewczyk:
> 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.

Please test if this is reproducible with systemd as PID 1. You don't
need to uninstall sysvinit-core for that.

Just reboot and add init=/lib/systemd/systemd to the kernel command line.


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141008/78b4f969/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list