[Bug 552404] Re: dbus fails to be configured in chroots

Alkis Georgopoulos 552404 at bugs.launchpad.net
Fri Jan 21 11:03:04 UTC 2011


Attaching a debdiff that adds a simple "|| true" in dbus.postinst to
solve the problem.

Please backport it to lucid-updates, as the recent 1.2.16-2ubuntu4.1
security update has "broken" a lot of chroots, e.g. for LTSP users.

For anyone that wants this before it's backported, I've uploaded a fixed version in the ppa for Greek schools:
https://launchpad.net/~ts.sch.gr/+archive/ppa/+sourcepub/1450007/+listing-archive-extra

** Patch added: "dont_fail_in_chroots.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/552404/+attachment/1801529/+files/dont_fail_in_chroots.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/552404

Title:
  dbus fails to be configured in chroots

Status in “dbus” package in Ubuntu:
  New

Bug description:
  Binary package hint: dbus

  Similar to #441100, but I'm not sure if it's a duplicate, so I'm
  filing it separately.

  While upgrading my Lucid/i386 chroot, I got this error:
  "Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory"

  The result was that dbus and all of the packages that depend on it
  were left in an unconfigured state, breaking my chroot.

  Looking at dbus.postinst, the problem seems to be this line:
    dbus-send --print-reply --system --type=method_call \
  	--dest=org.freedesktop.DBus \
    / org.freedesktop.DBus.ReloadConfig > /dev/null

  I believe this should either have an "if we_are_not_in_a_chroot" in front of it,
  or an "|| true" at the end of it, as detecting chroots can be difficult.





More information about the Ubuntu-sponsors mailing list