You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: unmount bind-mount on symlinked resolv.conf during cleanup
When /etc/resolv.conf is a symlink (e.g., to /run/systemd/resolve/stub-resolv.conf),
ip netns exec bind-mounts our custom resolv.conf onto the symlink target. These
bind-mounts accumulate on the host and eventually cause 'No such file or directory'
errors when creating new jails.
This fix adds explicit unmounting of the bind-mount during NetnsResolv cleanup.
The unmount is best-effort and won't fail the cleanup if it doesn't succeed.
Tested on ml-1: all 23 tests pass.
0 commit comments