Bug 1934756 - SELinux is preventing systemd-coredum from using the 'fowner' capabilities.
Summary: SELinux is preventing systemd-coredum from using the 'fowner' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1933437
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:5b2d03d9fd559d18df058be012c...
: 1938387 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-03 19:11 UTC by Mikhail
Modified: 2021-03-23 17:05 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-03-23 17:05:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2021-03-03 19:11:26 UTC
Description of problem:
SELinux is preventing systemd-coredum from using the 'fowner' capabilities.

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

If you believe that systemd-coredum should have the fowner capability 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 'systemd-coredum' --raw | audit2allow -M my-systemdcoredum
# semodule -X 300 -i my-systemdcoredum.pp

Additional Information:
Source Context                system_u:system_r:systemd_coredump_t:s0
Target Context                system_u:system_r:systemd_coredump_t:s0
Target Objects                Unknown [ capability ]
Source                        systemd-coredum
Source Path                   systemd-coredum
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-3.14.8-4.fc35.noarch
Local Policy RPM              selinux-policy-targeted-3.14.8-4.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.12.0-0.rc1.162.fc35.x86_64+debug
                              #1 SMP Tue Mar 2 01:11:26 +05 2021 x86_64 x86_64
Alert Count                   1
First Seen                    2021-03-03 23:44:37 +05
Last Seen                     2021-03-03 23:44:37 +05
Local ID                      0d3490da-ee0a-408b-906c-6b54bf44179c

Raw Audit Messages
type=AVC msg=audit(1614797077.235:597): avc:  denied  { fowner } for  pid=5552 comm="systemd-coredum" capability=3  scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:system_r:systemd_coredump_t:s0 tclass=capability permissive=1


Hash: systemd-coredum,systemd_coredump_t,systemd_coredump_t,capability,fowner

Version-Release number of selected component:
selinux-policy-targeted-3.14.8-4.fc35.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.14.0
hashmarkername: setroubleshoot
kernel:         5.12.0-0.rc1.162.fc35.x86_64+debug
type:           libreport

Comment 1 Mikhail 2021-03-08 17:20:01 UTC
Similar problem has been detected:

1. Launch Calendar application
2. Close Calendar application
3. Launch Calendar application again (here happened crash and this SELinux alert)

hashmarkername: setroubleshoot
kernel:         5.12.0-0.rc2.165.fc35.x86_64+debug
package:        selinux-policy-targeted-3.14.8-4.fc35.noarch
reason:         SELinux is preventing systemd-coredum from using the 'fowner' capabilities.
type:           libreport

Comment 2 Patrick Vavrina 2021-03-13 02:27:54 UTC
*** Bug 1938387 has been marked as a duplicate of this bug. ***

Comment 3 Zdenek Pytela 2021-03-23 17:05:24 UTC

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


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