Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running Fedora Linux on MediaTemple using their (ve) virtual Linux box. Pretty much a clean install (Linux **** 2.6.18-028stab089.1 #1 SMP Thu Apr 14 13:46:04 MSD 2011 x86_64 x86_64 x86_64 GNU/Linux).

I'm trying to do some Pear installs and need /tmp to be remounted with exec option. No problem, right? So I'm running as root and I just go for it:

[root@host ~]# mount -o remount,exec /tmp
mount: permission denied
[root@host ~]#

Well, this is rather unexpected. MediaTemple support doesn't provide any assistance with this--it's not in the SLA. Given that this is a pretty vanilla setup, perhaps someone out there has an idea what's wrong here?


Here's some additional information. Running mount shows this:
[root@host ~]# mount
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)
/dev/simfs on /tmp type simfs (rw,noexec,relatime,usrquota,grpquota)
/dev/simfs on /var/tmp type simfs (rw,noexec,relatime,usrquota,grpquota)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /dev type tmpfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
[root@host ~]#

The contents of /etc/fstab is:

none /dev/pts devpts rw 0 0

Next I tried adding this line to /etc/fstab:

/dev/simfs /tmp simfs rw,exec,relatime,usrquota,grpquota 0 0

Then running mount /tmp results in:

mount: unknown filesystem type 'simfs'

I'm a little confused as to how simfs is listed when you run mount, but when you add it to /etc/fstab it isn't recognized. Nonetheless, this doesn't seem to solve my issue, so I'm still stuck. Any ideas?

UPDATE 6/25/11

@jamiers has found a workaround that MediaTemple posted (see below). However, I'm now wondering about the more fundamental aspect of this problem. Why is it that you can't remount tmp with different options in a virtual environment? From what I can tell, there's nothing inherently restrictive in a virtual environment that would prevent you from doing something like that. Does anyone have an idea why this is the case?

share|improve this question
What virtualization technology are they using? –  bdonlan Jun 21 '11 at 17:48
They use Virtuozzo 4 from Parallels. –  nicktacular Jun 21 '11 at 17:57
selinux issue maybe? –  redblacktree Jun 21 '11 at 20:17
selinux not running –  nicktacular Jun 22 '11 at 12:05
You can't do this because it's Virtuozzo, which isn't true virtualization but "container based". These items, and many more you haven't yet run into, can only be set from the host system. Consider using real virtualization, such as KVM, Xen, or Hyper-V based solutions. –  Michael Hampton Dec 3 '13 at 19:37
add comment

migrated from stackoverflow.com Jun 21 '11 at 18:42

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 1 down vote accepted

I have had the same trouble while trying to install PHP APC. I followed the instructions at the bottom of this guide: https://kb.mediatemple.net/questions/1987/Noexec+and+%7B47%7Dtmp+Troubleshooting#ve about creating a chrooted environment.

Hope this helps!

share|improve this answer
Thanks for your reply. That is helpful. What is interesting, however, is that it appears that running virtual environments can cause strange issues with trying to remount your temp directory in a traditional way. What seems to work on standard dedicated environments doesn't seem to apply to virtual environment. Thanks for your help! –  nicktacular Jun 25 '11 at 17:02
Those instructions have been moved to kb.mediatemple.net/questions/1987/… –  doub1ejack Jul 26 '13 at 18:15
add comment

Keep in mind that you're running MediaTemple's kernel (and you can't change this). It can allow or deny whatever it wants. You might need the source to their kernel to really understand it. Maybe it's a limitation of the simfs filesystem?

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.