Bug 1722531
| Summary: | SELinux prevents grub-boot-success.service from running /usr/sbin/grub2-set-bootflag | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
| 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: | 29 | CC: | dwalsh, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.14.2-64.fc29 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-18 01:56:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
commit 0d1a19200a51598db2e4faf75545bfe030274b21 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date: Thu Jun 20 17:45:19 2019 +0200
Allow systemd to execute bootloader grub2-set-bootflag BZ(1722531)
FEDORA-2019-2eec328cc1 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2eec328cc1 selinux-policy-3.14.2-62.fc29 has been pushed to the Fedora 29 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-2019-2eec328cc1 FEDORA-2019-8071724c9b has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8071724c9b selinux-policy-3.14.2-63.fc29 has been pushed to the Fedora 29 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-2019-8071724c9b FEDORA-2019-b51794f502 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b51794f502 selinux-policy-3.14.2-64.fc29 has been pushed to the Fedora 29 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-2019-b51794f502 selinux-policy-3.14.2-64.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Jun 19 12:59:15 hostname systemd[43024]: Starting Mark boot as successful... Jun 19 12:59:15 hostname systemd[62812]: grub-boot-success.service: Failed to execute command: Permission denied Jun 19 12:59:15 hostname systemd[62812]: grub-boot-success.service: Failed at step EXEC spawning /usr/sbin/grub2-set-bootflag: Permission denied Jun 19 12:59:15 hostname systemd[43024]: grub-boot-success.service: Main process exited, code=exited, status=203/EXEC Jun 19 12:59:15 hostname systemd[43024]: grub-boot-success.service: Failed with result 'exit-code'. Jun 19 12:59:15 hostname systemd[43024]: Failed to start Mark boot as successful. type=AVC msg=audit(1561041855.865:83098): avc: denied { execute } for pid=32568 comm="(bootflag)" name="grub2-set-bootflag" dev="dm-0" ino=1487994 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:bootloader_exec_t:s0 tclass=file permissive=0 Version-Release number of selected component (if applicable): grub2-tools-2.02-62.fc29.x86_64 selinux-policy-3.14.2-60.fc29.noarch grub-boot-success.service is a user service.