Bug#782134: systemctl TAB-completion for unit names does not work when not root
Michael Biebl
biebl at debian.org
Wed Apr 8 11:38:29 BST 2015
Hi Zack!
Am 08.04.2015 um 12:26 schrieb Stefano Zacchiroli:
> When as non root, I do this:
>
> $ systemctl start l<TAB>
>
> I get this error:
>
> Failed to list units: Access denied
>
> and TAB completion fail to complete. ("l" is just a sample prefix, TAB
> completion for unit names doesn't work with any prefix, including the empty
> one.)
>
> OTOH it works fine as root.
>
> After a brief discussion on #debian-devel, it seems that the above works for
> others, using the same version of systemd. So it might be specific to my
> system, but AFAICT I haven't customized systemd in any way, so I don't know
> what might be causing it.
>
Do you have systemd-shim installed or had it installed in the past
without purging it?
I remember an old bug report where the dbus policy shipped by
systemd-shim broke systemd.
Can you attach the output of ls -la /etc/dbus-1/system.d
--
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: 834 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150408/f3e0da1e/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list