Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2005 05:12:51 -0400
From:      Parv <parv@pair.com>
To:        f-stable <freebsd-stable@freebsd.org>
Subject:   5.x, mergemaster dying due to problem w/ "mtree -eU ..."
Message-ID:  <20051005091251.GA11612@holestein.holy.cow>

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

-- 




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