Bug 1815314
| Summary: | SELinux is preventing spice-vdagentd from using the 'sys_nice' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Angie <bellecodeur> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 32 | CC: | dwalsh, grepl.miroslav, lvrabec, plautrba, vmojzis, zpytela |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e0dd7500f345900433431e1c96a6693535bd911e5bf428c3bc6ee6d4c3031443;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-09 13:42:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Similar problem has been detected: After 2nd reboot of Fedora 32 beta (Latest updates just installed including newer SELinux-Policy update) in QEMU KVM VM guest on Fedora 31 Host hashmarkername: setroubleshoot kernel: 5.6.0-0.rc5.git0.2.fc32.x86_64 package: selinux-policy-3.14.5-30.fc32.noarch reason: SELinux is preventing spice-vdagentd from using the 'sys_nice' capabilities. type: libreport *** This bug has been marked as a duplicate of bug 1811407 *** |
Description of problem: Errors appeared on first boot after Fedora 32 beta workstation netinst netinstall in QEMU KVM virtual Machine guest on Fedora 31 Workstation Host SELinux is preventing spice-vdagentd from using the 'sys_nice' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that spice-vdagentd should have the sys_nice capability 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 'spice-vdagentd' --raw | audit2allow -M my-spicevdagentd # semodule -X 300 -i my-spicevdagentd.pp Additional Information: Source Context system_u:system_r:vdagent_t:s0 Target Context system_u:system_r:vdagent_t:s0 Target Objects Unknown [ capability ] Source spice-vdagentd Source Path spice-vdagentd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-3.14.5-28.fc32.noarch Local Policy RPM selinux-policy-targeted-3.14.5-28.fc32.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.6.0-0.rc5.git0.2.fc32.x86_64 #1 SMP Tue Mar 10 19:09:42 UTC 2020 x86_64 x86_64 Alert Count 1 First Seen 2020-03-19 17:29:28 PDT Last Seen 2020-03-19 17:29:28 PDT Local ID dc91200d-01d2-4616-a145-29035e06469d Raw Audit Messages type=AVC msg=audit(1584664168.861:214): avc: denied { sys_nice } for pid=1348 comm="spice-vdagentd" capability=23 scontext=system_u:system_r:vdagent_t:s0 tcontext=system_u:system_r:vdagent_t:s0 tclass=capability permissive=0 Hash: spice-vdagentd,vdagent_t,vdagent_t,capability,sys_nice Version-Release number of selected component: selinux-policy-3.14.5-28.fc32.noarch Additional info: component: selinux-policy reporter: libreport-2.12.0 hashmarkername: setroubleshoot kernel: 5.6.0-0.rc5.git0.2.fc32.x86_64 type: libreport