Bug 1855731 - SELinux is preventing cockpit-session from 'getattr' accesses on the filesystem /proc.
Summary: SELinux is preventing cockpit-session from 'getattr' accesses on the filesyst...
Keywords:
Status: CLOSED DUPLICATE of bug 1853730
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:6452c11311b8d35f64bfcb77ec0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-10 11:11 UTC by Wilde Geist
Modified: 2020-07-20 13:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-20 13:58:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: moloch_155.png (17.01 KB, application/octet-stream)
2020-07-10 11:11 UTC, Wilde Geist
no flags Details

Description Wilde Geist 2020-07-10 11:11:15 UTC
Description of problem:
SELinux is preventing cockpit-session from 'getattr' accesses on the filesystem /proc.

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

If you believe that cockpit-session should be allowed getattr access on the proc filesystem 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 'cockpit-session' --raw | audit2allow -M my-cockpitsession
# semodule -X 300 -i my-cockpitsession.pp

Additional Information:
Source Context                system_u:system_r:cockpit_session_t:s0
Target Context                system_u:object_r:proc_t:s0
Target Objects                /proc [ filesystem ]
Source                        cockpit-session
Source Path                   cockpit-session
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           filesystem-3.14-2.fc32.x86_64
SELinux Policy RPM            selinux-policy-targeted-3.14.6-18.fc33.noarch
Local Policy RPM              selinux-policy-targeted-3.14.6-18.fc33.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.8.0-0.rc4.1.fc33.x86_64 #1 SMP
                              Tue Jul 7 19:24:41 UTC 2020 x86_64 x86_64
Alert Count                   3
First Seen                    2020-07-09 07:21:31 CDT
Last Seen                     2020-07-09 07:21:31 CDT
Local ID                      78ee124f-fdbe-41dd-8ea9-c37d3680a25f

Raw Audit Messages
type=AVC msg=audit(1594297291.344:374): avc:  denied  { getattr } for  pid=4343 comm="cockpit-session" name="/" dev="proc" ino=1 scontext=system_u:system_r:cockpit_session_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=filesystem permissive=0


Hash: cockpit-session,cockpit_session_t,proc_t,filesystem,getattr

Version-Release number of selected component:
selinux-policy-targeted-3.14.6-18.fc33.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.13.1
hashmarkername: setroubleshoot
kernel:         5.8.0-0.rc4.20200708gitdcde237b9b0e.1.fc33.x86_64
type:           libreport

Comment 1 Wilde Geist 2020-07-10 11:11:18 UTC
Created attachment 1700573 [details]
File: moloch_155.png

Comment 2 Zdenek Pytela 2020-07-20 13:58:41 UTC

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


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