mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
The openDirectory function is missing the unix.O_CLOEXEC flag. As a result, this file descriptor can leak into the aardvark-dns process which can then block the umount of rootfs - in this case, the umount fails with "Device or Resource busy" error message. This commits adds the unix.O_CLOEXEC to unix.Open call, resulting in this fd to be closed on aardvark-dns exec. Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
24 KiB
24 KiB