Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 221315 Details for
Bug 299777
www-client/chromium should check that /dev/shm is sane
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
chromium-5.0.307.9.ebuild.diff
chromium-5.0.307.9.ebuild.diff (text/plain), 1.44 KB, created by
Doktor Notor
on 2010-02-26 12:28:34 UTC
(
hide
)
Description:
chromium-5.0.307.9.ebuild.diff
Filename:
MIME Type:
Creator:
Doktor Notor
Created:
2010-02-26 12:28:34 UTC
Size:
1.44 KB
patch
obsolete
>--- chromium-5.0.307.9.ebuild.orig 2010-02-19 16:36:46.000000000 +0100 >+++ chromium-5.0.307.9.ebuild 2010-02-26 13:22:12.000000000 +0100 >@@ -40,20 +40,19 @@ > >=dev-util/pkgconfig-0.23 > sys-devel/flex" > >-pkg_setup() { >+pkg_preinst() { > # Prevent user problems like bug 299777. >- if ! grep -q /dev/shm <<< $(get_mounts); then >- eerror "You don't have tmpfs mounted at /dev/shm." >- eerror "${PN} isn't going to work in that configuration." >- eerror "Please uncomment the /dev/shm entry in /etc/fstab," >- eerror "run 'mount /dev/shm' and try again." >- die "/dev/shm is not mounted" >- fi >- if [ `stat -c %a /dev/shm` -ne 1777 ]; then >- eerror "/dev/shm does not have correct permissions." >- eerror "${PN} isn't going to work in that configuration." >- eerror "Please run chmod 1777 /dev/shm and try again." >- die "/dev/shm has incorrect permissions" >+ if [[ ${ROOT} == / ]]; then >+ if [[ ! grep -q /dev/shm <<< $(get_mounts) ]]; then >+ ewarn "You don't have tmpfs mounted at /dev/shm." >+ ewarn "${PN} isn't going to work in that configuration." >+ ewarn "To fix this, please uncomment the /dev/shm entry" >+ ewarn "in /etc/fstab and run 'mount /dev/shm'." >+ fi >+ if [[ $(stat -c %a /dev/shm) != 1777 ]]; then >+ ewarn "/dev/shm does not have correct permissions." >+ ewarn "${PN} isn't going to work in that configuration." >+ ewarn "Please run chmod 1777 /dev/shm to fix this." > fi > > elog "${PN} might crash occasionally. To get more useful backtraces"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 299777
:
221313
| 221315