Am 08.10.2014 um 14:19 schrieb Michael Biebl: > 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
[..] >> 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. Tested this myself under systemd as PID 1 (systemd-sysv being installed) and GetSessionByPID() and GetUserByPID() work as expected. > [michael@pluto ~]$ ps u -p 32014 > USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND > michael 32014 2.1 0.6 301840 53484 ? Sl 14:25 0:04 > /usr/bin/python /usr/bin/d-feet > [michael@pluto ~]$ loginctl > SESSION UID USER SEAT > c1 109 Debian-gdm seat0 > 1 1000 michael seat0 > > 2 sessions listed. > [michael@pluto ~]$ qdbus --literal --system org.freedesktop.login1 > /org/freedesktop/login1 org.freedesktop.login1.Manager.GetSessionByPID 32014 > [ObjectPath: /org/freedesktop/login1/session/_31] > [michael@pluto ~]$ qdbus --literal --system org.freedesktop.login1 > /org/freedesktop/login1 org.freedesktop.login1.Manager.GetUserByPID 32014 > [ObjectPath: /org/freedesktop/login1/user/_1000] So I suspect this is a bug in systemd-shim or cgmanager. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature