Bug 2068875 - SELinux is preventing 50-ddclient from 'execute' accesses on the Datei /usr/sbin/ip.
Summary: SELinux is preventing 50-ddclient from 'execute' accesses on the Datei /usr/s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 36
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e644a71620a9fef357ddd62e229...
: 2068876 2068877 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-27 06:42 UTC by Marco Nolden
Modified: 2022-04-14 23:23 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-36.6-1.fc36
Clone Of:
Environment:
Last Closed: 2022-04-14 23:23:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marco Nolden 2022-03-27 06:42:53 UTC
Description of problem:
SELinux is preventing 50-ddclient from 'execute' 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 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                   1
First Seen                    2022-03-27 07:37:11 CEST
Last Seen                     2022-03-27 07:37:11 CEST
Local ID                      4e888add-faf8-43f4-a096-760ee6ecfe05

Raw Audit Messages
type=AVC msg=audit(1648359431.144:339): avc:  denied  { execute } for  pid=1895 comm="50-ddclient" name="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

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
*** Bug 2068876 has been marked as a duplicate of this bug. ***

Comment 2 Zdenek Pytela 2022-03-28 15:32:58 UTC
*** Bug 2068877 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2022-04-06 11:40:09 UTC
FEDORA-2022-690770081a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-690770081a

Comment 4 Fedora Update System 2022-04-06 17:55:34 UTC
FEDORA-2022-690770081a has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-690770081a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-690770081a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-04-14 23:23:03 UTC
FEDORA-2022-690770081a has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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