FS#11574 - netcfg starts dhclient, but doesn't kill it, if DHCLIENT isn't set.
Attached to Project:
Arch Linux
Opened by Christian von Essen (Neronus) - Wednesday, 24 September 2008, 10:48 GMT
Last edited by James Rayner (iphitus) - Saturday, 04 October 2008, 00:02 GMT
Opened by Christian von Essen (Neronus) - Wednesday, 24 September 2008, 10:48 GMT
Last edited by James Rayner (iphitus) - Saturday, 04 October 2008, 00:02 GMT
|
Details
Description:
netcfg starts dhclient, but doesn't kill it, if DHCLIENT isn't set. Additional info: Version: 2.1.0-1 Steps to reproduce: Create a profile, don't set DHCLIENT, and set IP=dhcp. Furthermore, install dhclient. Then, when the interface is brought up, dhclient is started. When it is brought down, dhclient isn't killed. Simple fix: Make the code in wireless_up and wireless_down work in the same way, i.e. insert [[ ! "$DHCLIENT" && -e /sbin/dhclient ]] && DHCLIENT="yes" after line 94 in /usr/lib/network/ethernet.subr |
This task depends upon
Closed by James Rayner (iphitus)
Saturday, 04 October 2008, 00:02 GMT
Reason for closing: Fixed
Additional comments about closing: netcfg v2.1.2 [testing]
Saturday, 04 October 2008, 00:02 GMT
Reason for closing: Fixed
Additional comments about closing: netcfg v2.1.2 [testing]