Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Oct 1997 08:01:01 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-bugs@hub.freebsd.org, j@uriah.heep.sax.de
Subject:   Re: misc/4723: /etc/rc complains during boot when sudo was used 
Message-ID:  <199710090001.IAA23016@spinner.netplex.com.au>
In-Reply-To: Your message of "Wed, 08 Oct 1997 20:03:21 %2B1000." <199710081003.UAA02181@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans wrote:
> > > 	Change "rm -f /var/run/*" to "rm -f /var/run/* 2>/dev/null"
> > > 	in /etc/rc
> > 
> > find /var/run -type f -delete
> 
> This still leaves garbage directories and fifos, etc.
> 
> Removing of everything in /var/run was broken in rev.1.89 for bogus
> reasons (misconfigurations elsewhere).

This should be able to be reverted now and go back to the pre-1.89 method. 
The gated port sticks it's pid file in /var/db now.

It was originally:
(cd /var/run && { rm -rf -- *; cp /dev/null utmp; chmod 644 utmp; })

> Bruce
> 

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting





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