Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 08:22:07 +1000
From:      "Andrew Reilly" <andrew@lake.com.au>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Directories disappearing with CVSUP, -stable, and SOFTUPDATE
Message-ID:  <19990508082207.B11385@gurney.reilly.home>
In-Reply-To: <XFMail.990507090114.jdp@polstra.com>; from John Polstra on Fri, May 07, 1999 at 09:01:14AM -0700
References:  <199905062319.JAA05080@lightning.itga.com.au> <XFMail.990507090114.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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