Subject: misc/11120: /var/tmp/vi.recover is removed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hamajima@nagoya.ydc.co.jp>
List: netbsd-bugs
Date: 10/02/2000 22:40:26
>Number: 11120
>Category: misc
>Synopsis: /var/tmp/vi.recover is removed by /etc/daily.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 02 22:46:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Katsuomi Hamajima
>Release: $NetBSD: daily,v 1.33.2.1 2000/08/25 03:05:19 hubertf Exp $
>Organization:
YDC, Japan
>Environment:
PClone
System: NetBSD atom 1.5F NetBSD 1.5F (ATOM) #110: Fri Sep 29 10:42:37 JST 2000 hamajima@atom:/usr/src/sys/arch/i386/compile/ATOM i386
>Description:
/var/tmp/vi.recover is removed by /etc/daily.
>How-To-Repeat:
I exclude comment of /etc/daily and do not execute vi for a while.
>Fix:
*** daily.orig Mon Sep 25 11:02:58 2000
--- daily Mon Sep 25 11:07:47 2000
***************
*** 47,53 ****
#if [ -d /var/tmp -a ! -h /var/tmp ]; then
# cd /var/tmp && {
# find . ! -name . -atime +7 -exec rm -f -- {} \;
! # find . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \
# >/dev/null 2>&1; }
#fi
--- 47,54 ----
#if [ -d /var/tmp -a ! -h /var/tmp ]; then
# cd /var/tmp && {
# find . ! -name . -atime +7 -exec rm -f -- {} \;
! # find . ! \( -name . -o -name vi.recover \) -type d \
! # -mtime +1 -exec rmdir -- {} \; \
# >/dev/null 2>&1; }
#fi
>Release-Note:
>Audit-Trail:
>Unformatted: