Bug 2386603 - SELinux is preventing nm-vpnc-service from 'execute' accesses on the file /usr/bin/consolehelper.
Summary: SELinux is preventing nm-vpnc-service from 'execute' accesses on the file /us...
Keywords:
Status: CLOSED DUPLICATE of bug 2366205
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:699365f3ba5bfec7b6df4bfca0c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-05 19:30 UTC by Alvaro Araya
Modified: 2025-08-07 13:17 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-07 13:17:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.05 KB, text/plain)
2025-08-05 19:30 UTC, Alvaro Araya
no flags Details
File: os_info (645 bytes, text/plain)
2025-08-05 19:30 UTC, Alvaro Araya
no flags Details

Description Alvaro Araya 2025-08-05 19:30:09 UTC
Description of problem:
Activate the cisco vpnc connection
SELinux is preventing nm-vpnc-service from 'execute' accesses on the file /usr/bin/consolehelper.

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

If you believe that nm-vpnc-service should be allowed execute access on the consolehelper file 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-vpnc-service' --raw | audit2allow -M my-nmvpncservice
# semodule -X 300 -i my-nmvpncservice.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:consolehelper_exec_t:s0
Target Objects                /usr/bin/consolehelper [ file ]
Source                        nm-vpnc-service
Source Path                   nm-vpnc-service
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           usermode-1.114-12.fc42.x86_64
SELinux Policy RPM            selinux-policy-targeted-42.3-1.fc42.noarch
Local Policy RPM              selinux-policy-targeted-42.3-1.fc42.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.15.8-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jul 24 13:26:52 UTC 2025
                              x86_64
Alert Count                   2
First Seen                    2025-08-05 13:25:35 CST
Last Seen                     2025-08-05 13:25:35 CST
Local ID                      05d7416a-f50a-487c-906f-28ccd005be62

Raw Audit Messages
type=AVC msg=audit(1754421935.98:1076): avc:  denied  { execute } for  pid=151512 comm="nm-vpnc-service" name="consolehelper" dev="nvme0n1p3" ino=134223422 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:consolehelper_exec_t:s0 tclass=file permissive=0


Hash: nm-vpnc-service,NetworkManager_t,consolehelper_exec_t,file,execute

Version-Release number of selected component:
selinux-policy-targeted-42.3-1.fc42.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing nm-vpnc-service from 'execute' accesses on the file /usr/bin/consolehelper.
package:        selinux-policy-targeted-42.3-1.fc42.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.15.8-200.fc42.x86_64
comment:        Activate the cisco vpnc connection
component:      selinux-policy

Comment 1 Alvaro Araya 2025-08-05 19:30:11 UTC
Created attachment 2102734 [details]
File: description

Comment 2 Alvaro Araya 2025-08-05 19:30:13 UTC
Created attachment 2102735 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-08-07 13:17:35 UTC

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


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