From owner-freebsd-virtualization@freebsd.org Fri Mar 11 01:31:08 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD452ACAF4B for ; Fri, 11 Mar 2016 01:31:08 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 92453663 for ; Fri, 11 Mar 2016 01:31:08 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id BC68720B4B55 for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id B524B2804EA for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e-fFEgnyDQey for ; Fri, 11 Mar 2016 11:31:05 +1000 (AEST) Received: from Peters-MacBook-Pro.local (mobile-166-171-248-028.mycingular.net [166.171.248.28]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id AF2682804DA; Fri, 11 Mar 2016 11:31:02 +1000 (AEST) Subject: Re: bhyve: is SIGTERM ACPI shutdown supported on linux guests? To: Ronald Khoo References: <56E21E54.5060601@taufilms.com> Cc: freebsd-virtualization@freebsd.org From: Peter Grehan Message-ID: <56E21FD0.8090708@freebsd.org> Date: Thu, 10 Mar 2016 17:30:56 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56E21E54.5060601@taufilms.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=V/zdqbTi c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=AMRrg3BdHfixxA2364uFDw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=7OsogOcEt9IA:10 a=pLMtHL9swF4W56e_59MA:9 a=pILNOxqGKmIA:10 a=aOEPrd1YD2kA:10 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 01:31:08 -0000 > I'm on 10.2-RELEASE. sending SIGTERM to a FreeBSD guest bhyve shuts it > down as expected, but my CentOS 6 guest does nothing. > > Is this expected to work? It isn't enabled by default on centos6. You'll have to do something like this in your guest: yum -y install acpid chkconfig acpid on service acpid start later, Peter.