Warning about resolv.conf symlink will not be printed if the symlink points to another symlink
The code in #187 will not work (i.e. warning will not be printed, even though it should be) if /etc/resolv.conf is a symlink to /var/run/NetworkManager/resolv.conf and /var/run is a symlink to /run. (realpath(3) returns only the final path, but here the problem is in the intermediate symlink in the symlink hierarchy.)
Originally posted by @pcahyna in https://github.com/rootless-containers/slirp4netns/pull/187#issuecomment-695010524
Thanks for reporting, what's your distro?
Fedora. Updated from older releases, so the symlink may be a leftover from an older release.
@giuseppe Have you seen this?