Actions
Bug #13298
closedFails installation if /tmp is mounted noexec
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.
Updated by Guido Günther almost 9 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
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
Updated by Guido Günther almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset d619dd9e70e0ccbed44ae75c29bab9d56030d364.
Updated by Dominic Cleal almost 9 years ago
- Assignee set to Guido Günther
- Translation missing: en.field_release set to 71
Actions