Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 12:29:03 +1100 (EST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        "Christopher M. Giordano" <CGiordano@ids.net>
Cc:        stable@FreeBSD.ORG, jdp@polstra.com
Subject:   Re: preventing cvsup from replacing /usr/ports symlink?
Message-ID:  <Pine.BSF.4.21.0101231217290.37148-100000@backup.af.speednet.com.au>
In-Reply-To: <3A6C5E6C.3E84EAC0@ids.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Jan 2001, Christopher M. Giordano wrote:

> > > > My /usr/ports is a symlink to another filesystem (/a/ports).  Last night
> > > > cvsup nuked that symlink and filled my root filesystem with ports.  How
> > > > do I avoid that?
> > >
> > > Hmm, this happens to me sometimes.  I usually cvsup my the ports tree
> > > weekly and it happens like, maybe, one cvsup out of five.
> > 
> > I have gotten other reports of this in the past, but I have not been
> > able to reproduce the problem myself.  If you can figure out when it
> > happens and when it doesn't, please let me know.
> 
> This happened to me two days ago (jan 20, 1030 AM), and it always
> seems to occur when re-cvsup'ing  following a failed cvsup.
> In this case, the first attempt failed with a message like:
> "Updater failed: unable to delete file archivers/arc/Makefile: no
> such file or directory", which in itself seemed odd, since I
> was starting with a full copy of the ports tree.  Restarting
> cvsup then filled /usr/ports tree in my /usr filesystem rather
> than the linked filesystem.  I assume the link is deleted upon
> the first failure, but I have no evidence of this.
> 
> I know that's _very_ little to go on....

It just happened to me!  I started a cvsup which failed with the same
error message (unable to delete...).  When I re-cvsup'd, files started to
be checked-out into the /usr/ports directory, which used to be a symlink.

Hitting ^C, creating the symlink again (after rm'ing the new directory),
and then doing a third cvsup run works as per normal.

I don't know when the symlink is removed - either after the first cvsup
run (with error) or during the startup of the second cvsup run.

> 
> Chris Giordano
> CGiordano@ids.net
> -- 
> A man cannot be too careful in the choice of his enemies.
>           -- Oscar Wilde, "Picture of Dorian Gray"
> 

--
 
 :{ andyf@speednet.com.au
  
        Andy Farkas
    System Administrator
   Speednet Communications
 http://www.speednet.com.au/
  




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?Pine.BSF.4.21.0101231217290.37148-100000>