#149 Removal code will rm -rf bind mounted dirs...
Closed: Fixed None Opened 17 years ago by jsteffan.

So, the new checks for data in (default) /var/tmp/dir ... well it fails to care about a failed previous run that has bind mounted directories. This is dangerous. We need to also call teardown from the live cd code... or something.


Right, something similar to teardown because teardown has vivid object instances for all bindmounts.

os.path.ismount(path) is kinda nice... Walk the directories beneath a certain path (working directory) and kill mounts that use a mountpoint with that directory.

Did anyone actually test this?

No, let's try os.path.ismount(path)

Reported as fixed and not tested.

Metadata Update from @jsteffan:
- Issue assigned to kanarip
- Issue set to the milestone: 2.0.3 Release

8 years ago

Log in to comment on this ticket.

Metadata