Bug 489998 - Setup Hangs Restarting Services on Fedora 10
Summary: Setup Hangs Restarting Services on Fedora 10
Keywords:
Status: CLOSED DUPLICATE of bug 487618
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jesus M. Rodriguez
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-12 20:02 UTC by Devan Goodwin
Modified: 2012-03-06 09:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-13 18:41:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Devan Goodwin 2009-03-12 20:02:50 UTC
Description of problem:

spacewalk-setup hangs restarting services.

Version-Release number of selected component (if applicable):

spacewalk-setup-0.5.18-1.fc10.noarch

How reproducible:

100%.

Steps to Reproduce:
1. Run spacewalk-setup on Fedora 10.

Actual results:

Setup never completes after restarting services.

Additional info:

Originally thought this was related to issue with jabberd crashing described in bug #487618 but now not entirely sure...

Did some tracing through the code, spacewalk-setup starts with a call to /usr/sbin/rhn-satellite:

Spacewalk::Setup::system_or_exit(['/usr/sbin/rhn-satellite', 'restart'], 40, open(LOGFILE, ">>", $logfile) or do { 'Could not restart the rhn-satellite service.');    

Which ends up in system_debug in Setup.pm, specifically this is the portion that is freezing up. In this method the while (<PROCESS_OUT>) loop executes several times, once all services are up it stops executing, but the line beyond that while loop never gets run causing us to just sit endlessly

Completely by accident I discovered that switching to another terminal while stuck and running "service restart jabberd" causes spacewalk-setup to immediately pickup and return normally.

Comment 1 Devan Goodwin 2009-03-12 20:05:59 UTC
Suspect continued problems with jabberd, service jabberd restart runs cleanly when run manually, but during the spacewalk-setup we get the crash outlined in bug #487618, but even if applying workaround there a warning is still being printed: 

2009/03/12 19:46:45 -03:00: ('Server does not support TLS - <starttls /> not in <features /> stanza',)

Comment 2 Devan Goodwin 2009-03-13 18:41:53 UTC
Removing jabberd from the list of services in /usr/sbin/rhn-satellite allows
spacewalk-setup to complete normally, indicating this is probably a dupe of the
jabberd configuration bug. Once jabberd restarts cleanly with the satellite
configuration, this hanging during restarting services will probably go away.
Perhaps jabberd writing to stderr causes the perl code that monitors the output
of the process to get confused and never end.

Marking duplicate.

*** This bug has been marked as a duplicate of bug 487618 ***


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