From: Wei Liu Subject: Re: [PATCH OSSTEST v2 04/11] Force sysvinit with Jessie Date: Mon, 15 Jun 2015 16:57:40 +0100 Message-ID: <20150615155740.GF10177@zion.uk.xensource.com> References: <1434375399-19107-1-git-send-email-wei.liu2@citrix.com> <1434375399-19107-5-git-send-email-wei.liu2@citrix.com> <1434382813.13744.26.camel@citrix.com> <21886.62436.772572.773668@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z4Xbg-00022H-OF for xen-devel@lists.xenproject.org; Mon, 15 Jun 2015 16:51:32 +0000 Content-Disposition: inline In-Reply-To: <21886.62436.772572.773668@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Xen-devel , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Mon, Jun 15, 2015 at 04:48:52PM +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST v2 04/11] Force sysvinit with Jessie"): > > On Mon, 2015-06-15 at 14:36 +0100, Wei Liu wrote: > ... > > > 2. It kills the ssh connection before 'init 6' has a chance > > > return, which breaks ts-host-reboot. > > Arguably this isn't a bug in systemd, since sshd is racing with the > system teardown. Perhaps we should simply ignore errors from this > command. > That would do. But this point is moot since we're not using systemd now. I can rewrite the commit message and comment in next version. For the record I also had a patch to use "shutdown -r +1" to workaround this problem, but since you're fine with ignoring error I think that's better. Wei. > Ian.