Author: ultrotter Date: Tue Jul 10 20:22:26 2007 New Revision: 404 Log: Handle domains called Name.* Modified: trunk/xen-common/debian/changelog trunk/xen-common/debian/xen-utils-common.xendomains.init Modified: trunk/xen-common/debian/changelog =============================================================================--- trunk/xen-common/debian/changelog (original) +++ trunk/xen-common/debian/changelog Tue Jul 10 20:22:26 2007 @@ -1,9 +1,13 @@ xen-common (3.1.0-0-1) UNRELEASED; urgency=low + [ Julien Danjou ] * New upstream version * Remove interpreters patch, not useful anymore - -- Julien Danjou <acid at debian.org> Tue, 19 Jun 2007 20:59:55 +0200 + [ Guido Trotter ] + * Handle gracefully domains called Name.* (closes: #432583) + + -- Guido Trotter <ultrotter at debian.org> Tue, 10 Jul 2007 21:21:51 +0100 xen-common (3.0.4-1-2) unstable; urgency=low Modified: trunk/xen-common/debian/xen-utils-common.xendomains.init =============================================================================--- trunk/xen-common/debian/xen-utils-common.xendomains.init (original) +++ trunk/xen-common/debian/xen-utils-common.xendomains.init Tue Jul 10 20:22:26 2007 @@ -146,7 +146,7 @@ RC=0 ;; esac - done < <(xm list | grep -v ''^Name'') + done < <(xm list | tail +2) return $RC } @@ -212,7 +212,7 @@ if test "$state" != "-b---d" -a "$state" != "-----d"; then return 1; fi - done < <(xm list | grep -v ''^Name'') + done < <(xm list | tail +2) return 0 } @@ -323,7 +323,7 @@ fi kill $WDOG_PIG >/dev/null 2>&1 fi - done < <(xm list | grep -v ''^Name'') + done < <(xm list | tail +2) # NB. this shuts down ALL Xen domains (politely), not just the ones in # AUTODIR/* @@ -356,7 +356,7 @@ return 0 ;; esac - done < <(xm list | grep -v "^Name") + done < <(xm list | tail +2) return 1 }