From owner-freebsd-stable@freebsd.org Sat Nov 14 13:14:48 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87F4CA2DBF8 for ; Sat, 14 Nov 2015 13:14:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4078C1B94 for ; Sat, 14 Nov 2015 13:14:47 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id C7FF928462; Sat, 14 Nov 2015 14:14:38 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 99E0928412; Sat, 14 Nov 2015 14:14:37 +0100 (CET) Message-ID: <564733BD.1090207@quip.cz> Date: Sat, 14 Nov 2015 14:14:37 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: Aristedes Maniatis , freebsd-stable Subject: Re: trouble upgrade jails to 10.2 (make distrib-dirs) References: <56470813.8050907@ish.com.au> In-Reply-To: <56470813.8050907@ish.com.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 13:14:48 -0000 Aristedes Maniatis wrote on 11/14/2015 11:08: > I am getting a failure running mergemaster as per the FreeBSD handbook. I'm a bit lost as to what the error is telling me to do. What was the method used to upgrade host system and jail? Did you used freebsd-update or make installworld? > # mergemaster -U -D /jails/anu_6002 > > realpath: /usr/src: No such file or directory This means you don't have /usr/src so the mergemaster cannot make files in /var/tmp/temproot because these files are created from /usr/src So make sure you have mounted /usr/src/ with source files for current version of the system (the version you need to update to) and then try this cd /usr/src mergemaster -F -v -i -P -U -t /var/tmp/mergemaster/anu_6002 -d -D /jails/anu_6002 Miroslav Lachman > *** 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 > > make: don't know how to make distrib-dirs. Stop > make: don't know how to make distrib-dirs. Stop > > *** FATAL ERROR: Cannot 'cd' to and install files to > the temproot environment