Date: Tue, 7 Oct 1997 22:42:11 +0200 (CEST) From: Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/4723: /etc/rc complains during boot when sudo was used Message-ID: <199710072042.WAA13486@curry.mchp.siemens.de> Resent-Message-ID: <199710072050.NAA22122@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4723 >Category: misc >Synopsis: /etc/rc complains during boot when sudo was used >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 7 13:50:00 PDT 1997 >Last-Modified: >Originator: Andre Albsmeier >Organization: >Release: FreeBSD 2.2-STABLE i386 >Environment: 2.2-STABLE (Dont know the other versions since http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc always screws up :-) >Description: When booting a 2.2-STABLE system that uses sudo, /etc/rc complains rm: /var/run/sudo: is a directory Maybe we should change the call in rc to rm -f /var/run/* 2>/dev/null so the annoying message disappears. Or would it be even better to remove the sudo directory as well ? >How-To-Repeat: Use sudo, reboot and watch :-) >Fix: Change "rm -f /var/run/*" to "rm -f /var/run/* 2>/dev/null" in /etc/rc >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710072042.WAA13486>