[Bug 1124384] Re: cloud-init parses yaml incorrectly

2013-02-13 Thread Scott Moser
The issue here is really that /tmp is getting cleaned after the above runs.
Then, the test harness is going looking for the file, but its long gone.

I'm not sure if its specifically a bug or not to rely on runcmd running after 
/tmp cleaning has run.  but it does seem like /tmp is being cleaned dangerously 
late in the boot process, given that runcmd is happening via cloud-config.conf 
at
   start on (filesystem and started rsyslog)

At what point in boot is it safe to put files in /tmp (even temporary
files) and assume that they will not be deleted by 'mounted-tmp' ?

** Package changed: cloud-init (Ubuntu) = mountall (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1124384

Title:
  cloud-init parses yaml incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1124384/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1124384] Re: cloud-init parses yaml incorrectly

2013-02-13 Thread Steve Langasek
'mounted' events are handled synchronously in mountall, and the
'filesystem' isn't emitted until they're all done.  Prelim tests seem to
confirm that this is working correctly (and if it wasn't that would be a
very bad bug, that I think we would have caught before now).

In a test instance from smoser, I've confirmed that a file touched
directly by /etc/init/cloud-config.conf persists, whereas a file touched
from within /var/lib/cloud/instance/scripts/runcmd is not created.  As
I'm not really familiar with the cloud-init architecture I can't
effectively debug this further, but it's definitely not mountall causing
the issue.

** Package changed: mountall (Ubuntu) = cloud-init (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1124384

Title:
  cloud-init parses yaml incorrectly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1124384/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs