Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413669 - dev-lang/erlang-14.2.4 segfaults if /sys/devices/system/node is not readable
Summary: dev-lang/erlang-14.2.4 segfaults if /sys/devices/system/node is not readable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: http://erlang.org/pipermail/erlang-bu...
Whiteboard:
Keywords: PATCH
: 413875 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-26 20:21 UTC by Dennis Schridde
Modified: 2012-10-09 17:49 UTC (History)
2 users (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 Dennis Schridde 2012-04-26 20:21:31 UTC
On Gentoo/Hardened /sys/devices/system/node is only read and traversable (0700) by root, which makes erlexec segfault.

See upstream bugreport [1] and the fix [2], which contains a patch that was included in Erlang 15B01, i.e. dev-lang/erlang-15.2.1.

[1] http://erlang.org/pipermail/erlang-bugs/2012-February/002782.html
[2] http://erlang.org/pipermail/erlang-bugs/2012-March/002801.html

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-01 22:36:49 UTC
*** Bug 413875 has been marked as a duplicate of this bug. ***
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-05-14 07:51:16 UTC
15.2.1 is now in the tree, thanks for the notification!
Comment 3 tomas charvat 2012-10-09 17:49:12 UTC
Same problem can be also cause by enabled http://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options#Sysfs.2Fdebugfs_restriction in the kernel. You are unable to run erl vm as non root.