Bug 2039986 - SELinux is preventing (sd-parse-elf) from 'mounton' accesses on the directory /.
Summary: SELinux is preventing (sd-parse-elf) from 'mounton' accesses on the directory /.
Keywords:
Status: CLOSED DUPLICATE of bug 2031356
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4755155335d23d687ece506fc81...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-12 20:57 UTC by Mikhail
Modified: 2023-08-02 13:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-14 08:05:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2022-01-12 20:57:43 UTC
Description of problem:
SELinux is preventing (sd-parse-elf) from 'mounton' accesses on the directory /.

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

If you believe that (sd-parse-elf) should be allowed mounton access on the  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 '(sd-parse-elf)' --raw | audit2allow -M my-sdparseelf
# semodule -X 300 -i my-sdparseelf.pp

Additional Information:
Source Context                system_u:system_r:systemd_coredump_t:s0
Target Context                system_u:object_r:root_t:s0
Target Objects                / [ dir ]
Source                        (sd-parse-elf)
Source Path                   (sd-parse-elf)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-3.16-1.fc36.x86_64
SELinux Policy RPM            selinux-policy-targeted-35.8-1.fc36.noarch
Local Policy RPM              selinux-policy-targeted-35.8-1.fc36.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.17.0-
                              0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64 #1
                              SMP PREEMPT Wed Jan 12 18:54:57 UTC 2022 x86_64
                              x86_64
Alert Count                   9
First Seen                    2022-01-11 22:24:51 +05
Last Seen                     2022-01-13 01:54:14 +05
Local ID                      fa5ba04c-b95d-4006-860a-e6194deb22a7

Raw Audit Messages
type=AVC msg=audit(1642020854.294:376): avc:  denied  { mounton } for  pid=24673 comm="(sd-parse-elf)" path="/" dev="nvme0n1p2" ino=2 scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=dir permissive=1


Hash: (sd-parse-elf),systemd_coredump_t,root_t,dir,mounton

Version-Release number of selected component:
selinux-policy-targeted-35.8-1.fc36.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.17.0-0.rc0.20220112gitdaadb3bd0e8d.63.fc36.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2022-01-14 08:05:41 UTC

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


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