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

Full log

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

Received: (at submit) by; 2 Nov 2017 04:10:04 +0000
Return-Path: <>
Received: from []
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 02 Nov 2017 05:10:04 +0100 (CET)
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by (Postfix) with ESMTPS id 92950B804FD
	for <>; Thu,  2 Nov 2017 05:07:27 +0100 (CET)
	dkim=pass (1024-bit key; secure) header.b="FZY1f5Iv";
Received: from [] (perdizione []) (Authenticated sender: by localhost (Postfix) with ESMTPSA id A78881403CD
	for <>; Thu,  2 Nov 2017 04:07:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;;
	s=stigmate; t=1509595623;
Subject: libvirt0: libvirt virt-manager permissions
References: <>
From: Fulano Diego Perez <>
X-Forwarded-Message-Id: <>
Message-ID: <>
Date: Thu, 2 Nov 2017 15:05:55 +1100
MIME-Version: 1.0
In-Reply-To: <>
Content-Type: text/plain; charset=windows-1252
Content-Language: en-AU
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_VALID_AU,
	autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on

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

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 Oct 4 03:10:24 2022;