I cannont execute scripts from /tmp directory. Strangely, /tmp is mounted
with default attributes.

tmpfs /dev/shm tmpfs defaults 0 0

I could not find any option in zc.recipe.cmmi and zc.buildout to change the
default path where temporary directories are made.

So It seems I must change the mount permissions/properties for /tmp, since
it seems that no-exec is implied :/

Any help is still appreciated.

---
Noe

2010/10/21 Noe Misael Nieto Arroyo <[email protected]>

> I was installing varnish on a CENTOS server using this recipes:
>
>
> [varnish-build]
> recipe = zc.recipe.cmmi
> #1.1 (2010-08-05) - Updated Varnish to 2.1.3. [hannosch]
> url = ${varnish-instance1:download-url}
>
> [varnish-instance1]
> recipe = plone.recipe.varnish
> daemon=${buildout:directory}/parts/varnish-build/sbin/varnishd
> #config =${buildout:directory}/conf/varnish.vcl
> backends = 127.0.0.1:${puertos:pound}
> bind = 127.0.0.1:${puertos:varnish}
> cache-size = 1G
> mode = foreground
>
>
> And I get this error:
>
> ...
>
> Updating varnish-instance1.
> Installing varnish-build.
> varnish-build: Searching cache at /home/anec/anec/downloads/cmmi
> varnish-build: Using cache file
> /home/anec/anec/downloads/cmmi/fb526841a8d4cc4ab1f13dc8ef702a99
> varnish-build: Unpacking and configuring
> sh: ./configure: /bin/sh: bad interpreter: Permission denied
> While:
>   Installing varnish-build.
>
> An internal error occured due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
>   File
> "/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
> line 1660, in main
>     getattr(buildout, command)(args)
>   File
> "/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
> line 532, in install
>     installed_files = self[part]._call(recipe.install)
>   File
> "/home/anec/anec/eggs/zc.buildout-1.4.3-py2.4.egg/zc/buildout/buildout.py",
> line 1204, in _call
>     return f()
>   File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 163,
> in install
>   File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 190,
> in cmmi
>   File "build/bdist.linux-x86_64/egg/zc/recipe/cmmi/__init__.py", line 32,
> in system
> SystemError: ('Failed', './configure
> --prefix=/home/anec/anec/parts/varnish-build')
>
>
> What could it be possibly going wrong? It works on ubuntu and Debian and i
> got no clue why should not work on centos.
>
> ---
> Noe
>
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to