[Bug 591300] New: final_reboot option causes repeated reboot
http://bugzilla.novell.com/show_bug.cgi?id=591300 http://bugzilla.novell.com/show_bug.cgi?id=591300#c0 Summary: final_reboot option causes repeated reboot Classification: openSUSE Product: openSUSE 11.0 Version: Final Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Major Priority: P5 - None Component: AutoYaST AssignedTo: ug@novell.com ReportedBy: tans@vmware.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.18) Gecko/2010021501 Ubuntu/8.04 (hardy) Firefox/3.0.18 This problem exists in SUSE 11 SP1 beta5 and RC1 1. in the autoyast control file, set "general/mode/final_reboot" (XPATH) to be true 2. auto-install OS. After OS installation, OS keeps rebooting infinitely A slight investigation shows that this is caused by autoyast script 1. OS installer creates a reboot script "/var/adm/autoinstall/init.d/zzz_reboot" 2. autoyast, which is assumed to run only once, tries to turn itself off using "chkconfig autoyast off", after running "/var/adm/autoinstall/init.d/zzz_reboot". Of course "chkconfig autoyast off" is never executed, because autoyast executes "/var/adm/autoinstall/init.d/zzz_reboot" before that. Here is the script of autoyast: ... LOG_DIR="/var/adm/autoinstall/logs" SCRIPT_DIR="/var/adm/autoinstall/scripts" INITSCRIPT_DIR="/var/adm/autoinstall/init.d" ... case "$1" in start) # Remember status and be verbose for script in `find $INITSCRIPT_DIR -type f |sort`; do echo -n "Executing AutoYaST script: $script" BASENAME=`basename $script` sh -x $script 2&> $LOG_DIR/$BASENAME.log <== here autoyast runs script "zzz_reboot", which reboots OS mv $script $SCRIPT_DIR rc_status -v done chkconfig autoyast off <== autoyast turns itself off; depending on the timing of KILL signal, this may not be executed Reproducible: Always Steps to Reproduce: 1. in the autoyast control file, set "general/mode/final_reboot" (XPATH) to be true 2. auto-install OS. After OS installation, we saw that OS keeps rebooting infinitely 3. Actual Results: SUSE 11 SP1 OS keeps rebooting Expected Results: reboot only once -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com