Bug 2068876 - SELinux is preventing 50-ddclient from 'execute_no_trans' accesses on the Datei /usr/sbin/ip.
Summary: SELinux is preventing 50-ddclient from 'execute_no_trans' accesses on the Dat...
Keywords:
Status: CLOSED DUPLICATE of bug 2068875
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 36
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8536507f2e08174ab0486325e88...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-27 06:44 UTC by Marco Nolden
Modified: 2022-03-28 15:32 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-03-28 15:32:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marco Nolden 2022-03-27 06:44:23 UTC
Description of problem:
SELinux is preventing 50-ddclient from 'execute_no_trans' accesses on the Datei /usr/sbin/ip.

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

Wenn Sie denken, dass es 50-ddclient standardmäßig erlaubt sein sollte, execute_no_trans Zugriff auf ip file 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 '50-ddclient' --raw | audit2allow -M my-50ddclient
# semodule -X 300 -i my-50ddclient.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_dispatcher_t:s0
Target Context                system_u:object_r:ifconfig_exec_t:s0
Target Objects                /usr/sbin/ip [ file ]
Source                        50-ddclient
Source Path                   50-ddclient
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           iproute-5.15.0-2.fc36.x86_64
SELinux Policy RPM            selinux-policy-targeted-36.5-1.fc36.noarch
Local Policy RPM              selinux-policy-targeted-36.5-1.fc36.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 5.17.0-0.rc7.116.fc36.x86_64 #1
                              SMP PREEMPT Mon Mar 7 23:10:19 UTC 2022 x86_64
                              x86_64
Alert Count                   2
First Seen                    2022-03-27 07:37:08 CEST
Last Seen                     2022-03-27 07:37:11 CEST
Local ID                      e9887e01-ff06-475e-bd3c-86c3b2555a0e

Raw Audit Messages
type=AVC msg=audit(1648359431.144:341): avc:  denied  { execute_no_trans } for  pid=1895 comm="50-ddclient" path="/usr/sbin/ip" dev="dm-0" ino=457129 scontext=system_u:system_r:NetworkManager_dispatcher_t:s0 tcontext=system_u:object_r:ifconfig_exec_t:s0 tclass=file permissive=1


Hash: 50-ddclient,NetworkManager_dispatcher_t,ifconfig_exec_t,file,execute_no_trans

Version-Release number of selected component:
selinux-policy-targeted-36.5-1.fc36.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.17.1
hashmarkername: setroubleshoot
kernel:         5.17.0-0.rc7.116.fc36.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2022-03-28 15:32:52 UTC

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


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