Description of problem: Just launch virtual machine SELinux is preventing qemu-system-x86 from read, write access on the chr_file /dev/mapper/control. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-system-x86 should be allowed read write access on the control chr_file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'qemu-system-x86' --raw | audit2allow -M my-qemusystemx86 # semodule -X 300 -i my-qemusystemx86.pp Additional Information: Source Context system_u:system_r:svirt_t:s0:c246,c566 Target Context system_u:object_r:lvm_control_t:s0 Target Objects /dev/mapper/control [ chr_file ] Source qemu-system-x86 Source Path qemu-system-x86 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-3.14.6-11.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-11.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.7.0-0.rc1.git0.1.1.fc33.x86_64 #1 SMP Wed Apr 15 09:38:55 +05 2020 x86_64 x86_64 Alert Count 1 First Seen 2020-04-15 10:09:17 +05 Last Seen 2020-04-15 10:09:17 +05 Local ID ebfd7c04-3eaf-4674-8975-1e11c52e3f2c Raw Audit Messages type=AVC msg=audit(1586927357.64:421): avc: denied { read write } for pid=9077 comm="qemu-system-x86" path="/dev/mapper/control" dev="devtmpfs" ino=3183 scontext=system_u:system_r:svirt_t:s0:c246,c566 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file permissive=1 Hash: qemu-system-x86,svirt_t,lvm_control_t,chr_file,read,write Version-Release number of selected component: selinux-policy-3.14.6-11.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.12.0 hashmarkername: setroubleshoot kernel: 5.7.0-0.rc1.git0.1.1.fc33.x86_64 type: libreport
I've submitted a Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy-contrib/pull/269
Merged to rawhide.