Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-13544

NetworkManager-dispatcher fails when selinux is enabled [OSP-NFV-Tracker]

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Proposed
    • NetworkManager.x86_64_1:1.46.0-32.el9_4
    • NetworkManager.x86_64_1:1.46.0-32.el9_4
    • rhos-dfg-nfv
    • Yes
    • Hide
      .Fixes `NetworkManager-dispatcher` failures

      Before this update, the `NetworkManager-dispatcher` service was blocked by SELinux permission denial, causing the service to fail when SELinux was enforced. With this release, NetworkManager has been updated to allow running the`NetworkManager-dispatcher` service with SELinux in enforcing mode. As a result, the `NetworkManager-dispatcher` service now runs with SELinux in enforcing mode, eliminating the failures.

      Show
      .Fixes `NetworkManager-dispatcher` failures Before this update, the `NetworkManager-dispatcher` service was blocked by SELinux permission denial, causing the service to fail when SELinux was enforced. With this release, NetworkManager has been updated to allow running the`NetworkManager-dispatcher` service with SELinux in enforcing mode. As a result, the `NetworkManager-dispatcher` service now runs with SELinux in enforcing mode, eliminating the failures.
    • Bug Fix
    • Done
    • Important

      Goal:

      Allow ** NetworkManager-dispatcher service to run while Selinux is enabled ** 

       

      [root@compute-0 os-net-config_nmstate]# getenforce

      Enforcing

       

      logs:

      Jan 29 14:02:52 compute-0 systemd[1]: Starting Network Manager Script Dispatcher Service...

      Jan 29 14:02:52 compute-0 nm-dispatcher[43029]: dbus: failure to get D-Bus connection: Could not connect: Permission denied

      Jan 29 14:02:52 compute-0 systemd[1]: NetworkManager-dispatcher.service: Main process exited, code=exited, status=1/FAILURE

      Jan 29 14:02:52 compute-0 systemd[1]: NetworkManager-dispatcher.service: Failed with result 'exit-code'.

      Jan 29 14:02:52 compute-0 systemd[1]: Failed to start Network Manager Script Dispatcher Service.

       

      Version:

      Name         : NetworkManager

      Epoch        : 1

      Version      : 1.46.0

      Release      : 21.el9_4

      Architecture : x86_64

      Size         : 6.3 M

      Source       : NetworkManager-1.46.0-21.el9_4.src.rpm

      Repository   : @System

      From repo    : rhosp-rhel-9.4-baseos

       

      [root@compute-0 os-net-config_nmstate]# uname -a

      Linux compute-0 5.14.0-427.50.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 18 13:06:23 EST 2024 x86_64 x86_64 x86_64 GNU/Linux

       

      Acceptance Criteria:

      • NetworkManager-dispatcher service shall run when Selinux is set to enforcing

       

              vcandapp@redhat.com Vijayalakshmi Candappa
              ksundara@redhat.com Karthik Sundaravel
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: