Date: Mon, 21 Jul 1997 16:42:21 -0400 (EDT) From: Jay Sachs <sachs@interactive.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/4138: /etc/rc and sudo : chg to rm -rf /var/run? Message-ID: <199707212042.QAA01321@luddite.org> Resent-Message-ID: <199707212030.NAA09400@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4138 >Category: misc >Synopsis: /etc/rc and sudo : chg to rm -rf /var/run? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 21 13:30:01 PDT 1997 >Last-Modified: >Originator: Jay Sachs >Organization: individual >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: sudo (installed via the most recent port) creates the directory /var/run/sudo; /etc/rc tries to clean /var/run via rm -f /var/run/* which fails to fully clean the dir, and prints a console message to that effect. >How-To-Repeat: install sudo. run it once. reboot. >Fix: Here's a diff. *** /etc/rc Sun Jul 6 00:32:40 1997 --- /home/sachs/etc/rc Mon Jul 21 16:40:29 1997 *************** *** 95,101 **** adjkerntz -i ! rm -f /var/run/* # Keep a copy of the boot messages around dmesg > /var/run/dmesg.boot --- 95,101 ---- adjkerntz -i ! rm -rf /var/run/* # Keep a copy of the boot messages around dmesg > /var/run/dmesg.boot >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707212042.QAA01321>