| Summary: | SELinux is preventing systemd-gpt-aut from 'getattr' accesses on the file /run/systemd/generator.late/dev-sda2.swap. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e8240299fe39060b00bdab652f46b17f63b6664832f659b7deefc0c654df0a5b;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-29 22:35:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 1322116 *** |
Description of problem: SELinux is preventing systemd-gpt-aut from 'getattr' accesses on the file /run/systemd/generator.late/dev-sda2.swap. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-gpt-aut should be allowed getattr access on the dev-sda2.swap 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:systemd_unit_file_t:s0 Target Objects /run/systemd/generator.late/dev-sda2.swap [ 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-179.fc24.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.5.0-0.rc7.git0.2.fc24.x86_64 #1 SMP Tue Mar 8 02:20:08 UTC 2016 x86_64 x86_64 Alert Count 6 First Seen 2016-03-30 01:08:06 YEKT Last Seen 2016-03-30 01:23:52 YEKT Local ID 61aa1535-6cc7-4ee7-b14d-5f8cd8d2b801 Raw Audit Messages type=AVC msg=audit(1459283032.126:413): avc: denied { getattr } for pid=3861 comm="systemd-gpt-aut" path="/run/systemd/generator.late/dev-sda2.swap" dev="tmpfs" ino=54759 scontext=system_u:system_r:systemd_gpt_generator_t:s0 tcontext=system_u:object_r:systemd_unit_file_t:s0 tclass=file permissive=1 Hash: systemd-gpt-aut,systemd_gpt_generator_t,systemd_unit_file_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-179.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport