This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Execution of /sbin/ldconfig during startup | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Filesystems | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jkovalsky |
Priority: | P1 | Keywords: | TEST |
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Unix | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jiri Skrivanek
2016-03-24 09:34:50 UTC
Fixed, hopefully: http://hg.netbeans.org/core-main/rev/7c85c9c925e4 Thank you for reporting. Integrated into 'main-silver', will be available in build *201608270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7c85c9c925e4 User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #258517: Execution of /sbin/ldconfig during startup I am affraid it did not help. I do not much understand this issue. /sbin/ldconfig is touched and what? Why this is an issue? There is certainly no write. According to https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/NativeLibrary.java there is: Runtime.getRuntime().exec("/sbin/ldconfig -p") No write, just an exec. At CountingSecurityManager.checkExec(), no exec is permitted with an exception of "chmod" and Mercurial commands. There was no change in NetBeans, there was only a change in NativeLibrary: https://github.com/java-native-access/jna/pull/478/files Therefore I think that the Jarda's fix should be reverted and the test should add a condition to ignore execs from Native.loadLibrary(), for instance. This should be classified as a test error, not an IDE error. Thank you Martin for evaluation. As I am not owner of this test I filed the issue in order someone knowlegable decide whether problem is in IDE or in test. I've backed out rev. 7c85c9c925e4 and added ignore of execs from com.sun.jna.Native.loadLibrary(): http://hg.netbeans.org/core-main/rev/dba29e8eba42 http://hg.netbeans.org/core-main/rev/9ea47b8a9cfe Integrated into 'main-silver', will be available in build *201609030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/9ea47b8a9cfe User: mentlicher@netbeans.org Log: #258517: Ignore execs from com.sun.jna.Native.loadLibrary(). Verified. Thanks. |