https://bugzilla.novell.com/show_bug.cgi?id=285929 Summary: bad "xendomains status" output with empty XENDOMAINS_SAVE Product: SUSE Linux 10.1 Version: Final Platform: Other OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: cgriffin@novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- if XENDOMAINS_SAVE is empty in /etc/sysconfig/xen, then "/etc/init.d/xendomains staus" gives bogus output for all filenames/directories in /. it's the same problem in both SUSE 10.1 and 10.2. this is patch fixes the output: -------------------------------------------------------------------- ---- /etc/init.d/xendomains~ 2006-10-06 18:00:48.000000000 +0200 +++ /etc/init.d/xendomains 2007-06-20 16:38:02.544739951 +0200 @@ -424,11 +424,13 @@ fi rc_status -v done - for nm in "$XENDOMAINS_SAVE"/*; do + if test -n "$XENDOMAINS_SAVE"; then + for nm in "$XENDOMAINS_SAVE"/*; do echo -n " $nm: " rc_failed 3 rc_status -v - done + done + fi } ------------------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.