Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2001 16:12:04 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Dan Kogai <dankogai@dan.co.jp>, <freebsd-stable@FreeBSD.ORG>
Subject:   Re: periodic daily erases /usr/src and /usr/obj
Message-ID:  <p05101005b7adb49d421a@[128.113.24.47]>
In-Reply-To: <B7AD61F1.2281%dankogai@dan.co.jp>
References:  <B7AD61F1.2281%dankogai@dan.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
At 2:08 PM +0900 8/25/01, Dan Kogai wrote:
>0)  The symptom appeared after I updated the host on Aug. 18th
>1)  /usr/obj and /usr/src gets erased regardless of CVSUP
>2)  I didn't change the directory structure
>
>   So the logical conclusion is that it's done somewhere in
>/etc/periodic/daily.  I read through the script but I couldn't
>find the cause.

Put a few files in /usr/obj and /usr/src, then execute each of
the subset-scripts that daily runs.  Run one, see if the files
are still there, run the next one, etc...

Chances are that your problem is going to be something subtle,
something which LOOKS perfectly fine but which isn't working
right due to a symlink or some other specific detail in your
environment.  The scripts which say "clean-<something>" are
good candidates to try one-at-a-time...  :-)

If that doesn't turn up anything, but the directories are still
getting clobbered, then add a script which just logs the state
of those two directories.  Add copies of the same script at
'001.log-dirs', '101.log-dirs', '111.log-dirs', etc.  It won't
be elegant, but it should quickly reduce the amount of code
you have to look at.

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101005b7adb49d421a>