Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ensure libguestfs mounts are cleaned up
Make a few attempts to umount the libguestfs mounts, in case other processes are accessing the mounts (like udev etc.) If we still can't umount after 5 attempts (with average delay of about 1s between each), then initiate a lazy umount so that the mounts might be automatically cleaned up at some stage. We wait a further 10s after initiating the lazy umount, before raising an exception. Addresses the original issue in bug 1013689 Change-Id: Ib5ede9f705c833825a19308c140f99c5bf3a776f (cherry picked from commit 5eea887)
- Loading branch information