From owner-freebsd-questions@FreeBSD.ORG Tue May 29 18:46:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5803916A46B for ; Tue, 29 May 2007 18:46:14 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (rrcs-64-183-212-242.sw.biz.rr.com [64.183.212.242]) by mx1.freebsd.org (Postfix) with ESMTP id 0346713C44B for ; Tue, 29 May 2007 18:46:13 +0000 (UTC) (envelope-from freebsd@dfwlp.com) Received: from pollux.dfwlp.com (pollux.dfwlp.com [192.168.125.61]) by pollux.dfwlp.com (8.13.8/8.13.8) with ESMTP id l4TIkBE2055916 for ; Tue, 29 May 2007 13:46:11 -0500 (CDT) (envelope-from freebsd@dfwlp.com) Received: (from www@localhost) by pollux.dfwlp.com (8.13.8/8.13.8/Submit) id l4TIkB9K055915; Tue, 29 May 2007 13:46:11 -0500 (CDT) (envelope-from freebsd@dfwlp.com) X-Authentication-Warning: pollux.dfwlp.com: www set sender to freebsd@dfwlp.com using -f Received: from 192.168.125.134 (SquirrelMail authenticated user jhorne) by webmail.dfwlp.org with HTTP; Tue, 29 May 2007 13:46:11 -0500 (CDT) Message-ID: <49665.192.168.125.134.1180464371.squirrel@webmail.dfwlp.org> In-Reply-To: <4ABB7CB1-1272-4240-9B99-E37ACE1C27DD@nostrum.com> References: <200705282214.11010.freebsd@dfwlp.com> <4ABB7CB1-1272-4240-9B99-E37ACE1C27DD@nostrum.com> Date: Tue, 29 May 2007 13:46:11 -0500 (CDT) From: "Jonathan Horne" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pollux.dfwlp.com Subject: Re: i have a system that will not installworld. [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 18:46:14 -0000 > On 2007, May 28, at 22:14, Jonathan Horne wrote: >> i just did a buildkernel and world, and installing the kernel was >> normal with >> no issues. mergemaster -p, and then when i installworld, i get this: >> >> phoenix# make installworld >> mkdir -p /tmp/install.iA4Zk47v >> for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep >> find grep >> install-info ln lockf make mkdir mtree mv pwd_mkdb rm sed sh >> sysctl test >> true uname wc zic; do cp `which $prog` /tmp/install.iA4Zk47v; done >> cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 >> MACHINE=i386 >> 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/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/ >> usr/games:/tmp/install.iA4Zk47v >> make -f Makefile.inc1 reinstall >> make: Permission denied >> *** Error code 126 > > What are your mount options on /tmp, they wouldn't include noexec, > would they? > > If so: mount -u -o exec /tmp > > > -p > > > yay!! thats it!! i knew it was going to be something like that, but i just couldnt place my finger on it. the guy i built this box for, previously had a linux box running that got exploited. their exploit was running stuff from within the /tmp directory (i believe they exploited the out-of-version phpbb that was running). anyway, long story short, the gent i built this box for has prewired himself with a fear of the /tmp directory (with good reason, i suppose). once i remounted without noexec, it worked as expected. good call, philip! -- Jonathan Horne freebsd@dfwlp.com http://dfwlpiki.dfwlp.org