** Description changed:

- Improve teardown_mountpoint to recursively find all submounts and
- unmount them, instead of working from a hard-coded list.  This makes
- the code resilient against other submounts being added later, including
- downstream.
+ [SRU Justification]
+ 
+ The teardown_mountpoint function was back-ported to Xenial recently but
+ the hard coded list of mounts to unmount makes using it problematic when
+ different features require different set of mounts.
+ This change set improves teardown_mountpoint to recursively find all 
submounts and unmount them, instead of working from a hard-coded list.  This 
makes the code resilient against other submounts being added later, including 
downstream.
+ 
+ [Test case]
+ 
+ Autopkgtest excercises this code-path but to be on the safe side all
+ cloud images need to be test-built, too.
+ 
+ [Regression potential]
+ 
+ This change may break building images or the host system by unmounting
+ host's mounts.
+ 
+ [Other Info]
+ 
+  * This is an improvement of LP: #1716992

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

Title:
  Improve teardown_mountpoint to recursively find all submounts and
  unmount them

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1721279/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to