libvirt-bin missing dependency on dbus

Bug #918343 reported by Scott Moser
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

libvirt-bin service will not start without dbus installed.
Observe:

$ sudo apt-get install lxc
$ sudo lxc-create -t ubuntu -n lv1
...
$ sudo lxc-start -d -n lv1
$ sudo lxc-console -n lv1

root@lv1:~# apt-get install libvirt-bin
...
root@lv1:~# status libvirt-bin
libvirt-bin stop/waiting

root@lv1:~# libvirtd
2012-01-18 18:52:34.218+0000: 1266: info : libvirt version: 0.9.8
2012-01-18 18:52:34.218+0000: 1266: error : virNetServerMDNSStart:460 : internal error Failed to create mDNS client: Daemon not running

root@lv1:~# apt-get install dbus -q
Reading package lists...
...
The following NEW packages will be installed:
  dbus
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
...
Setting up dbus (1.4.16-1ubuntu4) ...
dbus start/running, process 1489

root@lv1:~# libvirtd
2012-01-18 18:53:39.204+0000: 1510: info : libvirt version: 0.9.8
2012-01-18 18:53:39.204+0000: 1510: error : virCommandWait:2192 : internal error Child process (/usr/sbin/dmidecode -q -t 0,1,4,17) status unexpected: exit status 1
2012-01-18 18:53:39.205+0000: 1510: error : virSysinfoRead:475 : internal error Failed to execute command (null)
2012-01-18 18:53:39.210+0000: 1510: error : virExecWithHook:328 : Cannot find 'pm-is-supported' in path: No such file or directory
2012-01-18 18:53:39.210+0000: 1510: warning : qemuCapsInit:856 : Failed to get host power management capabilities
2012-01-18 18:53:39.229+0000: 1510: error : virExecWithHook:328 : Cannot find 'pm-is-supported' in path: No such file or directory
2012-01-18 18:53:39.230+0000: 1510: warning : lxcCapsInit:77 : Failed to get host power management capabilities
2012-01-18 18:53:39.230+0000: 1510: error : virExecWithHook:328 : Cannot find 'pm-is-supported' in path: No such file or directory
2012-01-18 18:53:39.230+0000: 1510: warning : umlCapsInit:87 : Failed to get host power management capabilities

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libvirt-bin 0.9.8-2ubuntu1
ProcVersionSignature: User Name 3.2.0-8.15-virtual 3.2.0
Uname: Linux 3.2.0-8-virtual x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Wed Jan 18 18:20:41 2012
Ec2AMI: ami-0000012b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks, Scott. So you think 'dbus' is the right thing to add to Depends?

Changed in libvirt (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

Serge,
  at the moment, dbus install pulls in a single package (dbus) and that makes libvirt at least start.
  I haven't gotten to trying to actually run a guest with that minimal addition.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 0.9.8-2ubuntu3

---------------
libvirt (0.9.8-2ubuntu3) precise; urgency=low

  * debian/control: add dbus to libvirt-bin depends. It fails to start
    otherwise. (LP: #918343)
 -- Serge Hallyn <email address hidden> Thu, 19 Jan 2012 16:11:44 -0600

Changed in libvirt (Ubuntu):
status: Confirmed → Fix Released
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.