| Summary: | SELinux is preventing systemd-gpt-aut from 'ioctl' accesses on the blk_file /dev/sda. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:53c46c398dda37206978395e8869e8a873ffa864a5bacf0c141257e119d064dc; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-21 12:46:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Description of problem: This popped up during system update. SELinux is preventing systemd-gpt-aut from 'ioctl' accesses on the blk_file /dev/sda. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-gpt-aut should be allowed ioctl access on the sda blk_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: # grep systemd-gpt-aut /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_gpt_generator_t:s0 Target Context system_u:object_r:fixed_disk_device_t:s0 Target Objects /dev/sda [ blk_file ] Source systemd-gpt-aut Source Path systemd-gpt-aut Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-178.fc25.noarch selinux- policy-3.13.1-179.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.5.0-1.fc25.x86_64 #1 SMP Mon Mar 14 16:59:49 UTC 2016 x86_64 x86_64 Alert Count 1 First Seen 2016-03-21 12:31:47 CET Last Seen 2016-03-21 12:31:47 CET Local ID 9fcd594e-a734-4e1a-ba91-c9054f4245b9 Raw Audit Messages type=AVC msg=audit(1458559907.510:669): avc: denied { ioctl } for pid=23997 comm="systemd-gpt-aut" path="/dev/sda" dev="devtmpfs" ino=1194 ioctlcmd=1272 scontext=system_u:system_r:systemd_gpt_generator_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file permissive=1 Hash: systemd-gpt-aut,systemd_gpt_generator_t,fixed_disk_device_t,blk_file,ioctl Version-Release number of selected component: selinux-policy-3.13.1-178.fc25.noarch selinux-policy-3.13.1-179.fc25.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-1.fc25.x86_64 type: libreport Potential duplicate: bug 1317176