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

dhclient: grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.3.0
    • dhcp
    • None
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      dhclient shows unnecessary warning/error

      Version-Release number of selected component (if applicable):
      rhel93 with dhcp-client-4.4.2-19.b1.el9.s390x

      How reproducible:
      always

      Steps to Reproduce:
      1,
      ip link add veth-test type veth peer name veth-peer

      ip link set veth-test address 02:01:02:03:04:08
      ip link set veth-peer address 02:01:02:03:04:09

      ip link set dev veth-test up
      ip link set dev veth-peer up

      ip address add 2600::1/64 dev veth-peer
      2,
      dnsmasq --interface=veth-peer --enable-ra --dhcp-range=2600::10,2600::20 -R

      3,
      dhclient -6 -v -nw veth-test
      dhclient -6 -v -nw veth-test -r

      Actual results:
      there are initscript relics in the output:

      grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
      grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
      grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory

      Expected results:
      no "No such file or directory"

      Additional info:

              rhn-support-mosvald Martin Osvald
              psklenar Petr Sklenar
              Martin Osvald Martin Osvald
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: