Bug 2116153 - 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 ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 36
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ac1e1ce76bdfdde69a33bbe058e...
: 2041846 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-07 15:22 UTC by Fabricio Ferreyra
Modified: 2022-09-06 13:09 UTC (History)
9 users (show)

Fixed In Version: selinux-policy-36.14-1.fc36
Clone Of:
Environment:
Last Closed: 2022-08-20 01:44:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 1320 0 None open Allow pmdalinux read files on an nfsd filesystem 2022-08-08 15:48:19 UTC

Description Fabricio Ferreyra 2022-08-07 15:22:32 UTC
Description of problem:
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-36.13-3.fc36.noarch
Local Policy RPM              selinux-policy-targeted-36.13-3.fc36.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.18.16-200.fc36.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Aug 3 15:44:49 UTC 2022 x86_64
                              x86_64
Alert Count                   3
First Seen                    2022-08-07 17:17:08 CEST
Last Seen                     2022-08-07 17:18:08 CEST
Local ID                      3bc6e933-f523-4d77-8231-e781bab34a77

Raw Audit Messages
type=AVC msg=audit(1659885488.520:327): avc:  denied  { search } for  pid=1394 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=1


Hash: pmdalinux,pcp_pmcd_t,nfsd_fs_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-36.13-3.fc36.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.17.1
hashmarkername: setroubleshoot
kernel:         5.18.16-200.fc36.x86_64
type:           libreport

Potential duplicate: bug 1560307

Comment 1 Fedora Update System 2022-08-12 07:56:22 UTC
FEDORA-2022-70c63dd1e2 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-70c63dd1e2

Comment 2 Fedora Update System 2022-08-13 01:09:33 UTC
FEDORA-2022-70c63dd1e2 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-70c63dd1e2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-70c63dd1e2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-08-20 01:44:43 UTC
FEDORA-2022-70c63dd1e2 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Nikola Knazekova 2022-09-06 13:09:16 UTC
*** Bug 2041846 has been marked as a duplicate of this bug. ***


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