Date: Fri, 15 May 1998 21:03:02 +0100 From: dom@myrddin.demon.co.uk To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/6653: change to /etc/rc Message-ID: <E0yaQh4-00004y-00.qmail@myrddin.demon.co.uk>
next in thread | raw e-mail | index | archive | help
>Number: 6653
>Category: bin
>Synopsis: The rc script sometimes produces errors which are unnecessary.
>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: Sat May 16 03:10:01 PDT 1998
>Last-Modified:
>Originator: Dom Mitchell
>Organization:
Big orange angry things, inc.
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
FreeBSD myrddin.demon.co.uk 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Sun Apr 26 18:11:38 BST 1998 dom@myrddin.demon.co.uk:/usr/src/sys/compile/MYRDDIN i386
myrddin# ident /etc/rc
/etc/rc:
$Id: rc,v 1.143 1998/01/08 17:08:22 joerg Exp $
>Description:
If there are directories in the /var/run directory (eg: as used by the
sudo and xemacs ports), then the line in /etc/rc that says:
rm -f /var/run/*
Produces an error on boot up time, which could confuse a new user.
>How-To-Repeat:
1. Install sudo.
2. Use sudo.
3. Reboot.
>Fix:
Change the above mentioned line to:
rm -f /var/run/* 2>/dev/null
You may also wish to add the following statement to a point after which
/usr is mounted:
find /var/run -type f -print | xargs rm -f
>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?E0yaQh4-00004y-00.qmail>
