From owner-freebsd-stable Fri May 7 15:22:15 1999 Delivered-To: freebsd-stable@freebsd.org Received: from m4.c2.telstra-mm.net.au (m4.c2.telstra-mm.net.au [24.192.3.19]) by hub.freebsd.org (Postfix) with ESMTP id CBF7A1545F for ; Fri, 7 May 1999 15:22:09 -0700 (PDT) (envelope-from andrew@lake.com.au) Received: from m5.c2.telstra-mm.net.au (m5.c2.telstra-mm.net.au [24.192.3.20]) by m4.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with ESMTP id IAA27393 for ; Sat, 8 May 1999 08:22:08 +1000 (EST) X-BPC-Relay-Envelope-From: andrew@lake.com.au X-BPC-Relay-Envelope-To: X-BPC-Relay-Sender-Host: m5.c2.telstra-mm.net.au [24.192.3.20] X-BPC-Relay-Info: Message delivered directly. Received: from areilly.bpc-users.org (CPE-24-192-51-95.nsw.bigpond.net.au [24.192.51.95]) by m5.c2.telstra-mm.net.au (8.8.6 (PHNE_14041)/8.8.6) with SMTP id IAA00440 for ; Sat, 8 May 1999 08:22:07 +1000 (EST) Received: (qmail 11678 invoked by uid 1000); 7 May 1999 22:22:07 -0000 From: "Andrew Reilly" Date: Sat, 8 May 1999 08:22:07 +1000 To: John Polstra Cc: stable@FreeBSD.ORG Subject: Re: Directories disappearing with CVSUP, -stable, and SOFTUPDATE Message-ID: <19990508082207.B11385@gurney.reilly.home> References: <199905062319.JAA05080@lightning.itga.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from John Polstra on Fri, May 07, 1999 at 09:01:14AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, this is a "me too" On Fri, May 07, 1999 at 09:01:14AM -0700, John Polstra wrote: > Last night I tried some experiments in an attempt to duplicate the > problem that's been discussed in this thread. (Namely: CVSup in > checkout mode replaced a symlink-to-directory with a real directory.) > Unfortunately, I wasn't able to make it happen. I also inspected the > relevant code, and couldn't see an obvious way for it to happen. Seemed pretty odd to me too, but I put it down to trying the server cvsup.freebsd.org, while cvsup.au.freebsd.org was down. > So I have several questions for those who have experienced this > problem: > > 1. Was NFS involved in any way? No. No NFS here in any shape or form. > 2. Please bracket the date when it happened as tightly as possible. > I.e., definitely after XX date, but definitely before YY date. $ TZ=GMT ls -lu /usr/local/bin/cvsup -r-xr-xr-x 1 root wheel 2719744 May 4 04:58 /usr/local/bin/cvsup* I'm pretty sure that I haven't tried to run cvsup since that time. > 3. If anybody has the log output from the offending run, that would > really help. Sorry, I was using the GUI, and forgot about the little floppy icon down in the RH corner. > 4. You didn't fiddle with that symlink around that time, did you? No, but I hadn't done a cvsup befor Apr 19th, by the looks of this: total 555 drwxrwxr-x 7 root wheel 7168 May 5 14:53 distfiles/ -rw-r--r-- 1 root wheel 7132 May 4 14:59 LEGAL drwxr-xr-x 2 root wheel 512 May 4 14:59 Mk/ drwxr-xr-x 3 root wheel 512 May 4 14:59 Tools/ -rw-r--r-- 1 root wheel 459089 May 4 14:58 INDEX drwxrwxr-x 102 root wheel 2048 Apr 19 09:10 www/ drwxrwxr-x 54 root wheel 1024 Apr 19 09:10 textproc/ drwxrwxr-x 84 root wheel 2048 Apr 19 09:09 print/ drwxrwxr-x 200 root wheel 3584 Apr 19 09:09 net/ drwxrwxr-x 83 root wheel 1536 Apr 19 09:09 mail/ drwxrwxr-x 200 root wheel 3584 Apr 19 09:07 games/ drwxrwxr-x 58 root wheel 1536 Apr 19 09:07 editors/ drwxrwxr-x 150 root wheel 3072 Apr 19 09:07 devel/ drwxrwxr-x 19 root wheel 512 Apr 19 09:07 converters/ drwxrwxr-x 15 root wheel 512 Apr 19 09:06 benchmarks/ drwxrwxr-x 70 root wheel 1536 Apr 19 09:06 audio/ drwxrwxr-x 17 root wheel 512 Apr 19 09:06 astro/ drwxr-xr-x 43 root wheel 1024 Apr 14 02:07 x11-toolkits/ drwxrwxr-x 107 root wheel 2560 Apr 14 02:07 x11/ drwxrwxr-x 124 root wheel 2560 Apr 14 02:07 graphics/ drwxrwxr-x 51 root wheel 1024 Apr 12 02:07 security/ drwxrwxr-x 98 root wheel 2048 Apr 10 02:07 misc/ drwxr-xr-x 26 root wheel 512 Apr 10 02:07 deskutils/ drwxrwxr-x 238 root wheel 4608 Apr 6 02:07 japanese/ drwxr-xr-x 35 root wheel 1024 Apr 6 02:07 x11-wm/ drwxrwxr-x 57 root wheel 1024 Apr 6 02:07 math/ drwxrwxr-x 93 root wheel 2048 Apr 6 02:07 lang/ Oh, those times are TZ=Australia/Sydney, so they _do_ tally with the GMT 4:58 time for cvsup. This makes it look as though several things were touched before the sym-link went away, so your "new directory" hypothesis seems plausible. In my case cvsup stopped almost immediately after the symlink was replaced by a regular directory, because some file that it expected to be able to patch or access wasn't there. Can't remember which one, sorry. If there's any other information I can provide, don't hesitate to ask. -- Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message