5.x, mergemaster dying due to problem w/ "mtree -eU ..."
parv at pair.com
Wed Oct 5 02:12:53 PDT 2005
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?
More information about the freebsd-stable