diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-19 17:02:54 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-19 17:02:54 -0500 |
commit | 4ee421211816b9f40e09585137b42a8fcec42218 (patch) | |
tree | d5efa8c2ff18787639f3910e412fcab1d34618cb /ChangeLog | |
parent | 02c2e024a3ae57879faee82218fde7db19831efc (diff) | |
parent | 0bc89a7290453f4a496358e90d807c3616518273 (diff) | |
download | vyos-cloud-init-4ee421211816b9f40e09585137b42a8fcec42218.tar.gz vyos-cloud-init-4ee421211816b9f40e09585137b42a8fcec42218.zip |
make stdin read from /dev/null for all cloud-init programs (LP: #903993)
the cloud-init programs are never intended to run interactively.
Some programs were being run via subprocess, and would notice that their
input was attached to a terminal (/dev/console). As a result, they
they would try to prompt the user for input (apt-add-repository)
This change simply re-opens standard input as /dev/null so any
subprocesses will not end up blocking on input.
LP: #903993
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ - support setting of Acquire::HTTP::Proxy via 'apt_proxy' - DataSourceEc2: more resilliant to slow metadata service - config change: 'retries' dropped, 'max_wait' added, timeout increased + - close stdin in all cloud-init programs that are launched at boot (LP: #903993) 0.6.2: - fix bug where update was not done unless update was explicitly set. It would not be run if 'upgrade' or packages were set to be installed |