I am having problem using mergemaster in 5-stable () and had the same problem when i updated from 5.3 to 5.4. Following is the complete session after installworld of 5-stable ... # /usr/sbin/mergemaster -i *** The directory specified for the temporary root environment, /var/tmp/temproot, exists. This can be a security risk if untrusted users have access to the system. Use 'd' to delete the old /var/tmp/temproot and continue Use 't' to select a new temporary root directory Use 'e' to exit mergemaster Default is to use /var/tmp/temproot as is How should I deal with this? [Use the existing /var/tmp/temproot] d *** Deleting the old /var/tmp/temproot *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot mtree -eU -f /misc/src-5/etc/mtree/BSD.root.dist -p /var/tmp/temproot/ mtree:No such file or directory *** Error code 1 Stop in /misc/src-5/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment I have /usr/src symlinked ... lrwxr-xr-x 1 root wheel 9 Dec 21 2004 /usr/src@ -> /misc/src lrwxr-xr-x 1 root wheel 5 Oct 5 00:04 /misc/src@ -> src-5 drwxr-xr-x 21 root wheel 1024 Oct 5 03:49 /misc/src-5/ So what is wrong on my end that mergemaster dies during mtree process? - Parv --
in message <20051005091251.GA11612@holestein.holy.cow>, wrote Parv thusly...> > I am having problem using mergemaster in 5-stable ()Forgot to note the vintage of 5-stable, which is 2005.10.04.18.00.43. --
Scot Hetzel
2005-Oct-05 09:25 UTC
5.x, mergemaster dying due to problem w/ "mtree -eU ..."
On 10/5/05, Parv <parv@pair.com> wrote:> *** Creating the temporary root environment in /var/tmp/temproot > *** /var/tmp/temproot ready for use > *** Creating and populating directory structure in /var/tmp/temproot > > mtree -eU -f /misc/src-5/etc/mtree/BSD.root.dist -p /var/tmp/temproot/ > mtree:No such file or directory > *** Error code 1 > > Stop in /misc/src-5/etc. > > *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to > the temproot environment > > > I have /usr/src symlinked ... > > lrwxr-xr-x 1 root wheel 9 Dec 21 2004 /usr/src@ -> /misc/src > lrwxr-xr-x 1 root wheel 5 Oct 5 00:04 /misc/src@ -> src-5 > drwxr-xr-x 21 root wheel 1024 Oct 5 03:49 /misc/src-5/ > > > So what is wrong on my end that mergemaster dies during mtree process? > >Not sure if I had run accros this problem when I move my source directory from /usr/src to /usr/src/5x. But I added: SOURCEDIR='/usr/src/5x/etc' to /etc/mergemaster.rc. And I haven't had a problem with my sources in another location. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.