[Bug 566788] Re: /dev/shm isn't writable, causing problems with glibc 2.2+ apps such as chromium

Steve Langasek steve.langasek at canonical.com
Sat May 19 07:08:09 UTC 2012


/dev/shm is a tmpfs, and tmpfs in the kernel has a default mode of
01777.  I don't see how this could be happening without a) an /etc/fstab
entry overriding the /lib/init/fstab entry, or b) a rogue local script
running at start-up that's changing the mode.

I certainly don't see any bugs in mountall here, and can't reproduce
this - so if someone is still seeing this in 12.04, I'm afraid we're
going to need more information to figure it out.

** Changed in: mountall (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/566788

Title:
  /dev/shm isn't writable, causing problems with glibc 2.2+ apps such as
  chromium

Status in “mountall” package in Ubuntu:
  Incomplete
Status in Arch Linux:
  New

Bug description:
  Binary package hint: mountall

  
  $  chromium-browser 
  [3008:3008:2715678973:ERROR:net/proxy/proxy_config_service_linux.cc(231)] Error requesting gconf directory: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Server ping error: IDL:omg.org/CORBA/COMM_FAILURE:1.0)
  [3008:3016:2715679422:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.ZhAyA5 failed: No such file or directory
  [3008:3016:2715679458:ERROR:base/shared_memory_posix.cc(194)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 777 /dev/shm' to fix.
  [3008:3008:2715788286:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.RfKF3e failed: No such file or directory
  [3008:3008:2715788325:ERROR:base/shared_memory_posix.cc(194)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 777 /dev/shm' to fix.
  [3008:3008:2715788362:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.9iSNwo failed: No such file or directory
  [3008:3008:2715788376:ERROR:base/shared_memory_posix.cc(194)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 777 /dev/shm' to fix.
  [3008:3019:2715874235:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.HehSdy failed: No such file or directory
  [3008:3019:2715874263:ERROR:base/shared_memory_posix.cc(194)] This is frequently caused by incorrect permissions on /dev/shm.  Try 'sudo chmod 777 /dev/shm' to fix.

  See http://bugs.gentoo.org/show_bug.cgi?id=299777#c10, Bug 559545, Bug
  532898 (a comment unrelated to the fixed bug that had observed "when
  the system is up, I have to "sudo chmod 777 /dev/shm" - otherwise
  various things (like Chromium) fail in a strange way" and many other
  references.

  Applying the /etc/fstab fix suggested by gentoo:

    # See http://bugs.gentoo.org/show_bug.cgi?id=299777#c10
    shm                     /dev/shm        tmpfs           nodev,nosuid,noexec    0 0

  does appear to resolve the problem, but other lucid systems have the
  correct permissions on /dev/shm without that entry.  All of my lucid
  installs are up to date, so I'm not sure what the underlying cause is
  of the faulty permissions.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mountall 2.13
  ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-21-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Mon Apr 19 11:50:29 2010
  InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209.1)
  ProcEnviron:
   LANG=C
   SHELL=/bin/bash
  SourcePackage: mountall

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/566788/+subscriptions




More information about the foundations-bugs mailing list