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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp