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.
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',)
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 ***