On Mon, May 30, 2011 at 6:05 PM, Steve Holdoway <firstname.lastname@example.org> wrote:
Parallels is virtualisation technology, and the one that you could wellOn Mon, 2011-05-30 at 13:09 -0400, Chris Brennan wrote:
> On Sun, May 29, 2011 at 9:03 PM, Steve Holdoway <email@example.com> 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
> 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
> there are loads of exotic alternatives to this approach, but
> I'm all for
> an easy life! ).
> 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
be using - according to the disk naming. The command you need is
/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.
> A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon?