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

Package: libvirt0; Maintainer for libvirt0 is Andreas Messer <>; Source for libvirt0 is src:libvirt.

Reported by: Fulano Diego Perez <>

Date: Thu, 2 Nov 2017 04:18:02 UTC

Severity: normal

Tags: jessie

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to,
bug#155; Package libvirt0. (full text, mbox, link).

Acknowledgement sent to Fulano Diego Perez <>:
New bug report received and forwarded. Copy sent to (full text, mbox, link).

Message #5 received at (full text, mbox, reply):

From: Fulano Diego Perez <>
Subject: libvirt0: libvirt virt-manager permissions
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

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/", line 91, in
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/", line 1787, in
  File "/usr/share/virt-manager/virtinst/", line 403, in
  File "/usr/share/virt-manager/virtinst/", line 467, in
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/", line 3440, in
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
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 <> to (full text, mbox, link).

Send a report that this bug log contains spam.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <>.
Last modified: Tue Aug 16 13:22:10 2022;