Bug 1379478 - SELinux is preventing (systemd) from 'read' accesses on the file /etc/selinux/targeted/logins/adamw.
Summary: SELinux is preventing (systemd) from 'read' accesses on the file /etc/selinux...
Keywords:
Status: CLOSED DUPLICATE of bug 1309911
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:54da3c448e5b51ccdf7cafea458...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-26 22:57 UTC by Adam Williamson
Modified: 2016-09-26 23:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 23:00:56 UTC
Type: ---


Attachments (Terms of Use)

Description Adam Williamson 2016-09-26 22:57:33 UTC
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

Comment 1 Adam Williamson 2016-09-26 23:00:56 UTC

*** This bug has been marked as a duplicate of bug 1309911 ***


Note You need to log in before you can comment on or make changes to this bug.