Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning about resolv.conf symlink will not be printed if the symlink points to another symlink #225

Open
pcahyna opened this issue Sep 18, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@pcahyna
Copy link

pcahyna commented Sep 18, 2020

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 #187 (comment)

@AkihiroSuda
Copy link
Member

Thanks for reporting, what's your distro?

@AkihiroSuda AkihiroSuda added bug Something isn't working priority/P0 Highest priority labels Sep 19, 2020
@pcahyna
Copy link
Author

pcahyna commented Sep 21, 2020

Fedora. Updated from older releases, so the symlink may be a leftover from an older release.

@AkihiroSuda
Copy link
Member

@giuseppe Have you seen this?

@AkihiroSuda AkihiroSuda removed the priority/P0 Highest priority label Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants