Red Hat Bugzilla – Bug 174609
system-config-cluster does not place autostart="0" when autostart box is unchecked
Last modified: 2009-04-16 16:11:03 EDT
Description of problem (1.0.16-1):
The default behavior is to auto-start services; this happens when either
autostart="1", autostart="yes", or no autostart tag is present. If
autostart="0", or autostart="no", the service is not automatically started.
The GUI places autostart="1" in the configuration when the auto-start box is
checked in the service config dialog box, which is fine, but it does not place
autostart="0" in the configuration when the auto-start box is unchecked -- which
is what we need.
e.g. - Old service:
Check autostart checkbox, save:
<service autostart="1" name="nostart"/>
Uncheck autostart checkbox, save:
Expected result of unchecking the checkbox:
<service autostart="0" name="nostart"/>
It is basically backwards. If the box is checked, we *do not* need the
autostart flag, and if it is unchecked, we need autostart="0".
Created attachment 121641 [details]
Patch which fixes behavior
Fixed in errata build
This is def fixed in current build.
Jim, which is the current build?
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 the 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.