Description of problem:
SELinux is preventing qemu-system-x86 from 'read' accesses on the file cmdline.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that qemu-system-x86 should be allowed read access on the cmdline 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:c267,c505
Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
023
Target Objects cmdline [ file ]
Source qemu-system-x86
Source Path qemu-system-x86
Port <Unknown>
Host (removed)
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.13.1-259.fc26.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name (removed)
Platform Linux (removed) 4.11.9-300.fc26.x86_64 #1 SMP Wed
Jul 5 16:21:56 UTC 2017 x86_64 x86_64
Alert Count 1
First Seen 2017-07-13 06:37:38 EDT
Last Seen 2017-07-13 06:37:38 EDT
Local ID cd4a4bce-9886-4b3c-a622-3671d9dfe664
Raw Audit Messages
type=AVC msg=audit(1499942258.349:695): avc: denied { read } for pid=12081 comm="qemu-system-x86" name="cmdline" dev="proc" ino=340259 scontext=system_u:system_r:svirt_t:s0:c267,c505 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file permissive=1
Hash: qemu-system-x86,svirt_t,unconfined_t,file,read
Version-Release number of selected component:
selinux-policy-3.13.1-259.fc26.noarch
Additional info:
component: selinux-policy
reporter: libreport-2.9.1
hashmarkername: setroubleshoot
kernel: 4.11.9-300.fc26.x86_64
type: libreport
Description of problem:
Happens after shutting down a Windows VM.
Version-Release number of selected component:
selinux-policy-3.13.1-260.9.fc26.noarch
Additional info:
reporter: libreport-2.9.1
hashmarkername: setroubleshoot
kernel: 4.13.5-200.fc26.x86_64
type: libreport
Description of problem:
Happens when shutting down my Windows VM in Gnome Boxes.
Version-Release number of selected component:
selinux-policy-3.13.1-260.13.fc26.noarch
Additional info:
reporter: libreport-2.9.1
hashmarkername: setroubleshoot
kernel: 4.13.5-200.fc26.x86_64
type: libreport
(In reply to Lukas Vrabec from comment #3)
> This should be fixed in the latest selinux-policy package update.
Just occurred for me with 3.13.1-260.13.fc26 installed.
Description of problem: SELinux is preventing qemu-system-x86 from 'read' accesses on the file cmdline. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that qemu-system-x86 should be allowed read access on the cmdline 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:c267,c505 Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects cmdline [ file ] Source qemu-system-x86 Source Path qemu-system-x86 Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-259.fc26.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.11.9-300.fc26.x86_64 #1 SMP Wed Jul 5 16:21:56 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-07-13 06:37:38 EDT Last Seen 2017-07-13 06:37:38 EDT Local ID cd4a4bce-9886-4b3c-a622-3671d9dfe664 Raw Audit Messages type=AVC msg=audit(1499942258.349:695): avc: denied { read } for pid=12081 comm="qemu-system-x86" name="cmdline" dev="proc" ino=340259 scontext=system_u:system_r:svirt_t:s0:c267,c505 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=file permissive=1 Hash: qemu-system-x86,svirt_t,unconfined_t,file,read Version-Release number of selected component: selinux-policy-3.13.1-259.fc26.noarch Additional info: component: selinux-policy reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.11.9-300.fc26.x86_64 type: libreport