Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 06:20:06 -0800 (PST)
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/22661: Mergemaster Fails with R/O NFS Mounted /usr/src 
Message-ID:  <200011081420.GAA32921@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/22661; it has been noted by GNATS.

From: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To: Bruce Evans <bde@zeta.org.au>
Cc: Cy.Schubert@uumail.gov.bc.ca, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/22661: Mergemaster Fails with R/O NFS Mounted /usr/src 
Date: Wed, 08 Nov 2000 06:13:13 -0800

 In message <Pine.BSF.4.21.0011082039500.4925-100000@besplex.bde.org>, 
 Bruce Eva
 ns writes:
 > On Tue, 7 Nov 2000 Cy.Schubert@uumail.gov.bc.ca wrote:
 > 
 > > >Description:
 > > 
 > > Installing 4.2-BETA on a system from read-only NFS mounted /usr/src and 
 > > /usr/obj, mergemaster fails with the following:
 > > 
 > > [lines removed]
 > > cd /usr/share/nls;  set - `cat /usr/opt/cvs-420b-001106/src/etc/locale.a
 > > lias`;  while [ $# -gt 0 ] ;  do  rm -rf "$1";  ln -s "$2" "$1";  
 > > shift; shift;  done;  rm -rf POSIX;  ln -s C POSIX
 > > rm: ASCII: Read-only file system
 > > *** Error code 1
 > 
 > I think this can only fail if /usr/share/nls is read-only.
 
 That is correct.
 
 > 
 > > >Fix:
 > > 
 > > Based upon the diffs between mergemaster 1.6.2.3 and 1.6.2.4, here's my 
 > > workaround:
 > > 
 > > --- src/usr.sbin/mergemaster/mergemaster.sh.orig	Wed Nov  1 00:34:30 200
 > 0
 > > +++ src/usr.sbin/mergemaster/mergemaster.sh	Tue Nov  7 06:38:46 2000
 > > @@ -428,7 +428,7 @@
 > >    esac
 > >  
 > >    { cd ${SOURCEDIR} &&
 > > -    make DESTDIR=${DESTDIR} distrib-dirs &&
 > > +    touch .foobar && rm .foobar && make DESTDIR=${DESTDIR} distrib-dirs
 > >      make DESTDIR=${TEMPROOT} distrib-dirs &&
 > >      make DESTDIR=${TEMPROOT} -DNO_MAKEDEV distribution;} ||
 > >    { echo '';
 > 
 > Making distrib-dirs has other problems.  It updates ${DESTDIR} without
 > asking, and shows bugs in the support for the SHARED=symlinks case.
 
 Then it should be removed, rather than my test for a r/o fs.
 
 > 
 > Bruce
 > 
 
 
 
 Regards,                       Phone:  (250)387-8437
 Cy Schubert                      Fax:  (250)387-5766
 Team Leader, Sun/DEC Team   Internet:  Cy.Schubert@osg.gov.bc.ca
 Open Systems Group, ITSD, ISTA
 Province of BC
 
 
 
 


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




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