This makes sense to me. Its simpler even than you suggest. I see no good
reason that cloud-init ever should read from stdin, so it should
probably just re-open stdin as /dev/null. Any program that hangs waiting
for input from a non tty like /dev/null is doing things wrong, or is
being invoked incorrectly.
I don't see this as High though, as it can be worked around by not
running programs that wait for input from stdin. Dropping to Medium, and
forwarding to cloud-init upstream project.
** Changed in: cloud-init (Ubuntu)
Status: New => Triaged
** Changed in: cloud-init (Ubuntu)
Importance: High => Medium
** Also affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903993
Title:
Don't hang waiting for input from commands
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/903993/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs