Tries to set OWNERSHIP of perfectly readable SOURCE ISO file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
virt-manager 1:1.3.2-0ubuntu2
For some reason virt-manager (or libvirt) is trying to change the *ownership* of the ISO file I'm using to install ubuntu. That ISO file is perfectly readable by the libvirt-qemu user:
$ sudo -u libvirt-qemu -H ls -lah /mybook/
[sudo] password for andreas:
-rw-rw-r-- 1 andreas andreas 1.5G Mar 23 05:45 /mybook/
$ sudo -u libvirt-qemu -H file /mybook/
/mybook/
That file is in a remote CIFS share, mounted at mybook:
$ mount|grep mybook
//mybook/Public on /mybook type cifs (rw,relatime,
virt-manager crashes like this:
Error starting domain: unable to set user and group to '125:138' on '/mybook/
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
callback(*args, **kwargs)
File "/usr/share/
ret = fn(self, *args, **kwargs)
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unable to set user and group to '125:138' on '/mybook/
The workaround is to copy the ISO file from my NAS to my laptop, perform the install, then delete said ISO file.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: virt-manager 1:1.3.2-0ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 28 09:36:30 2016
InstallationDate: Installed on 2015-10-03 (176 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
PackageArchitec
SourcePackage: virt-manager
UpgradeStatus: Upgraded to xenial on 2016-03-06 (21 days ago)
Note that doing a readonly bind mount of the directory and using that should be a lighter-weight alternative to copying the iso.