Project

General

Profile

Actions

Bug #18003

closed

If some command in the job template reads from STDIN the job never finishes

Added by Marek Hulán almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
Fixed in Releases:
Found in Releases:

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.

Actions

Also available in: Atom PDF