<quote>
How on earth is that a bug in Ubuntu? Users simply shouldn't do such stupid things...
</quote>
I hope this is sarcasm. Most of my non-geek friends think I'm crazy for naming my computers. I don't purport to be a Unix guru, but I think I have a good handle on things. That removing your hostname would bork sudo was not at all obvious to me, and certainly wouldn't be obvious to any user new to Linux.
It doesn't make sense to have a null hostname, and having a null hostname causes problems. Therefore it should be checked for and corrected if necessary. Users shouldn't do stupid things, but they do. While we shouldn't bail them out every time, it seems easy enough to do in this case.
<quote>
How on earth is that a bug in Ubuntu? Users simply shouldn't do such stupid things...
</quote>
I hope this is sarcasm. Most of my non-geek friends think I'm crazy for naming my computers. I don't purport to be a Unix guru, but I think I have a good handle on things. That removing your hostname would bork sudo was not at all obvious to me, and certainly wouldn't be obvious to any user new to Linux.
It doesn't make sense to have a null hostname, and having a null hostname causes problems. Therefore it should be checked for and corrected if necessary. Users shouldn't do stupid things, but they do. While we shouldn't bail them out every time, it seems easy enough to do in this case.