From owner-freebsd-acpi@freebsd.org Sun Sep 20 07:18:04 2015 Return-Path: Delivered-To: freebsd-acpi@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 9636BA05561 for ; Sun, 20 Sep 2015 07:18:04 +0000 (UTC) (envelope-from bounces+73574-3fe6-freebsd-acpi=freebsd.org@sendgrid.net) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50C3F11C4 for ; Sun, 20 Sep 2015 07:18:03 +0000 (UTC) (envelope-from bounces+73574-3fe6-freebsd-acpi=freebsd.org@sendgrid.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=subject:to:references:from:mime-version:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=chFeEcboLQ0Gw9o3gMiw2j8v+xI=; b=qiBxqTNNjZvaIBGX3e 12asklk/Ex1P9k2TYSCviWiipTQ8OH9C49gJTO6yJVAfPyNypf7LBB/zVSa2ZyIx b0X4w/AdCMKG2YRqF8R6UrS+Br9YVFYoupXMSZYCkb0aLMf0iqCXFfMy8me41Xn4 LfhOOQ8HYjS2utaKHHsBwNdQg= Received: by filter0831p1mdw1.sendgrid.net with SMTP id filter0831p1mdw1.3147.55FE5DA41E 2015-09-20 07:17:56.776665799 +0000 UTC Received: from mail.tarsnap.com (ec2-54-86-246-204.compute-1.amazonaws.com [54.86.246.204]) by ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id zOvCbJIgRGi0mD_G8l8Mfw for ; Sun, 20 Sep 2015 07:17:56.918 +0000 (UTC) Received: (qmail 75025 invoked from network); 20 Sep 2015 07:17:51 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 20 Sep 2015 07:17:51 -0000 Received: (qmail 3942 invoked from network); 20 Sep 2015 07:16:36 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 20 Sep 2015 07:16:36 -0000 Subject: Re: disabling sleep when shutting down To: Anthony Jenkins , Jung-uk Kim , "freebsd-acpi@freebsd.org" References: <55FA3848.7090802@freebsd.org> <55FB233D.2080000@FreeBSD.org> <55FB48E3.20401@freebsd.org> <55FC4F13.3090603@FreeBSD.org> <55FC57F9.3050702@yahoo.com> From: Colin Percival X-Enigmail-Draft-Status: N1110 Message-ID: <55FE5D54.1030806@freebsd.org> Date: Sun, 20 Sep 2015 00:16:36 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55FC57F9.3050702@yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SG-EID: t2fXfoZHCw6vGsGKHqKxJ9qWwHSlQfPdDS+3+p6rOCu1z2+lZELrw0J+Mht2L0+6OEDPLkCEslzGuc /N9aL+C9jIzPBUs9bROdkicJg0PtiDBT2x6dX/ss1ehRBpDelTYNE3lKnFF2QIBmk9wMFEh3A8eXNA QgjzFcufnftDGSk7Ra9d8IO0K/11PWTBYRck X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2015 07:18:04 -0000 On 09/18/15 11:29, Anthony Jenkins wrote: > Is it possible for /etc/rc.shutdown to complete, but shutdown not > occur? If so, there should be a mechanism to restore the ability to > suspend. Other than that, I like it. Hmm... well, rc.shutdown runs before the system drops into single-user mode. Which makes me think that maybe we should be making the kernel call from inside init instead of from rc.shutdown. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid