[quantal] dbus: upgrade fails in chroot

Bug #1032915 reported by Martin-Éric Racine
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Setting up dbus (1.6.4-1ubuntu1) ...
Installing new version of config file /etc/init/dbus.conf ...
Failed to open connection to "system" message bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
 subprocess installed post-installation script returned error exit status 1

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: dbus 1.6.4-1ubuntu1
Uname: Linux 3.2.0-3-686-pae i686
NonfreeKernelModules: cpufreq_stats cpufreq_conservative cpufreq_powersave cpufreq_userspace parport_pc ppdev lp parport bnep rfcomm bluetooth uinput ecryptfs dm_crypt dm_mod arc4 snd_hda_codec_idt iwl4965 snd_hda_intel iwl_legacy snd_hda_codec mac80211 snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm cfg80211 snd_page_alloc snd_seq_midi snd_seq_midi_event snd_rawmidi joydev pcmcia snd_seq snd_seq_device snd_timer iTCO_wdt snd yenta_socket pcmcia_rsrc pcmcia_core dell_wmi sparse_keymap iTCO_vendor_support soundcore acpi_cpufreq mperf psmouse i2c_i801 serio_raw evdev rng_core coretemp battery processor ac ext4 crc16 jbd2 mbcache btrfs crc32c libcrc32c zlib_deflate usbhid hid sd_mod crc_t10dif dell_laptop ata_generic i915 rfkill power_supply dcdbas ata_piix libata uhci_hcd scsi_mod i2c_algo_bit drm_kms_helper sdhci_pci drm ehci_hcd sdhci mmc_core firewire_ohci tg3 libphy video wmi firewire_core crc_itu_t button thermal usbcore i2c_core thermal_sys usb_common
ApportVersion: 2.4-0ubuntu6
Architecture: i386
Date: Sat Aug 4 10:47:51 2012
ProcEnviron:
 LANGUAGE=fi_FI:en
 TERM=xterm
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
SourcePackage: dbus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dbus (Ubuntu):
status: New → Confirmed
Revision history for this message
gregrwm (gregrwm) wrote :

i installed quantal core (2012-10-16 ubuntu-core-12.10-core-amd64.tar.gz) in a chroot, then, installing dbus yields:

Setting up dbus (1.6.4-1ubuntu4) ...
start: Unknown job: dbus
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error processing dbus (--configure):
 subprocess installed post-installation script returned error exit status 1

as a result, dbus, and all packages that depend upon it, remain "unconfigured", causing app failures (eg gnucash fails to find config data).

this appears nearly identical to Bug #728434 albeit that bug claims to be fixed

Revision history for this message
fa2k (pmb) wrote :

Is there a way to work around this bug, to install packages which depend on dbus, while waiting for a proper fix? (I don't think I even need a dbus daemon in the chroot, because I have set up bind-mounts for it to communicate with the main system's dbus and changed the machine_id)

Revision history for this message
fa2k (pmb) wrote :

Here's how to work around it:
- Back up /sbin/start
- Replace /sbin/start with a script that does nothing,
#!/bin/sh
exit 0
 - Make it executable, # chmod +x /sbin/start
 - Run the apt update
 - (Restore start if desired)

Revision history for this message
Darxus (darxus) wrote :

I had a very similar looking problem, not under chroot, but running over ssh, on a server. Is this expected to work in that situation? Bug #1311368

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.