[gentoo-user] /dev/shm and firefox question

2005-12-28 Thread Jean Magnan de Bornier
Hello all,
I recently installed qemu; when I launch it I get this message:

You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual RAM.
To have more space available provided you have enough RAM and swap, do as root:
umount /dev/shm
mount -t tmpfs -o size=466m none /dev/shm

OK, it works; so in order to avoid doing this every time i added
size=466m to the options column of fstab. It seems to work allright but
for the fact that then firefox does not work anymore: I can launch it, but
then it freezes.

And then if I issue by hand these commands, firefox is as usual again!
What am I doing wrong?

Here's my fstab's tmpfs line:
.
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm /dev/shm  tmpfs nodev,nosuid,noexec,size=466m   0 0


tia,
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/shm and firefox question

2005-12-28 Thread Andres Becerra Sandoval
On 12/28/05, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
 Hello all,
 I recently installed qemu; when I launch it I get this message:

 You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual 
 RAM.
 To have more space available provided you have enough RAM and swap, do as 
 root:
 umount /dev/shm
 mount -t tmpfs -o size=466m none /dev/shm

 OK, it works; so in order to avoid doing this every time i added
 size=466m to the options column of fstab. It seems to work allright but
 for the fact that then firefox does not work anymore: I can launch it, but
 then it freezes.

 And then if I issue by hand these commands, firefox is as usual again!
 What am I doing wrong?

 Here's my fstab's tmpfs line:
 .
 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
 # POSIX shared memory (shm_open, shm_unlink).
 # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
 #  use almost no memory if not populated with files)
 shm /dev/shm  tmpfs nodev,nosuid,noexec,size=466m   0 0
 

 tia,
 --
   Jean Magnan de Bornier |Cours Victor Hugo
   e-mots: jean at bornier.net|13980 Alleins   France
   T 08 70 39 34 03   |P 06 09 17 35 87


 --
 gentoo-user@gentoo.org mailing list




Leaving out the noexec option?

--
  Andres

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/shm and firefox question

2005-12-28 Thread Jean Magnan de Bornier
Le 28 décembre à 16:46:15 Andres Becerra Sandoval [EMAIL PROTECTED] écrit 
notamment:

| On 12/28/05, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
|  Hello all,
|  I recently installed qemu; when I launch it I get this message:
| 
|  You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual 
RAM.
|  To have more space available provided you have enough RAM and swap, do as 
root:
|  umount /dev/shm
|  mount -t tmpfs -o size=466m none /dev/shm
| 
|  OK, it works; so in order to avoid doing this every time i added
|  size=466m to the options column of fstab. It seems to work allright but
|  for the fact that then firefox does not work anymore: I can launch it, but
|  then it freezes.
| 
|  And then if I issue by hand these commands, firefox is as usual again!
|  What am I doing wrong?
| 
|  Here's my fstab's tmpfs line:
|  .
|  # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
|  # POSIX shared memory (shm_open, shm_unlink).
|  # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
|  #  use almost no memory if not populated with files)
|  shm /dev/shm  tmpfs nodev,nosuid,noexec,size=466m   0 0
|  
| 

[...]


| Leaving out the noexec option?

| --
|   Andres

Ok I try this, see what happens tomorrow at boot..
thx
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /dev/shm and firefox question

2005-12-28 Thread Jean Magnan de Bornier
Le 28 décembre à 20:42:39 Jean Magnan de Bornier [EMAIL PROTECTED] écrit 
notamment:

| | Leaving out the noexec option?
| 
| | --
| |   Andres

| Ok I try this, see what happens tomorrow at boot..

Well, this was no solution for firefox; looks like there was a corrupt
file in my ~/.mozilla... strange coincidence!

cheers,
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list