From owner-freebsd-bugs Mon Jul 21 13:30:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA09411 for bugs-outgoing; Mon, 21 Jul 1997 13:30:12 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA09400; Mon, 21 Jul 1997 13:30:04 -0700 (PDT) Resent-Date: Mon, 21 Jul 1997 13:30:04 -0700 (PDT) Resent-Message-Id: <199707212030.NAA09400@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, sachs@interactive.net Received: from onyx.interactive.net (root@onyx.interactive.net [208.192.224.6]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA09170 for ; Mon, 21 Jul 1997 13:27:05 -0700 (PDT) Received: from luddite.org (host000.dialup.interactive.net [208.192.245.10]) by onyx.interactive.net (8.8.5/8.8.5) with ESMTP id QAA19682 for ; Mon, 21 Jul 1997 16:26:59 -0400 (EDT) Received: (from sachs@localhost) by luddite.org (8.8.6/8.8.5) id QAA01321; Mon, 21 Jul 1997 16:42:21 -0400 (EDT) Message-Id: <199707212042.QAA01321@luddite.org> Date: Mon, 21 Jul 1997 16:42:21 -0400 (EDT) From: Jay Sachs Reply-To: sachs@interactive.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: misc/4138: /etc/rc and sudo : chg to rm -rf /var/run? Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: