Summary: | Eclipse crash w/ noexec-mounted /home | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Saro <tiggernews> |
Component: | [OLD] Development | Assignee: | Development Tools Team <dev-tools> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Saro
2006-10-28 13:34:00 UTC
/home mounted noexec? (In reply to comment #1) > /home mounted noexec? > Yes. I have a seperatly partition for /home. When in the /etc/fstab the option "exec" is not present, eclipse don't start, because the standard configuration is noexec. I think many people have a seperatly partition for /home. And I think all of these can't start eclipse in this Version, until they don't change the fstab configuration. Here the definition from the manpage: noexec - Do not allow direct execution of any binaries on the mounted file system. Eclipse is almost written in Java, but a little part of it is written in a OS dependent language. Because that Eclipse means: failed to map segment from shared object: Operation not permitted at java.lang.ClassLoader$NativeLibrary.load(Native Method) Eclipse makes a copy of the libswt-pi-gtk-3232.so in the home directory. I don't know why. I think Eclipse try to execute native code in the home directory. But this is not permited in the standard configuration. You know what I mean? > The standard configuration of mountpoints with no specification seems to > to be noexec No, not really. Not a Gentoo-specific issue, if you think it's a bug, then report it upstream. https://bugs.eclipse.org/bugs/ David: Uh, I should actually read your bug report, instead just having a look at the error output. Didn't realize that you found the problem already. :) For Eclipse the problem is that it consists of bunch of jars and it can't load the libraries from inside of them. Don't know if Eclipse can be configured to pick up the libraries, if they were installed plain in the first place. Like to hear maintainers voice. :) This certainly looks like an upstream issue. Could you please file a bug upstream, and post a reference to it on this bug? After that, I can pass it along linux-distro mailing list for Eclipse (where we work on maintaining Eclipse on the various distros), as this is likely to be present on other distributions as well. Sorry, now I see that is already posted a bug like this on the Eclipse Bugzilla. https://bugs.eclipse.org/bugs/show_bug.cgi?id=128485 It seems that the eclipse project is not interested to change that. You may want to open a feature request, ie for a way to use eclipse with noexec mounted home dir, and make reference to that bug. Closing, as it's an upstream problem. You may want to check Eclipse-3.3 but I believe the problem is still there since you mentioned upstream was not interested in implementing this feature. (In reply to comment #9) > Closing, as it's an upstream problem. Then resolve it as that please. Suffices when users resolve bug reports incorrectly. |