[Bug 871297] [NEW] uncloud-init updates.tar doesn't work

Ed Swierk 871297 at bugs.launchpad.net
Sun Oct 9 14:05:55 UTC 2011


Public bug reported:

uncloud-init apparently tries to allow updating the filesystem from an
updates.tar tarball (itself contained within the xupdate tarball or
filesystem image).

But in the updateFrom function, it ignores updates.tar unless it's a
directory:

  if [ -d "${mp}/updates.tar" ]; then
    ...

This looks like a copy-and-paste bug from the code above, which is
checking for a directory called updates. The obvious fix is to change
the -d to -f.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/871297

Title:
  uncloud-init updates.tar doesn't work

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



More information about the Ubuntu-server-bugs mailing list