Bug 1806442 - SELinux is preventing nm-openconnect- from using the 'setsched' accesses on a process.
Summary: SELinux is preventing nm-openconnect- from using the 'setsched' accesses on a...
Keywords:
Status: CLOSED DUPLICATE of bug 1795524
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:03b0dcca02948a48f40d6529b13...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-24 08:47 UTC by Mikhail
Modified: 2020-05-24 08:16 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-24 09:18:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2020-02-24 08:47:35 UTC
Description of problem:
SELinux is preventing nm-openconnect- from using the 'setsched' accesses on a process.

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

If you believe that nm-openconnect- should be allowed setsched access on processes labeled vpnc_t 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 'nm-openconnect-' --raw | audit2allow -M my-nmopenconnect
# semodule -X 300 -i my-nmopenconnect.pp

Additional Information:
Source Context                system_u:system_r:vpnc_t:s0
Target Context                system_u:system_r:vpnc_t:s0
Target Objects                Unknown [ process ]
Source                        nm-openconnect-
Source Path                   nm-openconnect-
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.6-4.fc33.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.6.0-0.rc2.git2.1.fc33.x86_64 #1
                              SMP Wed Feb 19 21:32:20 UTC 2020 x86_64 x86_64
Alert Count                   3
First Seen                    2020-02-20 21:32:28 +05
Last Seen                     2020-02-23 13:57:51 +05
Local ID                      159d2593-8f36-4a80-9925-3e01fe579c4b

Raw Audit Messages
type=AVC msg=audit(1582448271.371:1102): avc:  denied  { setsched } for  pid=249433 comm="nm-openconnect-" scontext=system_u:system_r:vpnc_t:s0 tcontext=system_u:system_r:vpnc_t:s0 tclass=process permissive=1


Hash: nm-openconnect-,vpnc_t,vpnc_t,process,setsched

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

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

Comment 1 Lukas Vrabec 2020-02-24 09:18:37 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.