got-your-back icon indicating copy to clipboard operation
got-your-back copied to clipboard

Cant run GYB with $TMPDIR mounted with noexec

Open chris114782 opened this issue 9 months ago • 0 comments

  • I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. Cofirmed
  • I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki Confirmed

Full steps to reproduce the issue:

  1. mount /tmp with the noexec option (as required by various security compliance standards)
  2. attempt to execute GYB

Expected outcome (what are you trying to do?):

Execute GYB successfully

Actual outcome (what errors or bad behavior do you see instead?):

gyb: error while loading shared libraries: libz.so.1: failed to map segment from shared object

This error immediately disappears if /tmp is mounted without the noexec option, or if you set $TMPDIR to somewhere else for the GYB process.

chris114782 avatar May 15 '24 16:05 chris114782