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 bugzilla.redhat.com.
Bug 1806410 - SELinux is preventing cockpit-ws from using the 'setsched' accesses on a process.
Summary: SELinux is preventing cockpit-ws from using the 'setsched' accesses on a proc...
Keywords:
Status: CLOSED DUPLICATE of bug 1795524
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:773c1d12d77e176759a3a57dd3a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-24 06:50 UTC by Martin Wolf
Modified: 2020-02-24 08:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-24 08:50:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Wolf 2020-02-24 06:50:20 UTC
Description of problem:
SELinux is preventing cockpit-ws from using the 'setsched' accesses on a process.

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

Wenn Sie denken, dass es cockpit-ws standardmäßig erlaubt sein sollte, setsched Zugriff auf cockpit_ws_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'cockpit-ws' --raw | audit2allow -M my-cockpitws
# semodule -X 300 -i my-cockpitws.pp

Additional Information:
Source Context                system_u:system_r:cockpit_ws_t:s0
Target Context                system_u:system_r:cockpit_ws_t:s0
Target Objects                Unbekannt [ process ]
Source                        cockpit-ws
Source Path                   cockpit-ws
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.5-27.fc32.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.6.0-0.rc2.git0.1.fc32.x86_64 #1
                              SMP Mon Feb 17 21:09:39 UTC 2020 x86_64 x86_64
Alert Count                   1
First Seen                    2020-02-24 07:31:20 CET
Last Seen                     2020-02-24 07:31:20 CET
Local ID                      4a3b4aec-48db-42e7-882b-f94e51f1c6cf

Raw Audit Messages
type=AVC msg=audit(1582525880.590:374): avc:  denied  { setsched } for  pid=13496 comm="cockpit-ws" scontext=system_u:system_r:cockpit_ws_t:s0 tcontext=system_u:system_r:cockpit_ws_t:s0 tclass=process permissive=0


Hash: cockpit-ws,cockpit_ws_t,cockpit_ws_t,process,setsched

Version-Release number of selected component:
selinux-policy-3.14.5-27.fc32.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.12.0
hashmarkername: setroubleshoot
kernel:         5.6.0-0.rc2.git0.1.fc32.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2020-02-24 08:50:55 UTC

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


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