From owner-freebsd-stable@FreeBSD.ORG Tue Feb 18 14:41:45 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1EF55836; Tue, 18 Feb 2014 14:41:45 +0000 (UTC) Received: from mail.tyknet.dk (mail.tyknet.dk [144.76.253.226]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5CD41C1E; Tue, 18 Feb 2014 14:41:44 +0000 (UTC) Received: from [IPv6:2a01:3a0:a:90:5804:9cc1:a73a:e362] (unknown [IPv6:2a01:3a0:a:90:5804:9cc1:a73a:e362]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id B9A96124EEC; Tue, 18 Feb 2014 14:41:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail.tyknet.dk B9A96124EEC DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1392734501; bh=x2LVBQvASpEVOowjtIAZ9wQAUOzXezYioOml80MlWsw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Tag2/lt7ZooWRRRbjC3hjSJwFg2qpUFJrcKAf9zC2b+pdszluTzOvo7Hm7jvo+8qr 1tFY52zNCHpr+CIqEEShs86WNUldn+Ox/TsPrNVzYcgQfqyrhnSfgLoXJ4CBA5Hl5Q gGCjOg3lxMQ0z3zvDO02AvvJIIJpi9ylR3VRTU1080+QWuLE6aOJ4qHGlPr9fmsQnB JsNh3gbwcxYYV+A2L17u4l3TkfzzyFHe2b961dysM8SxGbzIsaF2QyiftXjhQhPMze Z/oyr03gRBXRgeWwKNYarE5Cxzc7y0DeUJrhtu5+5vRRQb/4qiLyQLBBs73CaVKGsI CNVLEZipV8w8A== Message-ID: <53037123.6030102@gibfest.dk> Date: Tue, 18 Feb 2014 15:41:39 +0100 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: Problem with installworld on 10-stable r262131 References: <530338DD.8030601@gibfest.dk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Feb 2014 14:41:45 -0000 On 18-02-2014 15:25, Dimitry Andric wrote: > On 18 Feb 2014, at 11:41, Thomas Steen Rasmussen wrote: >> I am trying to upgrade my 10.0-REL amd64 machine to the latest 10-stable. >> Building the world and kernel, and rebooting into the new GENERIC kernel went fine. >> >> Mergemaster -p was uneventful too, but when I tried to run installworld: > ... >> make: Permission denied > Please post the output of "mount". Any chance some filesystem is > mounted noexec? E.g. /usr/obj? > > -Dimitry > Hello, /tmp is mounted noexec, the rest are not: $ mount /dev/ada0a on / (ufs, local) devfs on /dev (devfs, local, multilabel) tank/tmp on /tmp (zfs, local, noatime, noexec, nfsv4acls) tank/usr on /usr (zfs, local, noatime, nfsv4acls) tank/var on /var (zfs, local, noatime, nfsv4acls) data on /data (zfs, local, noatime, nfsv4acls) data/jails on /usr/jails (zfs, local, noatime, nfsv4acls) Removing exec=off on /tmp got it a bit further, but it still failed: --------------------------------------------------------------------------------------------- $ sudo make installworld mkdir -p /tmp/install.RtEWDrPh progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep id install install-info ln lockf make mkdir mtree nmtree mv pwd_mkdb rm sed sh sysctl test true uname wc zic tzsetup; do if progpath=`which $prog`; then echo $progpath; else echo "Required tool $prog not found in PATH." >&2; exit 1; fi; done); libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | while read line; do set -- $line; if [ "$2 $3" != "not found" ]; then echo $2; else echo "Required library $1 not found." >&2; exit 1; fi; done); cp $libs $progs /tmp/install.RtEWDrPh cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.RtEWDrPh/locale cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.RtEWDrPh LD_LIBRARY_PATH=/tmp/install.RtEWDrPh PATH_LOCALE=/tmp/install.RtEWDrPh/locale make -f Makefile.inc1 COMPILER_TYPE=clang __MAKE_SHELL=/tmp/install.RtEWDrPh/sh reinstall; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.RtEWDrPh LD_LIBRARY_PATH=/tmp/install.RtEWDrPh PATH_LOCALE=/tmp/install.RtEWDrPh/locale rm -rf /tmp/install.RtEWDrPh -------------------------------------------------------------- >>> Making hierarchy -------------------------------------------------------------- cd /usr/src; make -f Makefile.inc1 LOCAL_MTREE= hierarchy cd /usr/src/etc && PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.RtEWDrPh make LOCAL_MTREE= distrib-dirs mtree -deU -f /usr/src/etc/mtree/BSD.root.dist -p / mtree -deU -f /usr/src/etc/mtree/BSD.var.dist -p /var empty: flags ("schg" is not "none"mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include mtree -deU -f /usr/src/etc/mtree/BSD.groff.dist -p /usr mtree -deU -f /usr/src/etc/mtree/BSD.sendmail.dist -p / install -l s usr/src/sys /sys cd /usr/share/man; for mandir in man*; do install -l s ../$mandir /usr/share/man/en.ISO8859-1/; install -l s ../$mandir /usr/share/man/en.UTF-8/; done install: /usr/share/man/en.ISO8859-1//man1: Directory not empty *** Error code 71 Stop. make[4]: stopped in /usr/src/etc *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src --------------------------------------------------------------------------------------------- I didn't know that exec was required on /tmp, is it supposed to be that way ? Thanks! /Thomas