[Pkg-utopia-maintainers] Bug#804183: dbus fails to start, circular inclusion of *.dpkg-bak
Brent S. Elmer
webe3vt at aim.com
Thu Nov 5 20:40:53 UTC 2015
Package: dbus
Version: 1.10.2-1
Severity: serious
dbus just broke my system. I had dbus 1.10.0-3 installed on my system then I
upgraded to 1.10.2-1. After some series of upgrades, bluetooth stopped working
so I was reverting packages that I had recently upgraded one of which was dbus.
So, I downgraded dbus from 1.10.2-1 back down to 1.10.0-3. After I did this,
my computer failed to boot. I was able to boot into recovery mode.
Using the journal, I found this:
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static; vendor preset:
enabled)
Active: failed (Result: exit-code) since Thu 2015-11-05 13:39:34 CST; 8min
ago
Docs: man:dbus-daemon(1)
Process: 812 ExecStart=/usr/bin/dbus-daemon --system --address=systemd:
--nofork --nopidfile --systemd-activation (code=exited, status=1/FAILURE)
Main PID: 812 (code=exited, status=1/FAILURE)
Nov 05 13:39:09 brente systemd[1]: Started D-Bus System Message Bus.
Nov 05 13:39:09 brente dbus-daemon[812]: Failed to start message bus: Circular
inclusion of file '/etc/dbus-1/system.conf.dpkg-bak'
Nov 05 13:39:34 brente systemd[1]: dbus.service: Main process exited,
code=exited, status=1/FAILURE
Nov 05 13:39:34 brente systemd[1]: dbus.service: Unit entered failed state.
Nov 05 13:39:34 brente systemd[1]: dbus.service: Failed with result 'exit-
code'.
Here is what /etc/dbus-1 looks like:
lrwxrwxrwx 1 root root 30 Nov 5 09:24 session.conf ->
/usr/share/dbus-1/session.conf
lrwxrwxrwx 1 root root 30 Nov 3 13:23 session.conf.dpkg-bak ->
/usr/share/dbus-1/session.conf
-rw-r--r-- 1 root root 828 Sep 15 17:09 session.conf.dpkg-new
drwxr-xr-x 2 root root 4096 May 27 17:12 session.d
lrwxrwxrwx 1 root root 29 Nov 5 09:24 system.conf ->
/usr/share/dbus-1/system.conf
lrwxrwxrwx 1 root root 29 Nov 3 13:23 system.conf.dpkg-bak ->
/usr/share/dbus-1/system.conf
-rw-r--r-- 1 root root 823 Sep 15 17:09 system.conf.dpkg-new
drwxr-xr-x 2 root root 4096 Nov 4 15:02 system.d
/usr/share/dbus-1/system.conf has the following which I commented out to help
fix the problem:
<!-- Include legacy configuration that was preserved in a Debian upgrade,
if any -->
<!-- include ignore_missing="yes">/etc/dbus-1/system.conf.dpkg-bak</include>
-->
You can see the circular dependency. However, we are not done yet. That fixes
that problem but gdm3 still will not start.
I found the following in syslog after commenting system.conf as above and
rebooting:
Nov 5 14:04:49 brente /usr/bin/dbus-launch[1953]: Failed to start message bus:
Circular inclusion of file '/etc/dbus-1/session.conf.dpkg-bak'
Nov 5 14:04:49 brente /usr/bin/dbus-launch[1953]: EOF in dbus-launch reading
address from bus daemon
N
I found the following in session.conf and commented it out:
<!-- Include legacy configuration that was preserved in a Debian upgrade,
if any -->
<!-- include ignore_missing="yes">/etc/dbus-1/session.conf.dpkg-bak</include>
-->
You can see the circular dependency there also.
So, I don't know what the intent was with including the dpkg-bak in the two
..conf files but it causes severe breakage. I wasted a whole day tracking this
down.
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages dbus depends on:
ii adduser 3.113+nmu3
ii libapparmor1 2.10-2+b1
ii libaudit1 1:2.4.4-4
ii libc6 2.19-22
ii libcap-ng0 0.7.4-2
ii libdbus-1-3 1.10.2-1
ii libexpat1 2.1.0-6+deb8u1
ii libselinux1 2.3-2
ii libsystemd0 226-4
ii lsb-base 4.1+Debian13+nmu1
dbus recommends no packages.
Versions of packages dbus suggests:
ii dbus-x11 1.10.2-1
Versions of packages dbus is related to:
ii dbus-x11 1.10.2-1
ii systemd 226-4
ii systemd-sysv 226-4
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list