Bug 1737886 - SELinux is preventing (modprobe) from 'create' accesses on the directory linger.
Summary: SELinux is preventing (modprobe) from 'create' accesses on the directory linger.
Keywords:
Status: CLOSED DUPLICATE of bug 1734831
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1067a3b6fe0acc11af78d8e83a9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-06 10:46 UTC by Dale Turner
Modified: 2019-08-06 10:55 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-06 10:55:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dale Turner 2019-08-06 10:46:18 UTC
Description of problem:
I attempted to login. Other than that I am not sure what caused it.
SELinux is preventing (modprobe) from 'create' accesses on the directory linger.

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

If you believe that (modprobe) should be allowed create access on the linger directory 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 '(modprobe)' --raw | audit2allow -M my-modprobe
# semodule -X 300 -i my-modprobe.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                system_u:object_r:systemd_logind_var_lib_t:s0
Target Objects                linger [ dir ]
Source                        (modprobe)
Source Path                   (modprobe)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.4-26.fc31.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.0-0.rc2.git4.1.fc31.x86_64 #1
                              SMP Fri Aug 2 13:10:34 UTC 2019 x86_64 x86_64
Alert Count                   10
First Seen                    2019-08-06 07:28:56 ADT
Last Seen                     2019-08-06 07:28:57 ADT
Local ID                      ed5e43d6-6cd5-41f4-b07a-457267f5482d

Raw Audit Messages
type=AVC msg=audit(1565087337.9:127): avc:  denied  { create } for  pid=977 comm="(d-logind)" name="linger" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:systemd_logind_var_lib_t:s0 tclass=dir permissive=0


Hash: (modprobe),init_t,systemd_logind_var_lib_t,dir,create

Version-Release number of selected component:
selinux-policy-3.14.4-26.fc31.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.3.0-0.rc2.git4.1.fc31.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-08-06 10:55:34 UTC

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


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