grouper-users - Re: [grouper-users] Re: GSH error after applying API patch 83
Subject: Grouper Users - Open Discussion List
List archive
- From: Paul Engle <>
- To:
- Cc:
- Subject: Re: [grouper-users] Re: GSH error after applying API patch 83
- Date: Mon, 4 Jun 2018 09:09:42 -0500
- Ironport-phdr: 9a23:0RJfzR21T/3Hs3hVsmDT+DRfVm0co7zxezQtwd8ZseIWIvad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLnhykHODw5/m/ZicJ+kbxVrw66qhNl34LZepuYOOZicq7fe94RWGpPXtxWVyxEGo6ydZEAD/cFPe1FoIf9oVQOrR+gCgKxA+7v0iFHhnn53a0+zessChvG3A08EN0Qqnjbssj6NLoLXO2z0aLGwzLDb/ZM1jf87ojFah8hoeuLXbJtacre11MvGxnfgVWIsYzpJyma2f8Ws2iH9epvT/6gi3I7pA5rpjivwtwsiojVho0L0FzL6T92wIIxJdC+VUV1YsakHYNOuyybK4d7QMYvQ29rtSkh1rELvJG2cDQWxJs7whPQd+CLfouN7x/mSuqdPyp3iXR4c7ylnRmy61KvyujkW8m0zllKqi1Fn8HJtn8X1hzT7tGLSuZn8Uu9wDqO2B7f5v9ZLkwumqrbLJkhwrE0lpUNq0jMAij2mEDugK+XcEUr5PSo5vz5brjnupORNYp5ig/9P6s1hsCyBOs1PhQSU2eH/OmzyKHv8E78TbhPkPE6jLTWvIjfJcsBp665BwFV0pwk6xa6FzqmyMoXnX8ILFJBZh2KlJLpO1DSL//mF/uwnUmjkCpzy/DcIrLhGonNLmTEkLr5crZ98UlcyBcrzd9B/ZJYE6wBIOntVU/rr9zVFRs5Mw2vw+b7E9VxyJkSWWOJAq+FLqzSq1mI6fwzI+WSfoMapivyK+V2r8Lp2GQ5mFsQe4GlwJgaLn20A6dIOUKcNELln9NJPGEFugd2GPTnjlKGXBZJZn2/Ga8w+2doW8qdEY7fS9X10/S61yChE8gOaw==
Does it help if you do the following before running gsh? (Change the path to some place else.)
export GSH_JVMARGS="-Dlibrary.jansi.path=/some/other/temp/path/with/exec"
Thanks!
- Shilen
From: <> on behalf of Paul Engle <>
Date: Friday, May 25, 2018 at 12:17 PM
To: "" <>
Subject: [grouper-users] Re: GSH error after applying API patch 83
Okay, I found the underlying problem. We routinely mount /tmp with the noexec option, so that's what's causing the failure. Grouper probably shouldn't be trying to exec stuff from /tmp, though. That goes against the CIS security benchmark.
-paul
--
Paul Engle
Office of Information Technology
713-348-4702
On Fri, May 25, 2018 at 10:55 AM Paul Engle <> wrote:
My standalone dev box is RHEL7.4, using Oracle java 1.8.0_151. When I patched the grouper api yesterday, I started getting errors when trying to run an interactive gsh. Thinking it was just a crufty dev environment, I tried a fresh install and am still getting the same error. So I redid the fresh install up to patch 82 (where the dev install had been prior to yesterday), and gsh on the fresh install works fine. After applying patch 83 it starts to throw the error again. Below is the stack trace of what I'm getting. I'm not sure if it's a RedHat thing or an oracle java thing, but whatever it is doesn't seem to happen in the tier container version (built using CentOS7 & openjdk zulu).
-paul
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/libjansi-64-8599569245033140568.so: /tmp/libjansi-64-8599569245033140568.so: failed to map segment from shared object: Operation not permitted]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.codehaus.groovy.runtime.callsite.CallSiteArray$1.run(CallSiteArray.java:68)
at org.codehaus.groovy.runtime.callsite.CallSiteArray$1.run(CallSiteArray.java:65)
at java.security.AccessController.doPrivileged(Native Method)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:65)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:162)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.tools.shell.Main.installAnsi(Main.groovy:257)
at org.codehaus.groovy.tools.shell.Main.setTerminalType(Main.groovy:243)
at org.codehaus.groovy.tools.shell.Main.main(Main.groovy:124)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.grouperShellHelper(GrouperShell.java:288)
at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:167)
at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
--
Paul Engle
Office of Information Technology
713-348-4702
- Re: [grouper-users] Re: GSH error after applying API patch 83, Shilen Patel, 06/04/2018
- Re: [grouper-users] Re: GSH error after applying API patch 83, Paul Engle, 06/04/2018
Archive powered by MHonArc 2.6.19.