Devuan bug report logs - #155
libvirt0: libvirt virt-manager permissions

Package: libvirt0; Reported by: Fulano Diego Perez <fulanoperez@cryptolab.net>;
Date: Thu, 2 Nov 2017 04:18:02 UTC;
Tags: jessie;
Maintainer for libvirt0 is (unknown).

View this report as an mbox folder.


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#155; Package libvirt0. Full text available.



Acknowledgement sent to Fulano Diego Perez <fulanoperez@cryptolab.net>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.



Message received at submit@bugs.devuan.org:

Subject: libvirt0: libvirt virt-manager permissions
To: submit@bugs.devuan.org
From: Fulano Diego Perez <fulanoperez@cryptolab.net>
Date: Thu, 2 Nov 2017 15:05:55 +1100



Package: libvirt0
Version: 1.2.9-9+devuan1.2
Severity: normal


im not sure which packages to report on

this happens when i import any VM from within virt-manager

------------------

anybody have advice about getting virt-manager working ?

what are required perms for qcows ?

always get similar errors on any debian distro except subgraph which
always works without changing perms, currently 600 root:root

i have apparmor installed

-----------------------

The emulator may not have search permissions for the path
'/media/user/.........win10ent64.qcow2'.


Errors were encountered changing permissions for the following directories:

/media/user : [Errno 1] Operation not permitted: '/media/user'

Unable to complete install: 'Cannot access storage file
'/media/user/......................win10ent64.qcow2' (as uid:107,
gid:113): Permission denied'

Unable to complete install: 'Cannot access storage file
'/media/user/......................win10ent64.qcow2' (as uid:107,
gid:113): Permission denied'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in
cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1787, in
do_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 403, in
start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 467, in
_create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: Cannot access storage file
'/media/user/......................win10ent64.qcow2' (as uid:107,
gid:113): Permission denied








-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux jessie
Release:	jessie
Codename:	n/a
Architecture: x86_64

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libvirt0 depends on:
ii  libapparmor1        2.9.0-3
ii  libaudit1           1:2.4-1+b1
ii  libavahi-client3    0.6.31-5
ii  libavahi-common3    0.6.31-5
ii  libc6               2.19-18+deb8u10
ii  libcap-ng0          0.7.4-2
ii  libdbus-1-3         1.8.20-1+devuan1.1
ii  libdevmapper1.02.1  2:1.02.90-2.2+deb8u1
ii  libgnutls-deb0-28   3.3.8-6+deb8u7
ii  libnl-3-200         3.2.24-2
ii  libnl-route-3-200   3.2.24-2
ii  libnuma1            2.0.10-1
ii  libsasl2-2          2.1.26.dfsg1-13+deb8u1
ii  libselinux1         2.3-2
ii  libssh2-1           1.4.3-4.1+deb8u1
ii  libxml2             2.9.1+dfsg1-5+deb8u5
ii  libyajl2            2.1.0-2

Versions of packages libvirt0 recommends:
ii  lvm2  2.02.111-2.2+deb8u1

libvirt0 suggests no packages.

-- no debconf information





Tags added: jessie Request was from KatolaZ <katolaz@freaknet.org> to control@bugs.devuan.org. Full text available.



Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue, 12 Dec 2017 21:55:28 UTC