From adrian@lorax.ubergeeks.com  Fri May 29 18:08:08 1998
Received: from lorax.ubergeeks.com (lorax.ubergeeks.com [206.205.41.241])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA17118
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 May 1998 18:08:03 -0700 (PDT)
          (envelope-from adrian@lorax.ubergeeks.com)
Received: (from adrian@localhost)
	by lorax.ubergeeks.com (8.8.8/8.8.8) id VAA00361;
	Fri, 29 May 1998 21:07:51 -0400 (EDT)
	(envelope-from adrian)
Message-Id: <199805300107.VAA00361@lorax.ubergeeks.com>
Date: Fri, 29 May 1998 21:07:51 -0400 (EDT)
From: Adrian Filipi-Martin <adrian@ubergeeks.com>
Reply-To: adrian@ubergeeks.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: /var/run not being cleared compeletely.
X-Send-Pr-Version: 3.2

>Number:         6793
>Category:       conf
>Synopsis:       /var/run is not complete cleared out at boot time.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 29 18:10:02 PDT 1998
>Closed-Date:    Tue Jun 2 04:03:13 PDT 1998
>Last-Modified:  Tue Jun  2 04:03:24 PDT 1998
>Originator:     Adrian Filipi-Martin
>Release:        FreeBSD 2.2.6-RELEASE i386
>Organization:
Ubergeeks Consulting
>Environment:

	

>Description:

	/var/run is not completely cleared at boot time.  In particular
	subdirectories are not removed.  Things such as sudo tickets
	persist through system reboots.

>How-To-Repeat:

	Create a directory under /var/run.

>Fix:
	
	Apply the following patch:

--- rc.orig	Fri May 29 21:03:13 1998
+++ rc	Fri May 29 21:03:47 1998
@@ -95,7 +95,7 @@
 
 adjkerntz -i
 
-rm -f /var/run/*
+rm -rf /var/run/*
 
 # Keep a copy of the boot messages around
 dmesg > /var/run/dmesg.boot

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Tue Jun 2 04:03:13 PDT 1998 
State-Changed-Why:  
fixed in -current 
>Unformatted:
