diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-01-14 13:15:08 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2022-01-24 16:58:05 +0100 |
commit | e252b3b4f294745ca8ac6d1c1850de2e7f1365c7 (patch) | |
tree | cc67df1972a34392a2f513d5ad41aaa63d1a59ba /libpod/container_validate.go | |
parent | 75e6994d4edc712a281aaa46574ed90ecd19ba49 (diff) | |
download | podman-e252b3b4f294745ca8ac6d1c1850de2e7f1365c7.tar.gz podman-e252b3b4f294745ca8ac6d1c1850de2e7f1365c7.tar.bz2 podman-e252b3b4f294745ca8ac6d1c1850de2e7f1365c7.zip |
exec: retry rm -rf on ENOTEMPTY and EBUSY
when running on NFS, a RemoveAll could cause EBUSY because of some
unlinked files that are still kept open and "silly renamed" to
.nfs$ID.
This is only half of the fix, as conmon needs to be fixed too.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2040379
Related: https://github.com/containers/conmon/pull/319
[NO NEW TESTS NEEDED] as it requires NFS as the underlying storage.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/container_validate.go')
0 files changed, 0 insertions, 0 deletions