Bug 666860

Summary: firstboot attempts to register with RHN after selecting entitlement system
Product: Red Hat Enterprise Linux 6 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: rhn-client-toolsAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED ERRATA QA Contact: Martin Minar <mminar>
Severity: urgent Docs Contact:
Priority: low    
Version: 6.1CC: bkearney, cperry, dgregor, gkhachik, jharris, jpazdziora, jsefler, mkoci, mminar, msuchy, shaines
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn-client-tools-1.0.0-51 Doc Type: Bug Fix
Doc Text:
Previously user was always prompted to register to RHN during firstboot. Now if he choose Subscription Manager in firstboot, he is not asked for registration to RHN.
Story Points: ---
Clone Of: 643463
: 676916 (view as bug list) Environment:
Last Closed: 2011-05-19 13:06:01 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: 568421, 643463, 676916, 676917    

Comment 3 Jan Pazdziora (Red Hat) 2011-01-03 14:08:06 UTC
Making bugzilla public.

Essentially, we need changes to rhn-client-tools's firstboot part to be aware of subscription-manager.

Comment 5 Jan Pazdziora (Red Hat) 2011-01-04 12:44:55 UTC
Committed to Spacewalk master:

commit 659c38594d91f18e10cea64895913c03a902dca5
commit 3fba7961502b178f832ecf5fa9d9b8341d46cad5
commit 1539ece969da260c25cf9abcc744889e3ab2eda9
commit c7f9ce310f1374d9d150bca8766edc597b31ac34
commit 102835807d19873ec8c3d32de84f0592f5f3af28
commit c9bbf703b05c320d127a938f999be705df817635
commit 440df884c10f3e6ba07d3aeacd353dcb0a5a6a2e
commit 53bd582dd1856f308750c8f077a9ac8735e165da

Comment 6 Jan Pazdziora (Red Hat) 2011-01-04 12:46:49 UTC
In Spacewalk, tagged as rhn-client-tools-1.3.5-1.

Comment 7 Jan Pazdziora (Red Hat) 2011-01-04 12:58:19 UTC
(In reply to comment #5)
> Committed to Spacewalk master:
> 
> commit 659c38594d91f18e10cea64895913c03a902dca5
> commit 3fba7961502b178f832ecf5fa9d9b8341d46cad5
> commit 1539ece969da260c25cf9abcc744889e3ab2eda9
> commit c7f9ce310f1374d9d150bca8766edc597b31ac34
> commit 102835807d19873ec8c3d32de84f0592f5f3af28
> commit c9bbf703b05c320d127a938f999be705df817635
> commit 440df884c10f3e6ba07d3aeacd353dcb0a5a6a2e
> commit 53bd582dd1856f308750c8f077a9ac8735e165da

Actually, in reverse order

commit 53bd582dd1856f308750c8f077a9ac8735e165da
commit 440df884c10f3e6ba07d3aeacd353dcb0a5a6a2e
commit c9bbf703b05c320d127a938f999be705df817635
commit 102835807d19873ec8c3d32de84f0592f5f3af28
commit c7f9ce310f1374d9d150bca8766edc597b31ac34
commit 1539ece969da260c25cf9abcc744889e3ab2eda9
commit 3fba7961502b178f832ecf5fa9d9b8341d46cad5
commit 659c38594d91f18e10cea64895913c03a902dca5

Comment 8 Jan Pazdziora (Red Hat) 2011-01-04 13:59:06 UTC
Cherry picked to CLIENT-RHEL-6 as 5bf08ba4efcd93eddd2f15a00b86d3ea2ca8a1cb to 5999ae000ddcd4ecd1c4f5092331aa4ccbae26f6.

Tagged as rhn-client-tools-1.0.0-41.

Comment 12 Martin Minar 2011-02-25 10:28:38 UTC
Verified in rhn-client-tools-1.0.0-50

Comment 13 Miroslav Suchý 2011-02-25 15:14:06 UTC
I find that rhn_register print 3 warnings:
# rhn_register 

(rhn_register:4122): libglade-WARNING **: unknown child property `padding' for container `GtkAlignment'

(rhn_register:4122): libglade-WARNING **: unknown child property `expand' for container `GtkAlignment'

(rhn_register:4122): libglade-WARNING **: unknown child property `fill' for container `GtkAlignment'

It was caused by this bug. I fixed it with commit ae47ee200e4b8132251b731881a0d9f37a0071ed in spacewalk.git

cherry picked to satellite.git as 28ce07e3a98694f24d69f102943715463b17922b

Comment 14 Martin Minar 2011-02-28 10:54:05 UTC
No error message in rhn_register now - verified in version rhn-client-tools-1.0.0-51

Comment 15 Miroslav Suchý 2011-05-17 12:37:53 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously user was always prompted to register to RHN during firstboot. Now if he choose Subscription Manager in firstboot, he is not asked for registration to RHN.

Comment 16 errata-xmlrpc 2011-05-19 13:06:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0565.html