Bug#765101: systemd: systemctl -t <...> fails to list units, access denied

Michael Biebl biebl at debian.org
Tue Oct 14 01:16:42 BST 2014


Control: reassign -1 systemd-shim
Control: severity -1 important
Control: retitle -1 systemd-shim dbus policy outdated, breaks systemctl

Am 13.10.2014 um 18:26 schrieb Michael Biebl:
> Am 13.10.2014 um 18:24 schrieb Michael Biebl:
>> Am 13.10.2014 um 18:12 schrieb Dominique Brazziel:
>>> Package: systemd
>>> Version: 215-5+b1
>>> Severity: normal
>>>
>>>     When running as non-root, systemctl -t {...} (i.e. systemctl -t socket)
>>> fails with access denied:
>>>
>>>     systemctl -t socket
>>>     Failed to list units:  Access denied.
>>>
>>> Systemd journal shows dbus rejected the send messages.  Attached are the
>>> rejection messages showing the send to destination 'org.freedesktop.systemd1'
>>> on interface 'org.freedesktop.systemd1.Manager' calling method 'ListUnitsFiltered'.
>>> I have not modifed the dbus policy for systemd 
>>> ('/etc/dbus-1/system.d/org.freedesktop.systemd1.conf) which allows those send messages.
>>> I do have another test machine with the same versions of dbus and systemd, which
>>> do not have any problems listing services, sockets, etc.  
>>>
>>> This problem first cropped up after the upgrade from systemd 208 to 215.
>>
>> Do you have systemd-shim installed? Does it help if you purge the package?
> 
> I'm asking because
> /etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf
> looks like the culprit

The user confirmed that removing the systemd-shim dbus policy file fixed
the failure. Therefore re-assigning to systemd-shim which needs to
update it's policy to not break systemd v215


-- 
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/20141014/d60fa6df/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list