Bug 434239

Summary: yast2 lan doesn't set hostname
Product: [openSUSE] openSUSE 11.1 Reporter: Per Osbeck <per>
Component: YaST2Assignee: Katarina Machalkova <kmachalkova>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: dmacvicar
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log

Description Per Osbeck 2008-10-10 09:17:27 UTC
when trying to set change hostname i YaST lan module, it writes incorrect entries to /etc/hosts

before running YaST hosts file contains:
  127.0.0.1       linux.site      localhost.localdomain   localhost


after:

  127.0.0.1       linux.site      localhost.localdomain   localhost
  127.0.0.2       myhost.mydomain.com myhost


there is no device with 127.0.0.2.
Comment 1 Per Osbeck 2008-10-10 09:22:22 UTC
Created attachment 244820 [details]
y2log
Comment 2 Per Osbeck 2008-10-10 09:34:37 UTC
I was mistaken about the hosts file, 11.0 also does this but, after a reboot hostname still gives: linux.site and not myhost.mydomain.com

re-launching yast2 lan however shows the correct hostname and domain.
Comment 3 Katarina Machalkova 2008-10-31 09:37:02 UTC
Yet another NetworkManager user 
(this line: 

127.0.0.1       linux.site      localhost.localdomain   localhost

is generated by NetworkManager)




*** This bug has been marked as a duplicate of bug 432498 ***