Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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]

Loading...