diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-08-22 23:21:35 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-08-22 23:21:35 -0400 |
commit | a3373fb60aac7f3fee9ec28afebc0e55d28d5438 (patch) | |
tree | bf101eb0ace7c33862b0095411c740ac7b71e5f6 /ChangeLog | |
parent | 0b2656d39db427311266cee5b2ee013de2e56225 (diff) | |
download | vyos-cloud-init-a3373fb60aac7f3fee9ec28afebc0e55d28d5438.tar.gz vyos-cloud-init-a3373fb60aac7f3fee9ec28afebc0e55d28d5438.zip |
util.subp: do not attach stdin cloud-init's stdin to subprocesses (LP: 831505)
Fix issue where 'isatty' would return true for apt-add-repository.
It would get stdin which was attached to a terminal (/dev/console) and would
thus hang when running during boot.
This was done by changing all users of util.subp to have None input unless
input was given. In that case, the input will be the string passed in.
LP: #831505
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -38,6 +38,11 @@ * boothooks will now run more than once as they were intended (and as bootcmd commands do) * cloud-config and user-scripts will be updated from user data every boot + - Fix issue where 'isatty' would return true for apt-add-repository. + apt-add-repository would get stdin which was attached to a terminal + (/dev/console) and would thus hang when running during boot. (LP: 831505) + This was done by changing all users of util.subp to have None input unless specified + 0.6.1: - fix bug in fixing permission on /var/log/cloud-init.log (LP: #704509) - improve comment strings in rsyslog file tools/21-cloudinit.conf |