Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2123928 - SELinux is preventing pmdaproc from 'search' accesses on the directory account.
Summary: SELinux is preventing pmdaproc from 'search' accesses on the directory account.
Status: CLOSED DUPLICATE of bug 2041845
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 37
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:3cfb7a811603ee78912edf4a986...
Depends On:
TreeView+ depends on / blocked
Reported: 2022-09-03 06:51 UTC by Ian Laurie
Modified: 2022-09-07 07:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-09-07 07:51:18 UTC
Type: ---

Attachments (Terms of Use)

Description Ian Laurie 2022-09-03 06:51:13 UTC
Description of problem:
First login to Xfce Security Lab freshly installed from 20220831.n.0.
SELinux is preventing pmdaproc from 'search' accesses on the directory account.

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

If you believe that pmdaproc should be allowed search access on the account directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'pmdaproc' --raw | audit2allow -M my-pmdaproc
# semodule -X 300 -i my-pmdaproc.pp

Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                system_u:object_r:acct_data_t:s0
Target Objects                account [ dir ]
Source                        pmdaproc
Source Path                   pmdaproc
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-37.8-1.fc37.noarch
Local Policy RPM              selinux-policy-targeted-37.8-1.fc37.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.19.3-300.fc37.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Sun Aug 21 16:17:41 UTC 2022
                              x86_64 x86_64
Alert Count                   1
First Seen                    2022-09-03 16:46:26 AEST
Last Seen                     2022-09-03 16:46:26 AEST
Local ID                      aa434836-c226-471e-8bc3-9ce8902cd4af

Raw Audit Messages
type=AVC msg=audit(1662187586.788:246): avc:  denied  { search } for  pid=1662 comm="pmdaproc" name="account" dev="dm-0" ino=275753 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:acct_data_t:s0 tclass=dir permissive=0

Hash: pmdaproc,pcp_pmcd_t,acct_data_t,dir,search

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.17.2
hashmarkername: setroubleshoot
kernel:         5.19.3-300.fc37.x86_64
type:           libreport

Potential duplicate: bug 2063469

Comment 1 Nikola Knazekova 2022-09-07 07:51:18 UTC

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

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