| Summary: | SELinux is preventing (systemd) from 'read' accesses on the file /etc/selinux/targeted/logins/adamw. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| 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: | 25 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:54da3c448e5b51ccdf7cafea45807e7b5117bcb5c52f5eb65e5e415eda673f2c;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-26 23:00:56 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 1309911 *** |
Description of problem: Happened on boot and user login of current F25, GNOME desktop. SELinux is preventing (systemd) from 'read' accesses on the file /etc/selinux/targeted/logins/adamw. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that (systemd) should be allowed read access on the adamw 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: # ausearch -c '(systemd)' --raw | audit2allow -M my-systemd # semodule -X 300 -i my-systemd.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:object_r:selinux_login_config_t:s0 Target Objects /etc/selinux/targeted/logins/adamw [ file ] Source (systemd) Source Path (systemd) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-215.fc25.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.8.0-0.rc7.git0.1.fc25.x86_64 #1 SMP Mon Sep 19 15:24:06 UTC 2016 x86_64 x86_64 Alert Count 29 First Seen 2016-01-22 17:11:39 PST Last Seen 2016-09-26 15:52:14 PDT Local ID 2ea8ef13-2d53-42b7-8451-476239dd671a Raw Audit Messages type=AVC msg=audit(1474930334.330:235): avc: denied { read } for pid=1915 comm="(systemd)" name="adamw" dev="dm-2" ino=393249 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:selinux_login_config_t:s0 tclass=file permissive=0 Hash: (systemd),init_t,selinux_login_config_t,file,read Version-Release number of selected component: selinux-policy-3.13.1-215.fc25.noarch Additional info: reporter: libreport-2.8.0 hashmarkername: setroubleshoot kernel: 4.8.0-0.rc7.git0.1.fc25.x86_64 type: libreport Potential duplicate: bug 1309911