Bug#916441:

2020-12-28 Thread Maxime G.
Hi.

Bug still occurs on Debian Buster with libvirt-daemon 5.0.0-4+deb10u1 when 
setting virgl on amdgpu.
Not reproducible on i965.


Erreur lors du démarrage du domaine: internal error: qemu unexpectedly closed 
the monitor: /usr/share/libdrm/amdgpu.ids: Permission denied
Failed to create /var/lib/libvirt/.cache for shader cache (Permission 
denied)---disabling.

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1400, in startup
self._backend.create()
  File "/usr/lib/python3/dist-packages/libvirt.py", line 1080, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 
/usr/share/libdrm/amdgpu.ids: Permission denied
Failed to create /var/lib/libvirt/.cache for shader cache (Permission 
denied)---disabling.

("permission denied", but virt-manager runs under sudo)

But, setting the workarround mentionned before in qemu.conf works.

Thanks.
Maxime.



Bug#916441: [Pkg-libvirt-maintainers] Bug#916441: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)

2019-03-20 Thread Jim Finn
As an insecure temporary work around until a fix comes downstream, you can
set 'seccomp_sandbox = 0' in qemu.conf


On Thu, 20 Dec 2018 18:12:10 +0100 Guido =?iso-8859-1?Q?G=FCnther?= <
a...@sigxcpu.org> wrote:
> Hi,
> On Thu, Dec 20, 2018 at 11:57:17AM +0100, Laurent Bigonville wrote:
> > Le 14/12/18 à 15:25, Guido Günther a écrit :
> > > Hi,
> > > On Fri, Dec 14, 2018 at 02:54:35PM +0100, Laurent Bigonville wrote:
> > > > Package: libvirt-daemon
> > > > Version: 4.10.0-1
> > > > Severity: normal
> > > > Tags: upstream
> > > >
> > > > Hi,
> > > >
> > > > When starting a domain with virgl support enabled, qemu complains
that
> > > > /var/lib/libvirt/.cache doesn't exits.
> > > >
> > > > AFAICS, mesa is using this directory to cache the generated shaders.
> > > >
> > > > Mesa tries this location because it the XDG location for the cache
> > > > files. IMVHO, this should be moved to /var/cache/libvirt/ when
running a
> > > > system domain by setting XDG_CACHE_HOME to that value.
> > > >
> > > > That should maybe be coordinated with upstream first?
> > > I guess it should. Any chance you can do this?
> > I opened https://bugzilla.redhat.com/show_bug.cgi?id=1659484
>
> Thanks!
>  -- Guido
>
>


Bug#916441: [Pkg-libvirt-maintainers] Bug#916441: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)

2018-12-20 Thread Guido Günther
Hi,
On Thu, Dec 20, 2018 at 11:57:17AM +0100, Laurent Bigonville wrote:
> Le 14/12/18 à 15:25, Guido Günther a écrit :
> > Hi,
> > On Fri, Dec 14, 2018 at 02:54:35PM +0100, Laurent Bigonville wrote:
> > > Package: libvirt-daemon
> > > Version: 4.10.0-1
> > > Severity: normal
> > > Tags: upstream
> > > 
> > > Hi,
> > > 
> > > When starting a domain with virgl support enabled, qemu complains that
> > > /var/lib/libvirt/.cache doesn't exits.
> > > 
> > > AFAICS, mesa is using this directory to cache the generated shaders.
> > > 
> > > Mesa tries this location because it the XDG location for the cache
> > > files. IMVHO, this should be moved to /var/cache/libvirt/ when running a
> > > system domain by setting XDG_CACHE_HOME to that value.
> > > 
> > > That should maybe be coordinated with upstream first?
> > I guess it should. Any chance you can do this?
> I opened https://bugzilla.redhat.com/show_bug.cgi?id=1659484

Thanks!
 -- Guido



Bug#916441: [Pkg-libvirt-maintainers] Bug#916441: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)

2018-12-20 Thread Laurent Bigonville

Le 14/12/18 à 15:25, Guido Günther a écrit :

Hi,
On Fri, Dec 14, 2018 at 02:54:35PM +0100, Laurent Bigonville wrote:

Package: libvirt-daemon
Version: 4.10.0-1
Severity: normal
Tags: upstream

Hi,

When starting a domain with virgl support enabled, qemu complains that
/var/lib/libvirt/.cache doesn't exits.

AFAICS, mesa is using this directory to cache the generated shaders.

Mesa tries this location because it the XDG location for the cache
files. IMVHO, this should be moved to /var/cache/libvirt/ when running a
system domain by setting XDG_CACHE_HOME to that value.

That should maybe be coordinated with upstream first?

I guess it should. Any chance you can do this?

I opened https://bugzilla.redhat.com/show_bug.cgi?id=1659484



Bug#916441: [Pkg-libvirt-maintainers] Bug#916441: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)

2018-12-14 Thread Guido Günther
Hi,
On Fri, Dec 14, 2018 at 02:54:35PM +0100, Laurent Bigonville wrote:
> Package: libvirt-daemon
> Version: 4.10.0-1
> Severity: normal
> Tags: upstream
> 
> Hi,
> 
> When starting a domain with virgl support enabled, qemu complains that
> /var/lib/libvirt/.cache doesn't exits.
> 
> AFAICS, mesa is using this directory to cache the generated shaders.
> 
> Mesa tries this location because it the XDG location for the cache
> files. IMVHO, this should be moved to /var/cache/libvirt/ when running a
> system domain by setting XDG_CACHE_HOME to that value.
> 
> That should maybe be coordinated with upstream first?

I guess it should. Any chance you can do this?
 -- Guido



Bug#916441: Failed to create /var/lib/libvirt/.cache for shader cache (Permission denied)

2018-12-14 Thread Laurent Bigonville
Package: libvirt-daemon
Version: 4.10.0-1
Severity: normal
Tags: upstream

Hi,

When starting a domain with virgl support enabled, qemu complains that
/var/lib/libvirt/.cache doesn't exits.

AFAICS, mesa is using this directory to cache the generated shaders.

Mesa tries this location because it the XDG location for the cache
files. IMVHO, this should be moved to /var/cache/libvirt/ when running a
system domain by setting XDG_CACHE_HOME to that value.

That should maybe be coordinated with upstream first?

Kind regards,

Laurent Bigonville


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages libvirt-daemon depends on:
ii  libacl1 2.2.52-3+b1
ii  libapparmor12.13.1-3+b1
ii  libaudit1   1:2.8.4-2
ii  libavahi-client30.7-4+b1
ii  libavahi-common30.7-4+b1
ii  libblkid1   2.33-0.2
ii  libc6   2.28-2
ii  libcap-ng0  0.7.9-1+b1
ii  libcurl3-gnutls 7.62.0-1
ii  libdbus-1-3 1.12.12-1
ii  libdevmapper1.02.1  2:1.02.145-4.1
ii  libfuse22.9.8-2
ii  libgcc1 1:8.2.0-12
ii  libgnutls30 3.5.19-1+b1
ii  libnetcf1   1:0.2.8-1+b2
ii  libnl-3-200 3.4.0-1
ii  libnl-route-3-200   3.4.0-1
ii  libnuma12.0.12-1
ii  libparted2  3.2-23
ii  libpcap0.8  1.8.1-6
ii  libpciaccess0   0.14-1
ii  libsasl2-2  2.1.27~rc8-1
ii  libselinux1 2.8-1+b1
ii  libssh2-1   1.8.0-2
ii  libudev1239-15
ii  libvirt04.10.0-1
ii  libxenmisc4.11  4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii  libxenstore3.0  4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii  libxentoollog1  4.11.1~pre.20180911.5acdd26fdc+dfsg-5
ii  libxml2 2.9.4+dfsg1-7+b2
ii  libyajl22.1.0-3

Versions of packages libvirt-daemon recommends:
ii  libxml2-utils   2.9.4+dfsg1-7+b2
ii  netcat-openbsd  1.195-1
ii  qemu-kvm1:3.1+dfsg-1

Versions of packages libvirt-daemon suggests:
pn  libvirt-daemon-driver-storage-gluster   
pn  libvirt-daemon-driver-storage-rbd   
pn  libvirt-daemon-driver-storage-sheepdog  
pn  libvirt-daemon-driver-storage-zfs   
ii  libvirt-daemon-system   4.10.0-1
pn  numad   

-- no debconf information