From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 Description of problem: My ISP is setting my hostname with DHCP using caracter "a" plus the dinamic IP, replacing the dots with caracter "-". Example: to IP 212.113.168.20 corresponds the hostname a212-113-168-20 As this hostname is ilegal for several services they don't start during the boot sequence (lpd has to be started manualy after changing the hostname to a new name without "-". Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.boot 2. 3. Expected Results: When these caracters occur, the hostame should: 1 -> remain unchanged, or 2 -> the name should have the ilegal caracters replaced by others (underscore ) Additional info:
The hyphen character is legal in hostnames, the underscore is not. Perhaps lpd is the confused party.
I just re-cheked and I think the problem is that the hostname set by dhcp can't be resolved. Gnome can't resolve the name when started, lpd also can't. Setting a new hostname only works if it is manually added to /etc/hosts which isn't updated by dhcp. I found that the same situation is reported in bug 55173.