On Mon, May 30, 2011 at 6:05 PM, Steve Holdoway <steve@greengecko.co.nz> wrote:
On Mon, 2011-05-30 at 13:09 -0400, Chris Brennan wrote:
> On Sun, May 29, 2011 at 9:03 PM, Steve Holdoway <steve@greengecko.co.nz> wrote:
>         Another thing to check is whether having /tmp/mounted noexec
>         will cause
>         problems... it often is on VPSes.
>         IIRC with debian on parallels, if you shut down mysql, you can
>         then
>         umount /tmp/and /var/tmp. Do all of your installs, and then
>         reboot. Even
>         apt often requires the ability to run executables off /tmp ( I
>         know
>         there are loads of exotic alternatives to this approach, but
>         I'm all for
>         an easy life! ).
>         hth,
> Eh? I'm totally lost here .... If parallels is a vps thing then I
> really am lost, VPS's in general are new to me so I am rapidly
> learning how things function on a real vps where I don't have access
> to the primary host-os. But /var/tmp isn't mounted noexec
> root@ratfink:~# df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/vzfs             300G  217M  300G   1% /
> tmpfs                 128M     0  128M   0% /lib/init/rw
> tmpfs                 128M     0  128M   0% /dev/shm
> root@ratfink:~#
Parallels is virtualisation technology, and the one that you could well
be using - according to the disk naming. The command you need is

$ mount
/dev/vzfs on / type vzfs (rw)
/dev/simfs on /tmp type simfs (rw,nosuid,nodev,noexec)
/dev/simfs on /var/tmp type simfs (rw,nosuid,nodev,noexec)
none on /proc type proc (rw,nosuid,noexec,nodiratime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /sys type sysfs (rw)
none on /dev type tmpfs (rw)
none on /dev/pts type devpts (rw)

( this is off one of my VPSes - CentOS but no matter ).

You can see that bothe /tmp and /var/tmp are mounted noexec. This can
cause problems when install scripts want to spawn more processes.

ell, I don't think that as the problem, but thanks for answering my question.

chris@ratfink:~$ mount
/dev/vzfs on / type vzfs (rw,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime)

> A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon?