[8353] in testers

home help back first fref pref prev next nref lref last post

Re: debathena-precise-cluster issues

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Fri Jun 29 11:29:17 2012

Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <alpine.DEB.2.00.1206211443540.5300@dr-wily.mit.edu>
Date: Fri, 29 Jun 2012 11:29:10 -0400
Cc: debathena@MIT.EDU, testers@MIT.EDU
Message-Id: <BAEE5FF4-62C9-426B-B5CB-DD9177EB3805@mit.edu>
To: Geoffrey Thomas <geofft@MIT.EDU>
Content-Transfer-Encoding: 8bit

>> Various multimedia applications and chromium-browser generate errors
>> like "shm_open() failed: permission denied". chromium-browser helpfully
>> suggests running:
>> 
>> chmod 1777 /dev/shm
>> 
>> as root to fix this.
> 
> Oh, I bet we're not bind-mounting /run/shm properly.


Interesting.   Outside the chroot:

drwxrwxrwt 2 root root 40 Jun 29 10:55 /run/shm

Inside the chroot:

drwxr-xr-x 2 root root 40 Jun 29 10:55 /run/shm

Since when does bind-mounting change the file mode bits?

Are we losing because /run/shm is already a tmpfs prior to bind-mounting?   Should we clobber it manually, or is there a better way to do this?

-Jon




home help back first fref pref prev next nref lref last post