I've worked this out: we check if a disk is mounted (in order to unmount
it) using the /dev/disk symlink, but it's the dereferenced device that
appears in the mount table. If we dereference the symlink before
checking the mount table, this goes away.

This is what the attached branch does.

** Changed in: cloud-init (Ubuntu)
       Status: Confirmed => In Progress

** Branch linked: lp:~daniel-thewatkins/cloud-init/fix_mount_cb_symlink

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490796

Title:
  cloud-init must check/format Azure empheral disks each boot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to