Fails installation if /tmp is mounted noexec
This seems to be the case in at least SLES12 which makes script execution fail. Since we don't know the used interpreter we can't just prefix with "bash -c" so don't use /tmp but rather use the login users $HOME which should always be writeable.
I'm happy to make this configurable but I assume $HOME is a bitter default then /tmp. It also has the advantage that the logs aren't gone after a reboot.
#1 Updated by Guido Günther over 4 years ago
Forgot to add some logs:
2016-01-20T10:41:40 [app] [D] about to execute bash -c 'chmod 0701 /tmp/bootstrap-5019eaae-4923-5bfb-fc92-2e051c987e01 && /tmp/bootstrap-5019eaae-4923-5bfb-fc92-2e051c987e01' | tee /tmp/bootstrap-5019eaae-4923-5bfb-fc92-2e051c987e01.log ... 2016-01-20T10:41:40 [app] [D] bash: /tmp/bootstrap-5019eaae-4923-5bfb-fc92-2e051c987e01: Permission denied