Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2006 15:36:04 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "B. Cook" <bcook@poklib.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make installworld fails error 126
Message-ID:  <4513F4D4.9000500@infracaninophile.co.uk>
In-Reply-To: <4513EF68.6020108@poklib.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
B. Cook wrote:
> Hello All,
> 
> I have always had this problem on the one or two (web) servers that I
> have a separate /tmp partition defined.
> 
> I found the answer a long time ago to "unmount /tmp and try again" and
> that always works.. but I've never found a way to make installworld with
> a separate /tmp partition on my systems.
> 
> Is there a way?
> Is it something I'm doing?
> Is it the nosuid? or noexec?
> Can I tell installworld to use /var/tmp instead?
> ..etc..
> 
> Ultimately I am looking to be able to 'make installworld' like I do on
> my other boxes.. if I need something in /etc/make.conf to tell it not to
> use /tmp what is it.. b/c I've not found it..
> 
> [~]$ 2 > grep tmp /etc/fstab
> /dev/ad0s1f     /tmp            ufs     rw,nosuid,noexec        2       2
                                                    ^^^^^^
There's your problem.  make buildworld needs to be able to execute programs
that it writes into /tmp.  Simply re-mount /tmp without the noexec flag and
all should be well. 

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFE/Tb8Mjk52CukIwRA8haAJ9Pk6YS+OS+hQEDVOrUd54E9dLwwgCfdWt4
w07WQQxm+sTFG3QTAj3cFqk=
=hKcC
-----END PGP SIGNATURE-----
home | help

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