Bug #13298
closed
Fails installation if /tmp is mounted noexec
Added by Guido Günther over 8 years ago.
Updated about 6 years ago.
Description
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.
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
- Status changed from New to Ready For Testing
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Assignee set to Guido Günther
- Translation missing: en.field_release set to 71
Also available in: Atom
PDF