util.mount_cb will create an unused temporary directory if the passed `device` is already mounted
Bug #1885327 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Wishlist
|
Unassigned |
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.
Changed in cloud-init: | |
status: | New → Triaged |
To post a comment you must log in.
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 3752