[opensuse-factory] Can't add Full-Qualified-Hostname to hosts file using yast2
![](https://seccdn.libravatar.org/avatar/102a582c31983bc451b51df7cdbc70ae.jpg?s=120&d=mm&r=g)
Hello In the "/etc/hosts" file on opensuse 10.2, I have the "Full-Qualified-Hostname" on my machine in like this: # IP-Address Full-Qualified-Hostname Short-Hostname 127.0.0.2 my_hostname.my_dns my_hostname This was not the case with 10.3 after I installed it - so I tried to add it (for reasons I won't go into here). I can add a Full-Qualified-Hostname (in the form of the line above) manually via the command line but I can't using yast2 by running "DNS and Hostname" with the "Change Hostname via DHCP" and "Write to Hostname to /etc/hosts" options selected. This procedure works on 10.2 Is this a bug or am I doing something wrong here? TIA Regards James --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/cb2fb2ffdbbbc003e8ea1d048ae8c2ff.jpg?s=120&d=mm&r=g)
2007/9/3, James PEARSON <pearson44j@wanadoo.fr>:
Hello
In the "/etc/hosts" file on opensuse 10.2, I have the "Full-Qualified-Hostname" on my machine in like this: # IP-Address Full-Qualified-Hostname Short-Hostname 127.0.0.2 my_hostname.my_dns my_hostname
This was not the case with 10.3 after I installed it - so I tried to add it (for reasons I won't go into here).
I can add a Full-Qualified-Hostname (in the form of the line above) manually via the command line but I can't using yast2 by running "DNS and Hostname" with the "Change Hostname via DHCP" and "Write to Hostname to /etc/hosts" options selected.
With what version of 10.3 You got this problem? I got this problem in the firts alphas, and in the beta versions do'nt appear any more. Regards --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/65c88e7b3e37715cef1884acf1cf2523.jpg?s=120&d=mm&r=g)
Hi James,
In the "/etc/hosts" file on opensuse 10.2, I have the "Full-Qualified-Hostname" on my machine in like this: # IP-Address Full-Qualified-Hostname Short-Hostname 127.0.0.2 my_hostname.my_dns my_hostname
This was not the case with 10.3 after I installed it - so I tried to add it (for reasons I won't go into here).
I can add a Full-Qualified-Hostname (in the form of the line above) manually via the command line but I can't using yast2 by running "DNS and Hostname" with the "Change Hostname via DHCP" and "Write to Hostname to /etc/hosts" options selected.
Please file a bug and assign it to me. As there is a new feature in 10.3 ("Enable defining different hostname for each static IP address"), the way how hostnames are written to /etc/hosts has been changed. It seems that I've moved around more code than it was necessary :( Cheers B. -- \\\\\ Katarina Machalkova \\\\\\\__o YaST developer __\\\\\\\'/_ & hedgehog painter
participants (3)
-
James PEARSON
-
Juan Erbes
-
Katarina Machalkova