From owner-freebsd-questions@FreeBSD.ORG Tue Nov 2 15:24:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 189BF16A4CE for ; Tue, 2 Nov 2004 15:24:12 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FEC443D2D for ; Tue, 2 Nov 2004 15:24:11 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 8BA79A1426 for ; Tue, 2 Nov 2004 16:24:09 +0100 (CET) Message-ID: <4187A696.9020806@locolomo.org> Date: Tue, 02 Nov 2004 16:24:06 +0100 From: Erik Norgaard Organization: Loco Lomography User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040918 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: questions@freebsd.org X-Enigmail-Version: 0.84.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: mergemaster fails in single user mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 15:24:12 -0000 Hi, I just upgraded to -CURRENT (yesterdays). Everything goes well, I reboot into single user mode, mount all partitions and run 'make installworld' To finish the upgrade I run "mergemaster" still in single user mode, but this fails with the following output: # /usr/sbin/mergemaster tput: no terminal type specified and no TERM environmental variable. *** 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] *** Leaving /var/tmp/temproot intact *** 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 /usr/src/etc/mtree/BSD.root.dist -p /var/tmp/temproot/ mtree:No such file or directory *** Error code 1 Stop in /usr/src/etc. *** FATAL ERROR: Cannot 'cd' to /usr/src/etc and install files to the temproot environment # Script done on Tue Nov 2 12:08:40 2004 Rebooting into normal multi-user mode, I have no problem running the script. Should I simply not run mergemaster in single user mode? (Anyway, I believe the error to be odd). Cheers, Erik PS: I have had this error before, in june and september with -CURRENT. -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2