Subject: bin/26504: dhclient overwrites pidfile on failre
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/02/2004 01:01:04
>Number:         26504
>Category:       bin
>Synopsis:       dhclient overwrites pidfile on failre
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 01 16:08:00 UTC 2004
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 2.0F
System: NetBSD 2.0F NetBSD 2.0F (COCONUT) #0: Wed Jun 30 14:19:44 JST 2004 i386
Architecture: i386
Machine: i386
	dhclient overwrites pidfile on failre.  for instance,

	# dhclient wi0
	# dhclient wm0

	2nd invocation of dhclient fails with bind(2) error.  however, pidfile
	is overwritten by 2nd invocation, and we will not be able to return
	lease by dhclient -r, for instance.