| Summary: | SELinux is preventing fwupd from 'getattr' accesses on the filesystem /sys/firmware/efi/efivars. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jared Smith <jsmith.fedora> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 24 | CC: | decathorpe, dominick.grift, dwalsh, lvrabec, mgrepl, plautrba, vondruch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:775dcb6f9bc48a005d97c81dedb06d92f94c1ba534c85627bce18a6e8b87c790;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.13.1-169.fc24 selinux-policy-3.13.1-179.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-23 16:57: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: | |
commit 0550b0818d64ecaa79802cf3d981aebb2b000390
Author: Lukas Vrabec <lvrabec>
Date: Thu Jan 21 17:10:43 2016 +0100
Allow fwupd to getattr on all fs. BZ(1300339)
Description of problem: Using gnome-software to install fonts (but I have the feeling that the using gnome-software is just enough). Version-Release number of selected component: selinux-policy-3.13.1-168.fc24.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.4.0-1.fc24.x86_64 type: libreport This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase selinux-policy-3.13.1-178.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1350c96015 selinux-policy-3.13.1-178.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1350c96015 selinux-policy-3.13.1-179.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f142bb969 selinux-policy-3.13.1-179.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8f142bb969 selinux-policy-3.13.1-179.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Rebooted my machine and saw this alert. SELinux is preventing fwupd from 'getattr' accesses on the filesystem /sys/firmware/efi/efivars. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that fwupd should be allowed getattr access on the efivars filesystem 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: # grep fwupd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:fwupd_t:s0-s0:c0.c1023 Target Context system_u:object_r:efivarfs_t:s0 Target Objects /sys/firmware/efi/efivars [ filesystem ] Source fwupd Source Path fwupd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-167.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.5.0-0.rc0.git1.1.fc24.x86_64 #1 SMP Tue Jan 12 20:40:44 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-01-20 08:50:09 EST Last Seen 2016-01-20 08:50:09 EST Local ID a920670c-1f64-47cf-b7db-91d7b5da53b1 Raw Audit Messages type=AVC msg=audit(1453297809.430:728): avc: denied { getattr } for pid=4579 comm="fwupd" name="/" dev="efivarfs" ino=10886 scontext=system_u:system_r:fwupd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:efivarfs_t:s0 tclass=filesystem permissive=1 Hash: fwupd,fwupd_t,efivarfs_t,filesystem,getattr Version-Release number of selected component: selinux-policy-3.13.1-167.fc24.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc0.git1.1.fc24.x86_64 type: libreport