← Back to team overview

kernel-packages team mailing list archive

[Bug 1408833] Re: broken postinst test for uvtool-libvirt on utopic

 

The problem exists in kernel 3.16.0-30-generic on trusty as well. Can we
get this fix backported to trusty?

** Also affects: cloud-installer
   Importance: Undecided
       Status: New

** Changed in: cloud-installer
       Status: New => Confirmed

** Summary changed:

- broken postinst test for uvtool-libvirt on utopic
+ broken postinst test for uvtool-libvirt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1408833

Title:
  broken postinst test for uvtool-libvirt

Status in AppArmor Linux application security framework:
  Confirmed
Status in Ubuntu Openstack installer:
  Confirmed
Status in ubuntu virtualization tools:
  Invalid
Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Utopic:
  Fix Released

Bug description:
  Installing uvtool-libvirt *inside an lxc container* on utopic fails
  due to a test in the postinst script.

  It uses socat on the libvirt socket, which fails, despite libvirt
  being installed correctly.

  ubuntu@uoi-bootstrap:~$ sudo apt-get install -f
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    libfreetype6 os-prober
  Use 'apt-get autoremove' to remove them.
  0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up uvtool-libvirt (0~bzr92-0ubuntu2) ...
  2015/01/08 13:01:34 socat[10184] E read(3, 0x13b2a30, 8192): Permission denied
  libvirtd does not appear to be listening on "/var/run/libvirt/libvirt-sock".
  On Ubuntu, libvirtd is managed with the "libvirt-bin" upstart job.
  Repair libvirtd, then reconfigure uvtool-libvirt with:
      sudo apt-get -f install
  dpkg: error processing package uvtool-libvirt (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   uvtool-libvirt
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  ubuntu@uoi-bootstrap:~$ ps -ef | grep libvirt
  libvirt+  9556     1  0 09:52 ?        00:00:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
  root      9557  9556  0 09:52 ?        00:00:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
  root      9854     1  0 10:24 ?        00:00:00 /usr/sbin/libvirtd -d
  ubuntu   10155 10120  0 12:56 pts/0    00:00:00 grep libvirt

  ubuntu@uoi-bootstrap:~$ groups
  ubuntu adm dialout cdrom floppy sudo audio dip video plugdev netdev libvirtd

  
  ubuntu@uoi-bootstrap:~$ virsh list
   Id    Name                           State
  ----------------------------------------------------

  for a little more context, there are notes here:
  https://gist.github.com/mikemccracken/53c665e6094db21efc03

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1408833/+subscriptions