make installworld fails error 126

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Sep 22 07:36:54 PDT 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060922/2cde2089/signature.pgp


More information about the freebsd-questions mailing list