From unknown Fri Mar 29 13:19:00 2024 X-Loop: owner@bugs.devuan.org Subject: bug#155: libvirt0: libvirt virt-manager permissions Reply-To: Fulano Diego Perez , 155@bugs.devuan.org Resent-From: Fulano Diego Perez Resent-To: devuan-bugs@lists.dyne.org Resent-CC: owner@bugs.devuan.org Resent-Date: Thu, 02 Nov 2017 04:18:02 UTC Resent-Message-ID: Resent-Sender: owner@bugs.devuan.org X-Devuan-PR-Message: report 155 X-Devuan-PR-Package: libvirt0 X-Devuan-PR-Keywords: Received: via spool by submit@bugs.devuan.org id=B.150959580413920 (code B ref -1); Thu, 02 Nov 2017 04:18:02 UTC Received: (at submit) by bugs.devuan.org; 2 Nov 2017 04:10:04 +0000 Delivered-To: devuanbugs@dyne.org Received: from mail.dyne.org [178.62.188.7] by fulcanelli with IMAP (fetchmail-6.3.26) for (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 ; 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 header.i=@cryptolab.net header.b="FZY1f5Iv"; dkim-atps=neutral Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: fulanoperez@cryptolab.net) 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; 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= References: <9cc08dd5-0aef-5b7f-c7f1-ce2aaf453a3d@cryptolab.net> To: submit@bugs.devuan.org From: Fulano Diego Perez X-Forwarded-Message-Id: <9cc08dd5-0aef-5b7f-c7f1-ce2aaf453a3d@cryptolab.net> Message-ID: <85cc8730-22cc-6712-00b3-c10686f4528d@cryptolab.net> Date: Thu, 2 Nov 2017 15:05:55 +1100 MIME-Version: 1.0 In-Reply-To: <9cc08dd5-0aef-5b7f-c7f1-ce2aaf453a3d@cryptolab.net> 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