package libvirt-bin 1.3.1-1ubuntu10.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1636081 reported by Tedesco
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This failure occurred during normal actualization process.
lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libvirt-bin 1.3.1-1ubuntu10.5
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Mon Oct 24 06:44:20 2016
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-01-04 (293 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-45-generic root=UUID=f0d88f4c-484e-4f2a-84b4-65e8a8ad8624 ro quiet splash vt.handoff=7
SourcePackage: libvirt
Title: package libvirt-bin 1.3.1-1ubuntu10.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-10-18 (5 days ago)

Revision history for this message
Tedesco (tedesco-z) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in libvirt (Ubuntu):
status: New → Confirmed
Revision history for this message
Robie Basak (racb) wrote :

From log:

Setting up libvirt-bin (1.3.1-1ubuntu10.5) ...
Installing new version of config file /etc/init.d/libvirt-guests ...
Job for libvirt-bin.service failed because the control process exited with error code. See "systemctl status libvirt-bin.service" and "journalctl -xe" for details.
invoke-rc.d: initscript libvirt-bin, action "restart" failed.
dpkg: error processing package libvirt-bin (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
Robie Basak (racb) wrote :

More logs:

oct 24 06:44:26 hostname libvirtd[12622]: No se pudo inicializar capa de auditoría: Permiso denegado
oct 24 06:44:26 hostname libvirtd[12622]: No se puede conectar al socket de netlink con protocolo 0: Permiso denegado
oct 24 06:44:26 hostname systemd[1]: Failed to start Virtualization daemon.
oct 24 06:44:26 hostname systemd[1]: libvirt-bin.service: Failed with result 'exit-code'.
oct 24 06:44:26 hostname systemd[1]: libvirt-bin.service: Start request repeated too quickly.

Revision history for this message
Robie Basak (racb) wrote :

I see Apparmor denials of the form:

[344320.076652] audit: type=1400 audit(1477284266.193:67): apparmor="DENIED" operation="create" profile="/usr/sbin/libvirtd" pid=12602 comm="libvirtd" family="netlink" sock_type="raw" protocol=9 requested_mask="create" denied_mask="create"
[344320.078124] audit: type=1400 audit(1477284266.193:68): apparmor="DENIED" operation="create" profile="/usr/sbin/libvirtd" pid=12602 comm="libvirtd" family="netlink" sock_type="raw" protocol=0 requested_mask="create" denied_mask="create"

@Tedesco, please could you see if the libvirt-bin service starts after a reboot? I'd like to understand whether the problem is in loading an AppArmor profile during upgrade, or if the problem is elsewhere. Once you've answered, please change the bug status back to New. Thanks!

Changed in libvirt (Ubuntu):
status: Confirmed → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for libvirt (Ubuntu) because there has been no activity for 60 days.]

Changed in libvirt (Ubuntu):
status: Incomplete → Expired
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.