Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543584 - www-client/chromium add check if /dev/shm is mounted
Summary: www-client/chromium add check if /dev/shm is mounted
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Chromium Project
URL: https://forums.gentoo.org/viewtopic-t...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-17 07:37 UTC by Olaf Leidinger
Modified: 2016-11-19 02:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Leidinger 2015-03-17 07:37:38 UTC
I'm building gentoo in a chroot, which is exported via NFS for diskless nodes. Emerging chromium failed with a cryptic message about python multiprocessing and permission denied, just as in the linked URL. The problem boiled down to /dev/shm not being mounted as tmpfs in the chroot environment. This is probably the case for any first-time gentoo installation from the live CD. Thus, I'm proposing to add a check to the ebuild, which complains if /dev/shm isn't mounted as tmpfs.

Reproducible: Always

Steps to Reproduce:
1.umount /dev/shm
2.emerge chromium
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-03-17 12:23:20 UTC
Please add your emerge --info and attach the build log.
Comment 2 Olaf Leidinger 2015-03-17 12:36:33 UTC
I'm not near my machine now and I doubt, that this is a problem specific to my setup, however I'll attach them, of course asap. For the time being, please have a look at the URL, where you can find those files of somebody else having the very same problem.
Comment 3 Mike Gilbert gentoo-dev 2015-03-21 19:30:11 UTC
I don't think it makes sense to add ebuild checks for every package that requires shared memory -- it's a standard Linux feature.

Fix whatever documentation you are using to set up the chroot instead.
Comment 4 Francesco Riosa 2015-03-30 15:46:06 UTC
packages that need shared memory mounted are few and very far apart, sometimes a shared memory mount it's detrimental to the setup.

Provided a check it's not too expensive it could be a good idea to add it.
Comment 5 Mike Gilbert gentoo-dev 2015-03-30 15:59:49 UTC
(In reply to Francesco Riosa from comment #4)
> packages that need shared memory mounted are few and very far apart,
> sometimes a shared memory mount it's detrimental to the setup.

Lots of stuff uses shared memory at runtime. It's just fairly rare for a package build system to use it.

Having /dev/shm mounted is never "detrimental". If your Linux system does not have this mounted, your Linux system is broken, period.