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

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

    • NetworkManager-1.40.16-11.el8
    • None
    • Important
    • ZStream
    • 1
    • sst_network_management
    • ssg_networking
    • 9
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • NMT - RHEL 8.10/9.4 DTM 06
    • Approved Blocker
    • 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 RENEW process of DHCPv4.

      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 RENEW process of DHCPv4. 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
    • Pass
    • 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.40.16-4.el8_8

      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

        1. device-reapply.py
          2 kB
          Gris Ge
        2. RHEL-8423.sh
          2 kB
          Gris Ge

            ihuguet@redhat.com Inigo Huguet
            rh-ee-sfaye Stanislas Faye
            Gris Ge Gris Ge
            Matej Berezny Matej Berezny
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: