Bug 211480

Summary: New installation numbers should get written to disk
Product: Red Hat Enterprise Linux 5 Reporter: Daniel Benamy <dbenamy>
Component: rhn-client-toolsAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: bkearney
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-13 16:48:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 207171    

Description Daniel Benamy 2006-10-19 17:18:14 UTC
If hardware info is automatically activated, the resulting IN should be written
to disk (overwriting any existing IN). If any INs are activated from the access
a subscription screen, the most recent one should be written to disk.

Comment 1 Daniel Benamy 2006-10-20 19:44:42 UTC
r104651 should fix this. I didn't test every possible case though.

Comment 2 Ken Ganong 2006-10-25 19:23:45 UTC
Using rhn_register TUI, I used a debugging installation number and successfully
registered the system.
No file exists in /etc/sysconfig/rhn/install-num

rhn_register (Red Hat Network Client Tools) 0.2.5-1.el5

Comment 3 RHEL Program Management 2006-10-26 19:05:43 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Pradeep Kilambi 2006-10-30 21:41:35 UTC
added a fix in tui to save the install num to disk when a subscriptionWindow is
called.

to test, remove any available install num and rhn_register --nox it should
create a new install_num file and wirte the num to disk under
/etc/sysconfig/rhn/install-num 

Comment 5 Ken Ganong 2006-11-10 19:57:16 UTC
The install-num file is written to disk after it has successfully been
determined to produce entitlements.

Verified as of rhn_register (Red Hat Network Client Tools) 0.3.2-1.el5