Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using 11.10 and have an application (oracle xe) which specifically wants shared memory mounted under /dev/shm. I noticed that the way 11.10 is configured, things are mounted at /run/shm and symlinked from /dev/shm.

I can get things to work by running hte following as root

  1. # Kill all apps that are using /run/shm
  2. umount /run/shm
  3. rmdir /run/shm
  4. unlink /dev/shm
  5. mkdir /dev/shm
  6. mount /dev/shm # I have it defined in /etc/fstab
  7. ln -s /dev/shm /run/shm

But whenever I reboot, everything goes back to the way that ubuntu ships. What do I need to change to get ubuntu to not try and mount /run/shm?

Thanks, Ransom

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 14:50

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

It specifically checks that the actual mountpoint is /dev/shm? If it merely needs read/write access, then the symlink "should" be fine. If it actually checks /etc/mtab, then that's weird and more complicated. Could you show your /etc/fstab? – haxney Apr 29 '12 at 18:21
Also, take a look at this post on the Oracle forums. It seems to be about this exact issue. Post an answer if that solves your problem so that others can benefit from it. – haxney Apr 29 '12 at 18:28
This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! – Eric Carvalho Mar 14 '13 at 13:27

Browse other questions tagged or ask your own question.