My desktop computer has a public IP address that is reachable from the
local network as well as the internet at large.

When I set my hostname to "razor.pillars.net" then I always get the sudo
warning, regardless of any /etc/hosts or /etc/sudoers modifications.
Believe me; I've tried all possible permutations suggested in this
thread, plus a few of my own.

Setting the hostname to "razor" (without the domain) eliminates the
warning as long as there is a matching entry in /etc/hosts.

What puzzles me is that "razor.pillars.net" resolves via dns, both
internally (I run djbdns on localhost) and externally.  However, no
amount of twiddling the /etc/hosts file or the /etc/resolv.conf file
will eliminate the warning from sudo.

Can someone explain why gethostbyname() is broken if hostname is fully-
qualified?  Is this a glibc problem or a sudo problem?

-- 
sudo fails if it cannot resolve the local hostname and no MTA is installed
https://bugs.launchpad.net/bugs/32906
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to