Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 1998 21:07:51 -0400 (EDT)
From:      Adrian Filipi-Martin <adrian@ubergeeks.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   conf/6793: /var/run not being cleared compeletely.
Message-ID:  <199805300107.VAA00361@lorax.ubergeeks.com>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 29 18:10:02 PDT 1998
>Last-Modified:
>Originator:     Adrian Filipi-Martin
>Organization:
Ubergeeks Consulting
>Release:        FreeBSD 2.2.6-RELEASE i386
>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

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805300107.VAA00361>