[Bash-completion-devel] Bug#808478: systemctl fails to autocomplete without dbus

Joonas Kylmälä j.kylmala at gmail.com
Sun Dec 20 13:47:27 UTC 2015


Package: bash-completion
Version: 1:2.1-4

When I try to get a list of available services that can be used with
'systemctl status' by using tab completion I get "Failed to get D-Bus
connection: Connection refused" error message.

$ sudo systemctl status [TAB]Failed to get D-Bus connection: Connection refused

The error occurs also with other systemctl commands like start, stop or cancel.

This problem can be fixed by installing dbus package. Maybe having
dbus as a dependency for bash-completion would be a solution for this
problem?

My system information with 'uname -a':
Linux <hostname> 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1
(2015-12-14) x86_64 GNU/Linux

Also during the installation of this Debian Jessie system I deselected
everything from the menu where I was asked which software I wanted to
install.



More information about the Bash-completion-devel mailing list