Bug 1500766 - SELinux is preventing systemd from 'read' accesses on the lnk_file 8:6.
Summary: SELinux is preventing systemd from 'read' accesses on the lnk_file 8:6.
Keywords:
Status: CLOSED DUPLICATE of bug 1500820
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:31eb7c05e1f6e4d5b5133a47c30...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 12:29 UTC by Jia Yuan Lo
Modified: 2017-10-11 15:41 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-10-11 15:41:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jia Yuan Lo 2017-10-11 12:29:52 UTC
Description of problem:
SELinux is preventing systemd from 'read' accesses on the lnk_file 8:6.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that systemd should be allowed read access on the 8:6 lnk_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:sysfs_t:s0
Target Objects                8:6 [ lnk_file ]
Source                        systemd
Source Path                   systemd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.12.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.13.5-200.fc26.x86_64 #1 SMP Thu
                              Oct 5 16:53:13 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-10-11 20:28:55 +08
Last Seen                     2017-10-11 20:28:55 +08
Local ID                      a438a88c-259f-4237-8c07-630e519a305c

Raw Audit Messages
type=AVC msg=audit(1507724935.372:264): avc:  denied  { read } for  pid=1 comm="systemd" name="8:6" dev="sysfs" ino=16977 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=lnk_file permissive=1


Hash: systemd,init_t,sysfs_t,lnk_file,read

Version-Release number of selected component:
selinux-policy-3.13.1-260.12.fc26.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.13.5-200.fc26.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2017-10-11 15:41:39 UTC

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


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