Subject: bin/4107: dhclient in -current and the use of unlink()
To: None <gnats-bugs@gnats.netbsd.org>
From: None <scotte@warped.com>
List: netbsd-bugs
Date: 09/13/1997 01:34:25
>Number:         4107
>Category:       bin
>Synopsis:       dhclient leaves scripts in /tmp
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 12 18:35:01 1997
>Last-Modified:
>Originator:     Scott Ellis
>Organization:
	
>Release:        Aug-10-1997 <NetBSD-current source date>
>Environment:
	
System: NetBSD Intrepid 1.2G NetBSD 1.2G (INTREPID) #3: Sun Aug 10 17:17:28 PDT 1997 scotte@Intrepid:/home/src/sys/arch/i386/compile/INTREPID i386


>Description:
	

dhclient, as shipped with NetBSD has the unlink() call commented out in 
dhclient.c, which causes /tmp to fill up with dcs* script files.  Uncommenting
this call seems to cause no ill effects (been running that way for ~2 months)
and resolves the problem.

>How-To-Repeat:
	
Run dhclient.

>Fix:
	
Uncomment existing unlink() call in dhclient.c source
>Audit-Trail:
>Unformatted: