Am 11.03.2016 um 15:53 schrieb Sandro Tosi: > Hey there! > on a Jessie system, i would like to run systemctl status as a non > privileged user, like myself, but I got: > > $ systemctl status > Failed to get D-Bus connection: No such file or directory > > (stracing it, it tries to access /var/run/dbus/system_bus_socket which > doesnt exist as we dont run dbus there), while running as root (or via > sudo) works just fine: > > $ sudo systemctl status >/dev/null ; echo $? > 0 > > is there a way to run 'systemctl status' as a normal user?
Install dbus. If you run as root, systemd has a fallback to a private dbus connection (that doesn't running a running dbus daemon) which is not accessible for unprivileged users. -- 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
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
