| Summary: | SELinux is preventing systemd-resolve from 'getattr' accesses on the file /run/systemd/netif/links/2. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lars Nielsen <redhat> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | 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:9335d477f3c527e0dfec877eadbf4df0d5cd5efb9b1f19be93d57ecb5788a07c;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.13.1-181.fc24 selinux-policy-3.13.1-182.fc24 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-19 20:32:07 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 dcbd1638fa0cf460192d685193f10bbc6f2946f6
Author: Lukas Vrabec <lvrabec>
Date: Fri Apr 1 11:01:26 2016 +0200
Allow systemd_resolved to read systemd_networkd run files. BZ(1322921)
selinux-policy-3.13.1-182.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a04caa95a2 selinux-policy-3.13.1-182.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-a04caa95a2 selinux-policy-3.13.1-182.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: I don't know what is causing this - could be inserting dvd SELinux is preventing systemd-resolve from 'getattr' accesses on the file /run/systemd/netif/links/2. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-resolve should be allowed getattr access on the 2 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-resolve /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_resolved_t:s0 Target Context system_u:object_r:systemd_networkd_var_run_t:s0 Target Objects /run/systemd/netif/links/2 [ file ] Source systemd-resolve Source Path systemd-resolve Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-180.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 42 First Seen 2016-03-31 09:41:49 CEST Last Seen 2016-03-31 18:35:19 CEST Local ID c9c84f1b-5b6a-4795-93c0-f23dd260d685 Raw Audit Messages type=AVC msg=audit(1459442119.418:865): avc: denied { getattr } for pid=1106 comm="systemd-resolve" path="/run/systemd/netif/links/2" dev="tmpfs" ino=19186 scontext=system_u:system_r:systemd_resolved_t:s0 tcontext=system_u:object_r:systemd_networkd_var_run_t:s0 tclass=file permissive=1 Hash: systemd-resolve,systemd_resolved_t,systemd_networkd_var_run_t,file,getattr Version-Release number of selected component: selinux-policy-3.13.1-180.fc24.noarch Additional info: reporter: libreport-2.6.4 hashmarkername: setroubleshoot kernel: 4.5.0-0.rc7.git0.2.fc24.x86_64 type: libreport