Actions
Bug #18003
closedIf some command in the job template reads from STDIN the job never finishes
Difficulty:
Triaged:
Bugzilla link:
Description
It's easy to write a template that would read from STDIN, e.g. following snippet hidden in a longer template
grep something
would cause indefinite job. The job can be cancelled but the eats resources by sending live updates while it does nothing. We should redirect STDIN to /dev/null when we run the script so such calls would end up with error.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_remote_execution/pull/219 added
Updated by Marek Hulán almost 8 years ago
- Target version changed from 1.10.2 to 1.11.2
Updated by Marek Hulán almost 8 years ago
- Target version changed from 1.11.2 to 1.11.4
Updated by Marek Hulán almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_plugin|e027e09e2d43c0ee4e6775b26d1722c5d250f036.
Actions