Bug 54921 - [RFE] ability to updated hardware profile via the command line
Summary: [RFE] ability to updated hardware profile via the command line
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: RHN Stable
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-10-23 10:10 UTC by Russell King
Modified: 2015-01-07 23:52 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-15 20:19:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Russell King 2001-10-23 10:10:55 UTC
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.

Actual Results:

No IP address information available from RHN site.

Expected Results:

IP address should be updateable as suggested by rhn_register, or else
rhn_register should not give the impression that it is updateable.

Comment 1 Chip Turner 2001-11-13 12:47:22 UTC
I believe this qualified as a client/server bug?  is the new ip addy sent up
when "up2date -h" is executed?

Comment 2 Russell King 2001-11-20 22:45:53 UTC
[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)?

Comment 3 Cristian Gafton 2002-04-20 07:05:08 UTC
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
profile soon.

adrian?


Comment 4 Adrian Likins 2002-05-15 20:19:25 UTC
uhm, sure. I can add that.

Comment 5 Josef Komenda 2002-10-31 22:28:24 UTC
latest up2date provides this. Closing.
(up2date --hardware)


Note You need to log in before you can comment on or make changes to this bug.