|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 1 of 3] xencommons: Kill xenstored when stopping
Wow, it's like living in the future!
Was the intention that users only ever use a "restart" target (assuming
it passes --restart) in the initscript rather than the stop->start pair
some people are used to?
no, i think the intention was not using a database from the old boot
when the system restarted. with the correct logic in the script, there's
a way to make it default i think.
Even if stop does a clean shutdown unless start uses --restart we have
the same issue with forgetting watches etc. Do we need a separate
start-like target which reads the db (for use after you've done a stop)
or is it safe to use --restart by default? Can an initscript distinguish
a start at start of day from a start run by the user (following an
earlier stop) and hence add the --restart automagically?
You pinpointed the problem of why it's not on by default.
I think i investigated using the absolute boot time (which i can't
remember where it is in proc) and compare the database mtime, but I
can't remember if it came to any conclusion.
--
Vincent
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|