FS#56422 - [dhclient] Depends on deprecated ifconfig

Attached to Project: Arch Linux
Opened by Dan (direx) - Thursday, 23 November 2017, 16:54 GMT
Last edited by Christian Hesse (eworm) - Friday, 24 November 2017, 15:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When issuing `dhclient -6 enp0s31f6` I am getting the following error:

/sbin/dhclient-script: line 365: ifconfig: command not found
/sbin/dhclient-script: line 365: ifconfig: command not found
/sbin/dhclient-script: line 365: ifconfig: command not found
/sbin/dhclient-script: line 365: ifconfig: command not found
/sbin/dhclient-script: line 365: ifconfig: command not found
/sbin/dhclient-script: line 365: ifconfig: command not found


Additional info:
* Installing "net-tools" fixes this

Since the dhclient-script relies on ifconfig it should be in the dependency list.


Steps to reproduce:

1. Be on a network which uses DHCPv6
2. Obtain IP address through "dhclient -6 $interface"
This task depends upon

Closed by  Christian Hesse (eworm)
Friday, 24 November 2017, 15:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  dhcp 4.3.6-4
Comment by Doug Newgard (Scimmia) - Friday, 24 November 2017, 14:47 GMT
This actually appears to be an upstream bug. There's a note the top:

# 5. Script refresh in 2017. The aliasing code was too convoluted and needs
# to go away. Migrated DHCPv4 script to ip command from iproute2 suite.
# This is based on Debian script with some tweaks. ifconfig is no longer
# used. Everything is done using ip tool from ip-route2.

Yet they apparently didn't notice that it is used in the IPv6 portion.

Loading...