chown: invalid user: ‘root.libvirtd’

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

Bug Description

Just did this on my yakkety system:
$ sudo apt-get install uvtool
...
Setting up socat (1.7.3.1-1) ...
Setting up uvtool (0~bzr99-0ubuntu1) ...
Setting up uvtool-libvirt (0~bzr99-0ubuntu1) ...
chown: invalid user: ‘root.libvirtd’
dpkg: error processing package uvtool-libvirt (--configure):
 subprocess installed post-installation script returned error exit status 1
...
update-initramfs: Generating /boot/initrd.img-4.4.0-27-generic
Errors were encountered while processing:
 uvtool-libvirt
E: Sub-process /usr/bin/dpkg returned an error code (1)

full log is below:
$ sudo apt-get install uvtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  augeas-lenses dmeventd ebtables libaugeas0 libdevmapper-event1.02.1
  liblvm2app2.2 liblvm2cmd2.02 libnetcf1 libvirt-bin libvirt-clients
  libvirt-daemon libvirt-daemon-system libvirt0 libxml2-utils lvm2
  python-libvirt python-pyinotify qemu-kvm socat uvtool-libvirt
Suggested packages:
  augeas-doc augeas-tools radvd auditd systemtap nfs-common
  thin-provisioning-tools python-pyinotify-doc
The following NEW packages will be installed:
  augeas-lenses dmeventd ebtables libaugeas0 libdevmapper-event1.02.1
  liblvm2app2.2 liblvm2cmd2.02 libnetcf1 libvirt-bin libvirt-clients
  libvirt-daemon libvirt-daemon-system libvirt0 libxml2-utils lvm2
  python-libvirt python-pyinotify qemu-kvm socat uvtool uvtool-libvirt
0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,673 kB of archives.
After this operation, 26.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libvirt0 amd64 1.3.4-1ubuntu6 [1,149 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libvirt-clients amd64 1.3.4-1ubuntu6 [527 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 augeas-lenses all 1.5.0-0ubuntu1 [284 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libaugeas0 amd64 1.5.0-0ubuntu1 [154 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libnetcf1 amd64 1:0.2.8-1ubuntu1 [46.3 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libvirt-daemon amd64 1.3.4-1ubuntu6 [1,987 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libvirt-daemon-system amd64 1.3.4-1ubuntu6 [136 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libdevmapper-event1.02.1 amd64 2:1.02.124-1ubuntu1 [12.6 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 liblvm2cmd2.02 amd64 2.02.153-1ubuntu1 [548 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 dmeventd amd64 2:1.02.124-1ubuntu1 [30.7 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 ebtables amd64 2.0.10.4-3.4ubuntu1 [79.6 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 liblvm2app2.2 amd64 2.02.153-1ubuntu1 [412 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libvirt-bin amd64 1.3.4-1ubuntu6 [5,002 B]
Get:14 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 libxml2-utils amd64 2.9.3+dfsg1-1.2 [35.0 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 lvm2 amd64 2.02.153-1ubuntu1 [768 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-libvirt amd64 1.3.4-1ubuntu1 [118 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 python-pyinotify all 0.9.6-1 [24.6 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 qemu-kvm amd64 1:2.6+dfsg-3ubuntu1 [7,160 B]
Get:19 http://us.archive.ubuntu.com/ubuntu yakkety/universe amd64 socat amd64 1.7.3.1-1 [321 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu yakkety/universe amd64 uvtool all 0~bzr99-0ubuntu1 [3,520 B]
Get:21 http://us.archive.ubuntu.com/ubuntu yakkety/universe amd64 uvtool-libvirt all 0~bzr99-0ubuntu1 [24.6 kB]
Fetched 6,673 kB in 5s (1,305 kB/s)
Selecting previously unselected package libvirt0:amd64.
(Reading database ... 290517 files and directories currently installed.)
Preparing to unpack .../libvirt0_1.3.4-1ubuntu6_amd64.deb ...
Unpacking libvirt0:amd64 (1.3.4-1ubuntu6) ...
Selecting previously unselected package libvirt-clients.
Preparing to unpack .../libvirt-clients_1.3.4-1ubuntu6_amd64.deb ...
Unpacking libvirt-clients (1.3.4-1ubuntu6) ...
Selecting previously unselected package augeas-lenses.
Preparing to unpack .../augeas-lenses_1.5.0-0ubuntu1_all.deb ...
Unpacking augeas-lenses (1.5.0-0ubuntu1) ...
Selecting previously unselected package libaugeas0.
Preparing to unpack .../libaugeas0_1.5.0-0ubuntu1_amd64.deb ...
Unpacking libaugeas0 (1.5.0-0ubuntu1) ...
Selecting previously unselected package libnetcf1:amd64.
Preparing to unpack .../libnetcf1_1%3a0.2.8-1ubuntu1_amd64.deb ...
Unpacking libnetcf1:amd64 (1:0.2.8-1ubuntu1) ...
Selecting previously unselected package libvirt-daemon.
Preparing to unpack .../libvirt-daemon_1.3.4-1ubuntu6_amd64.deb ...
Unpacking libvirt-daemon (1.3.4-1ubuntu6) ...
Selecting previously unselected package libvirt-daemon-system.
Preparing to unpack .../libvirt-daemon-system_1.3.4-1ubuntu6_amd64.deb ...
Unpacking libvirt-daemon-system (1.3.4-1ubuntu6) ...
Selecting previously unselected package libdevmapper-event1.02.1:amd64.
Preparing to unpack .../libdevmapper-event1.02.1_2%3a1.02.124-1ubuntu1_amd64.deb ...
Unpacking libdevmapper-event1.02.1:amd64 (2:1.02.124-1ubuntu1) ...
Selecting previously unselected package liblvm2cmd2.02:amd64.
Preparing to unpack .../liblvm2cmd2.02_2.02.153-1ubuntu1_amd64.deb ...
Unpacking liblvm2cmd2.02:amd64 (2.02.153-1ubuntu1) ...
Selecting previously unselected package dmeventd.
Preparing to unpack .../dmeventd_2%3a1.02.124-1ubuntu1_amd64.deb ...
Unpacking dmeventd (2:1.02.124-1ubuntu1) ...
Selecting previously unselected package ebtables.
Preparing to unpack .../ebtables_2.0.10.4-3.4ubuntu1_amd64.deb ...
Unpacking ebtables (2.0.10.4-3.4ubuntu1) ...
Selecting previously unselected package liblvm2app2.2:amd64.
Preparing to unpack .../liblvm2app2.2_2.02.153-1ubuntu1_amd64.deb ...
Unpacking liblvm2app2.2:amd64 (2.02.153-1ubuntu1) ...
Selecting previously unselected package libvirt-bin.
Preparing to unpack .../libvirt-bin_1.3.4-1ubuntu6_amd64.deb ...
Unpacking libvirt-bin (1.3.4-1ubuntu6) ...
Selecting previously unselected package libxml2-utils.
Preparing to unpack .../libxml2-utils_2.9.3+dfsg1-1.2_amd64.deb ...
Unpacking libxml2-utils (2.9.3+dfsg1-1.2) ...
Selecting previously unselected package lvm2.
Preparing to unpack .../lvm2_2.02.153-1ubuntu1_amd64.deb ...
Unpacking lvm2 (2.02.153-1ubuntu1) ...
Selecting previously unselected package python-libvirt.
Preparing to unpack .../python-libvirt_1.3.4-1ubuntu1_amd64.deb ...
Unpacking python-libvirt (1.3.4-1ubuntu1) ...
Selecting previously unselected package python-pyinotify.
Preparing to unpack .../python-pyinotify_0.9.6-1_all.deb ...
Unpacking python-pyinotify (0.9.6-1) ...
Selecting previously unselected package qemu-kvm.
Preparing to unpack .../qemu-kvm_1%3a2.6+dfsg-3ubuntu1_amd64.deb ...
Unpacking qemu-kvm (1:2.6+dfsg-3ubuntu1) ...
Selecting previously unselected package socat.
Preparing to unpack .../socat_1.7.3.1-1_amd64.deb ...
Unpacking socat (1.7.3.1-1) ...
Selecting previously unselected package uvtool.
Preparing to unpack .../uvtool_0~bzr99-0ubuntu1_all.deb ...
Unpacking uvtool (0~bzr99-0ubuntu1) ...
Selecting previously unselected package uvtool-libvirt.
Preparing to unpack .../uvtool-libvirt_0~bzr99-0ubuntu1_all.deb ...
Unpacking uvtool-libvirt (0~bzr99-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (230-3git1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Setting up libvirt0:amd64 (1.3.4-1ubuntu6) ...
Setting up libvirt-clients (1.3.4-1ubuntu6) ...
Setting up augeas-lenses (1.5.0-0ubuntu1) ...
Setting up libaugeas0 (1.5.0-0ubuntu1) ...
Setting up libnetcf1:amd64 (1:0.2.8-1ubuntu1) ...
Setting up libvirt-daemon (1.3.4-1ubuntu6) ...
Setting up libvirt-daemon-system (1.3.4-1ubuntu6) ...
Adding group `libvirt' (GID 140) ...
Done.
Adding user `libvirt-qemu' to group `libvirt-qemu' ...
Adding user libvirt-qemu to group libvirt-qemu
Done.
Created symlink /etc/systemd/system/multi-user.target.wants/libvirt-guests.service → /lib/systemd/system/libvirt-guests.service.
Created symlink /etc/systemd/system/libvirt-bin.service → /lib/systemd/system/libvirtd.service.
Created symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service → /lib/systemd/system/libvirtd.service.
Created symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket → /lib/systemd/system/virtlockd.socket.
Created symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket → /lib/systemd/system/virtlogd.socket.
Setting up libvirt-daemon dnsmasq configuration.
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.124-1ubuntu1) ...
Setting up ebtables (2.0.10.4-3.4ubuntu1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up liblvm2app2.2:amd64 (2.02.153-1ubuntu1) ...
Setting up libvirt-bin (1.3.4-1ubuntu6) ...
Setting up libxml2-utils (2.9.3+dfsg1-1.2) ...
Setting up python-libvirt (1.3.4-1ubuntu1) ...
Setting up python-pyinotify (0.9.6-1) ...
Setting up qemu-kvm (1:2.6+dfsg-3ubuntu1) ...
Setting up socat (1.7.3.1-1) ...
Setting up uvtool (0~bzr99-0ubuntu1) ...
Setting up uvtool-libvirt (0~bzr99-0ubuntu1) ...
chown: invalid user: ‘root.libvirtd’
dpkg: error processing package uvtool-libvirt (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up liblvm2cmd2.02:amd64 (2.02.153-1ubuntu1) ...
Setting up dmeventd (2:1.02.124-1ubuntu1) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket → /lib/systemd/system/dm-event.socket.
Setting up lvm2 (2.02.153-1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmetad.socket → /lib/systemd/system/lvm2-lvmetad.socket.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket → /lib/systemd/system/lvm2-lvmpolld.socket.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service → /lib/systemd/system/lvm2-monitor.service.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (230-3git1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for initramfs-tools (0.122ubuntu9) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-27-generic
Errors were encountered while processing:
 uvtool-libvirt
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: uvtool-libvirt 0~bzr99-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jun 27 11:31:26 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (340 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
PackageArchitecture: all
SourcePackage: uvtool
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Scott Moser (smoser) wrote :

seems that libvirt now installs a 'libvirt' group, rather than 'libvirtd'.
Horay!

Scott Moser (smoser)
Changed in uvtool (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Robie Basak (racb) wrote :

I fixed this in 0~bzr99-0ubuntu2 (I hope!) but failed to note the bug in the changelog.

Changed in uvtool (Ubuntu):
status: Triaged → 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.