Project

General

Profile

Actions

Bug #13298

closed

Fails installation if /tmp is mounted noexec

Added by Guido Günther over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Guido Günther over 8 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
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by Guido Günther about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal about 8 years ago

  • Assignee set to Guido Günther
  • translation missing: en.field_release set to 71
Actions

Also available in: Atom PDF