Bug 756127

Summary: RHN_REGISTER Segfault
Product: Red Hat Enterprise Linux 5 Reporter: Ovi <ovidioborrero>
Component: rhn-client-toolsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.5CC: cperry, jmikulka, slukasik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-26 12:59:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ovi 2011-11-22 18:46:32 UTC
Description of problem:

Whenever I attempt to do a rhn_register and enter my RHN information I get a segfault. When I enter faulty credentials I get a message that my credentials are not valid. Looking at the logs all I see is segfault, no other helpful information

How reproducible:
Every single time

Steps to Reproduce:
1. rhn_register

Comment 1 Jiří Mikulka 2011-11-23 08:12:36 UTC
Hi Ovi,
which version of rhn-client-tools are you using?

Comment 2 Jiří Mikulka 2011-11-23 08:14:47 UTC
Also version of rhn-setup.

(In reply to comment #1)
> Hi Ovi,
> which version of rhn-client-tools are you using?

Comment 3 Milan Zázrivec 2011-11-23 12:32:27 UTC
What does your logs (/var/log/up2date) look like? What does the segfault
look like?

Comment 4 Ovi 2011-11-23 13:39:46 UTC
Hi Jiri & Milan, 

I'm using: rhn-client-tools-0.4.20-33.el5_5.4 and rhn-setup-0.4.20-33.el5_5.4. Up2date just has the following:

[Tue Nov 22 12:34:52 2011] rhn_register
Traceback (most recent call last):
  File "/usr/sbin/rhn_register", line 82, in ?
    app.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhn_register", line 64, in main
    ui.main()
  File "/usr/share/rhn/up2date_client/tui.py", line 1717, in main
    tui.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 1619, in run
    result = win.run()
  File "/usr/share/rhn/up2date_client/tui.py", line 457, in run
    self.passwordEntry.value())
  File "/usr/share/rhn/up2date_client/tui.py", line 66, in tui_call_wrapper
    results = func(*params)
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 881, in getPossibleOrgs
    orgsFromServer = s.registration.get_possible_orgs(username, password)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 52, in __call__
    raise self.__exception_from_fault(f)
up2date_client.up2dateErrors.AuthenticationOrAccountCreationError: Error validating data at server:

Comment 5 Clifford Perry 2012-04-26 12:59:38 UTC
Hi, can you please contact Red Hat Support. They can assist in
debugging and troubleshooting via our support portal. If a fault is determined to be contained within our product, a new bugzilla on your behalf will be opened, requesting fix in the code causing this. 

Typically though, segfaults are bad memory/cpu/hardware, or a subtle bug within maybe python or another core component of the OS, vs the python script we provide within the registration client. 

Regards,
Cliff.