Bug#763299: systemctl: Failed to get D-Bus connection: Unknown error -1

Cyril Roelandt tipecaml at gmail.com
Sun Sep 28 23:40:16 BST 2014


Package: systemd
Version: 215-5
Severity: normal

Dear Maintainer,

After systemd somehow managed to become PID1 again, despite my previous efforts
to restore sysV as my init system, I realised that closing the lid of my laptop
would cause my computer to disconnect from the network. I tried to fix this by
editing /etc/systemd/logind.conf, as shown below. I then tried to restart the
systemd-logind service:

# systemctl restart systemd-logind
Failed to get D-Bus connection: Unknown error -1

Even just "systemctl" fails:

# systemctl
Failed to get D-Bus connection: Unknown error -1

Even though dbus seems to be running:

# /etc/init.d/dbus status
[ ok ] dbus is running.

Restarting dbus did not solve the issue.

I'd be happy to be able to either restart the systemd-logind service, or manage
to get sysv back as my init system once and for all.


Thanks,
Cyril Roelandt.


-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-53.4
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1
ii  libblkid1       2.20.1-5.9
ii  libc6           2.19-11
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-1
ii  libgcrypt11     1.5.4-3
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-5
ii  sysv-rc         2.88dsf-53.4
ii  udev            215-5
ii  util-linux      2.20.1-5.9

Versions of packages systemd recommends:
ii  dbus            1.8.8-1
ii  libpam-systemd  215-5

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- Configuration Files:
/etc/systemd/logind.conf changed:
[Login]
HandleLidSwitch=ignore


-- no debconf information



More information about the Pkg-systemd-maintainers mailing list