Bug 2041846 - SELinux is preventing pmdalinux from 'search' accesses on the directory /proc/fs/nfsd.
Summary: SELinux is preventing pmdalinux from 'search' accesses on the directory /proc...
Keywords:
Status: CLOSED DUPLICATE of bug 2116153
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ac1e1ce76bdfdde69a33bbe058e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 11:16 UTC by Eugene Mah
Modified: 2022-09-06 13:09 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-09-06 13:09:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Eugene Mah 2022-01-18 11:16:22 UTC
Description of problem:
started getting sealert reports after installing the latest selinux-policy-35.10-1.fc35
SELinux is preventing pmdalinux from 'search' accesses on the directory /proc/fs/nfsd.

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

If you believe that pmdalinux should be allowed search access on the nfsd 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 'pmdalinux' --raw | audit2allow -M my-pmdalinux
# semodule -X 300 -i my-pmdalinux.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:object_r:nfsd_fs_t:s0
Target Objects                /proc/fs/nfsd [ dir ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-35.10-1.fc35.noarch
Local Policy RPM              selinux-policy-targeted-35.10-1.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.15.15-200.fc35.x86_64 #1 SMP Sun
                              Jan 16 17:37:06 UTC 2022 x86_64 x86_64
Alert Count                   20
First Seen                    2022-01-18 06:06:02 EST
Last Seen                     2022-01-19 05:52:34 EST
Local ID                      3d4c5e0e-42b3-4b39-b403-2afde9ac2473

Raw Audit Messages
type=AVC msg=audit(1642589554.504:320): avc:  denied  { search } for  pid=2038 comm="pmdalinux" name="/" dev="nfsd" ino=1 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:nfsd_fs_t:s0 tclass=dir permissive=0


Hash: pmdalinux,pcp_pmcd_t,nfsd_fs_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-35.10-1.fc35.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.15.15-200.fc35.x86_64
type:           libreport

Potential duplicate: bug 1560307

Comment 1 Nikola Knazekova 2022-09-06 13:09:16 UTC

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


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