Bug 2211004

Summary: dhclient: grep: /etc/sysconfig/network-scripts/ifcfg-*: No such file or directory
Product: Red Hat Enterprise Linux 9 Reporter: Petr Sklenar <psklenar>
Component: dhcpAssignee: Martin Osvald 🛹 <mosvald>
Status: CLOSED MIGRATED QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3Keywords: MigratedToJIRA
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-21 18:45:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Sklenar 2023-05-30 09:18:50 UTC
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:

Comment 1 Petr Sklenar 2023-05-30 09:20:25 UTC
for ipv4 it looks better:
dhclient -4 -v -nw  veth-test

there is https://bugzilla.redhat.com/show_bug.cgi?id=1500723 , probably it was solved only for ipv4.

Comment 2 RHEL Program Management 2023-09-21 18:40:46 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-21 18:45:52 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.