From owner-freebsd-stable Sat Aug 25 13:12:14 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 575D137B401 for ; Sat, 25 Aug 2001 13:12:11 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f7PKC6J91826; Sat, 25 Aug 2001 16:12:06 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Sat, 25 Aug 2001 16:12:04 -0400 To: Dan Kogai , From: Garance A Drosihn Subject: Re: periodic daily erases /usr/src and /usr/obj Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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-" 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