Red Hat Bugzilla – Bug 492194
spacewalk-setup Hangs Restarting Services
Last modified: 2009-09-17 03:11:20 EDT
Description of problem:
Spacewalk setup hangs at the final restarting services stage on Fedora 10. (at least)
Version-Release number of selected component (if applicable):
100% on Fedora 10, not sure about others.
Steps to Reproduce:
1. Run spacewalk-setup normally.
Setup prints "* Restarting services." then sits there forever.
Technically all services have started successfully, the problem appears to be related to new code in Setup.pm sub system_debug originating in commit f5eb2855.
Placing an echo at the end of /usr/sbin/rhn-satellite shows that the script does terminate, but the while loop in system_debug never realizes this.
jabberd service appears to be the culprit, if while hung you switch to another terminal and "service jabberd restart" the original spacewalk-setup process immediately picks up and completes normally. If you remove jabberd from the list of services in /usr/sbin/rhn-satellite, the problem does not occur.
Reverting f5eb2855 also allows the process to complete normally. (though I have selinux disabled and I understand the change was to accomodate selinux in the first place)
just a couple notes that i noticed some logic sandwiched between the subroutines upgrade_stop_services and spinning_callback. was that supposed to be orphaned in the main driver area?
Filed a bug 492378 against jabberd.
I'll try to come up with a workaround thou.
Fix in commit 66f35d59c2f4d1771e0b17086a5f85f7c151982f.
Tagged as spacewalk-setup-0.5.27-1.
With Spacewalk 0.5 released, moving ON_QA.
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.