Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-8420

Reapply of device network update DNS changes retrieved from DHCPv4 to /etc/resolv.conf

    • None
    • Important
    • 1
    • rhel-sst-network-management
    • ssg_networking
    • 9
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • NMT - RHEL 8.10/9.4 DTM 06
    • Hide

      Given a system administrator responsible for network configuration and the DHCPv4 server changes its option on DNS nameservers,
      When they reapply the NetworkManager device configuration converting dynamic IP to static before DHCPv4 changed DNS nameservers,
      Then the /etc/resolv.conf file should be automatically updated with the new DNS nameservers provided by the DHCPv4 server on the next DHCPv4 RENEW process.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • The unit tests and integration tests are written and passed
      • The code is part of a build attached to an errata
      Show
      Given a system administrator responsible for network configuration and the DHCPv4 server changes its option on DNS nameservers, When they reapply the NetworkManager device configuration converting dynamic IP to static before DHCPv4 changed DNS nameservers, Then the /etc/resolv.conf file should be automatically updated with the new DNS nameservers provided by the DHCPv4 server on the next DHCPv4 RENEW process. Definition of Done : The implementation meets the acceptance criteria The unit tests and integration tests are written and passed The code is part of a build attached to an errata
    • None
    • Automated
    • None

      What were you trying to do that didn't work?

      After DHCPv4 server changed its option on DNS nameservers, reapply of NetworkManager device will not update /etc/resolv.conf with new DNS
      name servers.

      Please provide the package NVR for which bug is seen:

      NetworkManager-1.45.3-32585.copr.07b46b7873.el9.x86_64

      How reproducible:

      100%

      Steps to reproduce

      # Download RHEL-8423.sh and device-reapply.py and mark them as executable.
      sudo ./RHEL-8423.sh
      

      Expected results

      /etc/resolv.conf updated with new nameserver 8.8.8.8

      Actual results

      /etc/resolv.conf still holds with old nameserver 1.1.1.1

              fge@redhat.com Gris Ge
              fge@redhat.com Gris Ge
              Gris Ge Gris Ge
              Matej Berezny Matej Berezny (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: