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

Package: libvirt0; Reported by: Fulano Diego Perez <[email protected]>; Keywords: jessie; dated Thu, 2 Nov 2017 04:18:02 UTC; Maintainer for libvirt0 is Andreas Messer <[email protected]>.
Tags added: jessie Request was from KatolaZ <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 2 Nov 2017 04:10:04 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 02 Nov 2017 05:10:04 +0100 (CET)
Received: from perdizione.investici.org (perdizione.investici.org [94.23.50.208])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 92950B804FD
	for <[email protected]>; Thu,  2 Nov 2017 05:07:27 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=cryptolab.net [email protected] header.b="FZY1f5Iv";
	dkim-atps=neutral
Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: [email protected]) by localhost (Postfix) with ESMTPSA id A78881403CD
	for <[email protected]>; Thu,  2 Nov 2017 04:07:00 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net;
	s=stigmate; t=1509595623;
	bh=T138bUqIO+9TOrpJ34y0ra1grDEUJPT5QKyigwXb5kk=;
	h=Subject:References:To:From:Date:In-Reply-To;
	b=FZY1f5IvLbHmbck2uM5pEj8eQKLVuT5LM/f8rJSFmAkVu78eYK2KkjwIJ765coVcb
	 AcU5n6ovtdBrnA4i95AQFjnPYDQOh5r+njYgjgKbPs55btHAuan5qKpG0MkYU4+WeZ
	 T5SnxVOBHuNBj1YWqNXvbSX48TAtswdw/AY87x0g=
Subject: libvirt0: libvirt virt-manager permissions
References: <[email protected]>
To: [email protected]
From: Fulano Diego Perez <[email protected]>
X-Forwarded-Message-Id: <[email protected]>
Message-ID: <[email protected]>
Date: Thu, 2 Nov 2017 15:05:55 +1100
MIME-Version: 1.0
In-Reply-To: <[email protected]>
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,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID autolearn=ham
	autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org



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


Acknowledgement sent to Fulano Diego Perez <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#155; Package libvirt0. 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 <[email protected]>.
Last modified: Thu, 28 Nov 2024 06:39:01 UTC