From: Steve H. <st...@gr...> - 2011-05-30 22:06:18
|
On Mon, 2011-05-30 at 13:09 -0400, Chris Brennan wrote: > On Sun, May 29, 2011 at 9:03 PM, Steve Holdoway <st...@gr...> 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... $ 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. Steve -- Steve Holdoway BSc(Hons) MNZCS <st...@gr...> http://www.greengecko.co.nz MSN: st...@gr... Skype: sholdowa |