Package: libvirt-daemon-system Version: 5.0.0-4+deb10u1 Followup-For: Bug #846050
Dear Maintainer, I hit the same error that the original poster does if I run this example command from the Debian wiki KVM page: > tobyc@refectory:~$ virt-install --virt-type kvm --name buster-amd64 \ > > --location http://deb.debian.org/debian/dists/stable/main/installer-amd64/ \ > > --extra-args "console=ttyS0" -v --os-variant debian10 \ > > --disk size=10 --memory 1000 > > Starting install... > Retrieving file linux... > > | 5.0 MB 00:00:00 > Retrieving file initrd.gz... > > | 29 MB 00:00:00 > Allocating 'buster-amd64.qcow2' > > | 10 GB 00:00:00 > ERROR internal error: cannot load AppArmor profile > 'libvirt-7b5d99f5-b3f4-48a5-828f-7411b9e59ce7' > Removing disk 'buster-amd64.qcow2' > > | 0 B 00:00:00 > Domain installation does not appear to have been successful. > If it was, you can restart your domain by running: > virsh --connect qemu:///session start buster-amd64 > otherwise, please restart your installation. If I add my user to the libvirt and kvm groups and "export LIBVIRT_DEFAULT_URI='qemu:///system'", however, I no longer get that error. > tobyc@refectory:~$ virt-install --virt-type kvm --name buster-amd64 > --location http://deb.debian.org/debian/dists/stable/main/installer-amd64/ > --extra-args "console=ttyS0" -v --os-variant debian10 --disk size=10 --memory > 1000 > > Starting install... > Retrieving file linux... > > | 5.0 MB 00:00:00 > Retrieving file initrd.gz... > > | 29 MB 00:00:00 > Allocating 'virtinst-linux.5gs_3p8e' > > | 5.0 MB 00:00:00 > Transferring virtinst-linux.5gs_3p8e > > | 5.0 MB 00:00:00 > Allocating 'virtinst-initrd.gz.93yf6kgn' > > | 29 MB 00:00:00 > Transferring virtinst-initrd.gz.93yf6kgn > > | 29 MB 00:00:00 > Allocating 'buster-amd64.qcow2' > > | 10 GB 00:00:00 > ERROR Requested operation is not valid: network 'default' is not active > Removing disk 'buster-amd64.qcow2' > > | 0 B 00:00:00 > Domain installation does not appear to have been successful. > If it was, you can restart your domain by running: > virsh --connect qemu:///system start buster-amd64 > otherwise, please restart your installation. HTH, Toby -- System Information: Debian Release: 10.4 APT prefers stable APT policy: (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libvirt-daemon-system depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.71 ii gettext-base 0.19.8.1-9 ii iptables 1.8.2-4 ii libacl1 2.2.53-4 ii libapparmor1 2.13.2-10 ii libaudit1 1:2.8.4-3 ii libblkid1 2.33.1-0.1 ii libc6 2.28-10 ii libcap-ng0 0.7.9-2 ii libdbus-1-3 1.12.16-1 ii libdevmapper1.02.1 2:1.02.155-3 ii libgnutls30 3.6.7-4+deb10u3 ii libnl-3-200 3.4.0-1 ii libnl-route-3-200 3.4.0-1 ii libnuma1 2.0.12-1 ii libselinux1 2.8-1+b1 ii libvirt-clients 5.0.0-4+deb10u1 ii libvirt-daemon 5.0.0-4+deb10u1 ii libvirt0 5.0.0-4+deb10u1 ii libxml2 2.9.4+dfsg1-7+b3 ii libyajl2 2.1.0-3 ii logrotate 3.14.0-4 ii lsb-base 10.2019051400 ii policykit-1 0.105-25 Versions of packages libvirt-daemon-system recommends: ii dmidecode 3.2-1 ii dnsmasq-base [dnsmasq-base] 2.80-1 ii iproute2 4.20.0-2 ii parted 3.2-25 Versions of packages libvirt-daemon-system suggests: ii apparmor 2.13.2-10 pn auditd <none> ii nfs-common 1:1.3.4-2.5 pn open-iscsi <none> pn pm-utils <none> pn radvd <none> ii systemd 241-7~deb10u4 pn systemtap <none> pn zfsutils <none> -- Configuration Files: /etc/libvirt/nwfilter/allow-arp.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/allow-arp.xml' /etc/libvirt/nwfilter/allow-dhcp-server.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/allow-dhcp-server.xml' /etc/libvirt/nwfilter/allow-dhcp.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/allow-dhcp.xml' /etc/libvirt/nwfilter/allow-incoming-ipv4.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/allow-incoming-ipv4.xml' /etc/libvirt/nwfilter/allow-ipv4.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/allow-ipv4.xml' /etc/libvirt/nwfilter/clean-traffic-gateway.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/clean-traffic-gateway.xml' /etc/libvirt/nwfilter/clean-traffic.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/clean-traffic.xml' /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-arp-ip-spoofing.xml' /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-arp-mac-spoofing.xml' /etc/libvirt/nwfilter/no-arp-spoofing.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-arp-spoofing.xml' /etc/libvirt/nwfilter/no-ip-multicast.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-ip-multicast.xml' /etc/libvirt/nwfilter/no-ip-spoofing.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-ip-spoofing.xml' /etc/libvirt/nwfilter/no-mac-broadcast.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-mac-broadcast.xml' /etc/libvirt/nwfilter/no-mac-spoofing.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-mac-spoofing.xml' /etc/libvirt/nwfilter/no-other-l2-traffic.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-other-l2-traffic.xml' /etc/libvirt/nwfilter/no-other-rarp-traffic.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/no-other-rarp-traffic.xml' /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/qemu-announce-self-rarp.xml' /etc/libvirt/nwfilter/qemu-announce-self.xml [Errno 13] Permission denied: '/etc/libvirt/nwfilter/qemu-announce-self.xml' /etc/libvirt/qemu.conf [Errno 13] Permission denied: '/etc/libvirt/qemu.conf' /etc/libvirt/qemu/networks/default.xml [Errno 13] Permission denied: '/etc/libvirt/qemu/networks/default.xml' -- debconf information: libvirt-daemon-system/id_warning: true