<div dir="ltr">Hello all,<div><br></div><div>I'm addressing the mailing list following the suggestion of gwd on #centos-virt @freenode IRC.</div><div><br></div><div>The subject says most of it. Here are the details :</div><div><br></div><div>- Was running 4.4.x and configured such that /etc/xen/auto domUs would be saved/restored on dom0 shutdown/bootup.</div><div><div>- Installation was based on "centos-release-xen" such that "yum upgrade" brough Xen to 4.6.1.<br></div><div><br></div><div>After upgrade observed behavior:</div><div>- dom0 boot starts up the domUs in /etc/xen/auto.</div><div>- dom0 shutdown does not save/shutdown domUs (the command is "shutdown -h now" via ssh).</div><div><br></div><div>Diagnostics:</div><div>- Running /etc/init.d/xendomains stop/start does the right thing.</div><div>- chkconfig --list shows "xendomains     <span class="" style="white-space:pre">   </span>0:off<span class="" style="white-space:pre">     </span>1:off<span class="" style="white-space:pre">     </span>2:on<span class="" style="white-space:pre">      </span>3:on<span class="" style="white-space:pre">      </span>4:on<span class="" style="white-space:pre">      </span>5:on<span class="" style="white-space:pre">      </span>6:off" which looks nice.</div><div>- The rc link is in place: /etc/rc.d/rc0.d/K00xendomains -> ../init.d/xendomains</div><div>- Edited /etc/init.d/xendomains such that the lines:</div><div><div><br></div><div><div>    start)</div><div>        $LIBEXEC_BIN/xendomains start</div><div>        ;;</div><div>    stop)</div><div>        $LIBEXEC_BIN/xendomains stop</div><div>        ;;</div></div></div><div><br></div><div>become (added "2>&1 | tee FILE" to the underlying start/stop command)</div><div><br></div><div><div><div>    start)</div><div>        $LIBEXEC_BIN/xendomains start 2>&1 | /usr/bin/tee -a /tmp/xd-start.log</div><div>        ;;</div><div>    stop)</div><div>        $LIBEXEC_BIN/xendomains stop 2>&1 | /usr/bin/tee -a /tmp/xd-stop.log</div><div>        ;;</div></div></div><div><br></div><div>- The /tmp/xd-stop.log file is not created on dom0 shutdown (make sense, but why?!).</div><div>- The /tmp/xd-stop.log is created on dom0 boot, as expected.</div><div>- Both files are created on manual /etc/init.d/xendomains start/stop</div><div>- Manually added an rc link: /etc/rc.d/rc0.d/K01xendomains -> ../init.d/xendomains</div><div>- The behavior remains unchanged.</div><div><br></div><div>This is looking much more of an upstart/sysvinit issue that a Xen 4.6 issue.</div><div>However, I believe others may have been through this experience.</div><div><br></div><div>Can anyone provide any pointers in further diagnosing this?</div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div>--</div><div>exvito</div><div class="gmail_signature"><div dir="ltr"><br></div></div>
</div></div>