The current code calls umount /var/lib/docker/containers, then immediately uses /var/lib/docker/containers for an selinux operation, then attempts to remove the directory. The removal will sometimes fail with a "filesystem busy" error, I think because doing the selinux operation after unmounting somehow causes it to be busy. Doing the unmount after all of the operations, and just before doing the removal, seems to fix this condition.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|