Bug#806922: systemctl do not work for non-root
Juhapekka Tolvanen
juhtolv at iki.fi
Thu Dec 3 08:27:50 GMT 2015
On Thu, 03 Dec 2015, +05:02:17 EET (UTC +0200),
Michael Biebl <biebl at debian.org> pressed some keys:
> Control: severity -1 normal
> Control: tags -1 moreinfo
>
>
> Hi
>
> Am 03.12.2015 um 03:02 schrieb Juhapekka Tolvanen:
> >
> > juhtolv at heresy | to 03 joulu 2015 03:52:26 | 10000 | pts/1.1
> > /home/juhtolv
> > % systemctl --user status --all
> > Failed to get D-Bus connection: Yhteys torjuttu
>
> What's the output (as root) for
> systemctl status dbus.service dbus.socket
-=*[ROOT ZSH]*=- root at heresy | Thu 03 Dec 2015 05:05:44 | 702 |
pts/20.1
/root
# systemctl status dbus.service dbus.socket
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static)
Active: active (running) since Thu 2015-12-03 03:51:05 EET; 6h
ago
Docs: man:dbus-daemon(1)
Main PID: 708 (dbus-daemon)
CGroup: /system.slice/dbus.service
└─708 /usr/bin/dbus-daemon --system
--address=systemd: --nofork --nopidfile --systemd-activation
Dec 03 03:52:05 heresy org.blueman.Mechanism[708]: Unable to init
server: Could not connect: Connection refused
Dec 03 03:52:05 heresy org.blueman.Mechanism[708]: Unable to init
server: Could not connect: Connection refused
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: Exception
AttributeError: "'NoneType' object has no attribute 'stdout'" in
<bound method Tee.__del__ of <__mai...>> ignored
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: Starting
blueman-mechanism
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: loading Ppp
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: loading Config
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: loading RfKill
Dec 03 03:52:33 heresy org.blueman.Mechanism[708]: loading Network
Dec 03 03:58:21 heresy dbus[708]: [system] Activating via systemd:
service name='org.freedesktop.ConsoleKit'
unit='console-kit-daemon.service'
Dec 03 03:58:21 heresy dbus[708]: [system] Successfully activated
service 'org.freedesktop.ConsoleKit'
● dbus.socket - D-Bus System Message Bus Socket
Loaded: loaded (/lib/systemd/system/dbus.socket; static)
Active: active (running) since Thu 2015-12-03 03:51:05 EET; 6h
ago
Listen: /var/run/dbus/system_bus_socket (Stream)
Hint: Some lines were ellipsized, use -l to show in full.
> What's the output of loginctl?
-=*[ROOT ZSH]*=- root at heresy | Thu 03 Dec 2015 10:25:32 | 704 |
pts/20.1
/root
# loginctl
SESSION UID USER SEAT
c1 110 lightdm seat0
1 1000 juhtolv seat0
2 sessions listed.
> Please list the contents of /etc/dbus-1/system.d/
-=*[ROOT ZSH]*=- root at heresy | Thu 03 Dec 2015 10:24:44 | 703 |
pts/20.1
/root
# ls /etc/dbus-1/system.d/
avahi-dbus.conf
org.freedesktop.Accounts.conf org.freedesktop.PackageKit.conf
org.freedesktop.UPower.conf
bluetooth.conf
org.freedesktop.ColorManager.conf org.freedesktop.PolicyKit1.conf
org.kde.auth.conf
com.hp.hplip.conf
org.freedesktop.DisplayManager.conf org.freedesktop.realmd.conf
org.kde.kcontrol.kcmremotewidgets.conf
com.redhat.NewPrinterNotification.conf
org.freedesktop.GeoClue2.Agent.conf
org.freedesktop.RealtimeKit1.conf
org.opensuse.CupsPkHelper.Mechanism.conf
com.redhat.PrinterDriversInstaller.conf
org.freedesktop.GeoClue2.conf org.freedesktop.systemd1.conf
pulseaudio-system.conf
com.ubuntu.SoftwareProperties.conf
org.freedesktop.hostname1.conf
org.freedesktop.SystemToolsBackends.conf wpa_supplicant.conf
ConsoleKit.conf org.freedesktop.locale1.conf
org.freedesktop.timedate1.conf
dnsmasq.conf org.freedesktop.login1.conf
org.freedesktop.UDisks2.conf
org.blueman.Mechanism.conf
org.freedesktop.machine1.conf org.freedesktop.UDisks.conf
> Is the problem reproducible after a reboot/relogin?
I'll try that reboot right after sending this E-Mail.
--
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Beibi, sä et tarvii mitään muuta, jos saat suudella mun punaista suuta."
Haloo Helsinki!
"Mä aattelin, etten mä ees tarvii muuta, ku sut ja pari levyy Hüsker Düta."
Paperi T
More information about the Pkg-systemd-maintainers
mailing list