Red Hat Bugzilla – Bug 54921
[RFE] ability to updated hardware profile via the command line
Last modified: 2015-01-07 18:52:17 EST
Description of Problem
During registration using rhn_register on a recently installed RedHat 7.2
system, rhn_register picked up on an old IP address listed in /etc/hosts.
After correcting this problem, rhn_register would not take the change, but
did say I could change the system details after registration.
However, when visiting the RHN side and logging in, there appears to be no
record of the IP address that rhn_register collected, and therefore no way
to change it to the real IP address of the system.
Steps to Reproduce:
1. Create an wrong IP address entry in /etc/hosts, or have a wrong entry
in there because you've moved from one side of the country to the other.
2. proceed through the rhn_register process.
3. notice it's using the wrong IP address
4. correct the /etc/hosts error
5. hit back in rhn_register, then next
6. wrong IP address is still displayed
7. continue anyway, since rhn_register says you can modify the profile on
the RHN site.
8. finish registration.
9. visit RHN side, log in, try to find the IP address that was registered.
No IP address information available from RHN site.
IP address should be updateable as suggested by rhn_register, or else
rhn_register should not give the impression that it is updateable.
I believe this qualified as a client/server bug? is the new ip addy sent up
when "up2date -h" is executed?
[root@brick /root]# up2date -h
Usage: up2date [OPTIONS] <packages>
-h, --help this help screen
Are you referring to another option, or maybe a different program (rhn_register)?
Scheduling a hardware profile refresh on the web site works as expected. We
should have a command line option for up2date that refreshes the hardware
uhm, sure. I can add that.
latest up2date provides this. Closing.