[rhn-users] Hostname change not getting reflected on redhat network profile for system

James Puellmann lists.james at gmail.com
Fri Mar 31 18:38:58 UTC 2006


> The only place the old host name is on the dns server.


Bingo. The client updates the "Hostname:" part of it's System Details 
page with the results of a reverse lookup. If DNS returns a bogus name, 
the bogus name will get stored in the profile. I believe you could force 
it to show the hostname you want by adding the info to your /etc/hosts, 
but your best bet is probably just to change the DNS info.

Note the difference between the "profile name" and the "hostname" The 
profile name is arbitrary and can be reset manually. The "Hostname:" 
value in the System Details RHN web page is always going to show the 
results of a query on the system's IP address ("unknown" if the query 
fails). Also, you don't need to re-register your system just to change 
the info on the System Details page. The "up2date --hardware" command 
will update this information for you.



Raj wrote:

> Registered a linux box with redhat network using the command "up2date 
> --register" and following the prompts.
> The hostname was changed after the registeration (made this change 
> using hostname command and also /etc/sysconfig/network file).
> To reflect this change, tried to delete the system-profile on red-hat 
> network and delete the file /etc/sysconfig/rhn/systemid and 
> re-register on red-hat network, it stills shows up with old hostname.
> The only place the old host name is on the dns server.
> Any hints?
>  
> TIA,
> Raj
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call 
> rates. 
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> 
>
>
>
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>------------------------------------------------------------------------
>
>_______________________________________________
>rhn-users mailing list
>rhn-users at redhat.com
>https://www.redhat.com/mailman/listinfo/rhn-users <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060331/40b9cb41/attachment.htm>


More information about the rhn-users mailing list