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

Laurent Bigonville bigon at debian.org
Fri Dec 14 13:54:35 GMT 2018


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  libapparmor1        2.13.1-3+b1
ii  libaudit1           1:2.8.4-2
ii  libavahi-client3    0.7-4+b1
ii  libavahi-common3    0.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  libfuse2            2.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  libnuma1            2.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  libudev1            239-15
ii  libvirt0            4.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  libyajl2            2.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-kvm        1:3.1+dfsg-1

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

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list