Subject: Re: pkg_add OS mismatch (solved)
To: grant beattie <grant@NetBSD.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 07/29/2005 23:19:39
On Mon, Jul 18, 2005 at 02:50:53AM +0200, Geert Hendrickx wrote:
> On Mon, Jul 18, 2005 at 10:08:49AM +1000, grant beattie wrote:
> > the problem isn't the OS mismatch (that's only a warning, unless
> > indicated otherwise), the real problem is:
> > 
> > > > pkg_add: install script returned error status
> > 
> > have you tried pkg_add -v to see what might be going wrong?
> 
> Hm.  Looking at the output of "pkg_add -v zsh" (in attachment), I noticed
> some failures on files being created in /var/tmp.  I symlinked /var/tmp
> to /tmp (as I usually do but forgot in this machine), and now it works
> fine.  What could have been wrong?  

I figured it out: /var was mounted with option noexec, that's why the
scripts in /var/tmp failed, until I symlinked /var/tmp to /tmp (which
didn't have the noexec option)...  

GH