Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349226 - chromium /dev/shm fstab check
Summary: chromium /dev/shm fstab check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 20:59 UTC by Mike Gilbert
Modified: 2010-12-22 09:02 UTC (History)
0 users

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 Mike Gilbert gentoo-dev 2010-12-20 20:59:28 UTC
I see that you just added this check to the chromium ebuilds:

    if ! egrep -q '^shm.+/dev/shm' /etc/fstab; then
        ewarn "You don't have /dev/shm entry in /etc/fstab."
        ewarn "${PN} may fail to start in that configuration."
        ewarn "Please add the following line to your /etc/fstab:"
        ewarn "shm          /dev/shm    tmpfs       nodev,nosuid,noexec 0 0"
    fi

I want to point out that this fstab entry is unnecessary for users running openrc; /etc/init.d/devfs takes care of this.

As well, the default fstab from baselayout-2 does not contain the /dev/shm entry.

Perhaps this could be amended to check for baselayout-1 before warning the user?
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-12-22 09:02:11 UTC
I've just removed the check for simplicity. Thanks for the report.