Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   bug report for xen-linux-system-2.6.26-2-xen-686 (+policy issue) (http://www.linux-archive.org/debian-kernel/372131-bug-report-xen-linux-system-2-6-26-2-xen-686-policy-issue.html)

Miles Fidelman 05-17-2010 12:23 PM

bug report for xen-linux-system-2.6.26-2-xen-686 (+policy issue)
 
Just came across an interesting install bug, that illustrates a
potential class of gotchas to watch out for, that might want to be
addressed in the Debian Policy (more at end).


I installed xen-linux-system-2.6.26-2-xen-686 on Lenny, using
DRBD-backed disk volumes. And all worked fine when starting and
stopping VMs manually.


The thing is, that the xen installer sticks S21xendomains into
../rc<n>.d - but DRBD doesn't initialize until later (S70drbd). Hence
any virtual machines that are set for auto-start, or saved for
auto-resume, fail during boot - they're looking for boot drives that
don't yet exist.


The fix is simple, rename S21xendomains to S76xendomains (I put it after
S75hearbeat as well, since I expect there might be some interactions
there as well - that's what I'll be working on next - as you may
surmise, I'm building a failover environment).


Seems like a fix should make its way into the xen distribution, or at
least into the README.Debian. And it seems illustrative of a more
general issue of initialization inter-dependencies - which really isn't
called out in the Debian Policy section on initialization scripts.


Regards,

Miles Fidelman


--
In theory, there is no difference between theory and practice.
In<fnord> practice, there is. .... Yogi Berra



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BF13528.4090200@meetinghouse.net">http://lists.debian.org/4BF13528.4090200@meetinghouse.net


All times are GMT. The time now is 03:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.