← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1885327] [NEW] util.mount_cb will create an unused temporary directory if the passed `device` is already mounted

 

Public bug reported:

The tmpdir creation happens before (and around, as a contextmanager) the
determination of whether or not a mount will be needed.  This could be
improved.

** Affects: cloud-init
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1885327

Title:
  util.mount_cb will create an unused temporary directory if the passed
  `device` is already mounted

Status in cloud-init:
  New

Bug description:
  The tmpdir creation happens before (and around, as a contextmanager)
  the determination of whether or not a mount will be needed.  This
  could be improved.

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


Follow ups