Comment 10 for bug 185209

Revision history for this message
ArbitraryConstant (anthony-spamtrap) wrote :

The interaction with sudo is a very inconvenient, very visible symptom. Without getting into whether or not it's desirable for sudo to do the gethostbyname() lookup, we can say for certain that it is never the correct behavior for a configuration GUI used by the user to produce an incorrect /etc/hosts file. If gethostbyname() were removed from sudo, we would still have a broken /etc/hosts file, and there would still be bugs resulting from that.