From owner-freebsd-stable@FreeBSD.ORG Fri Apr 17 20:24:43 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C2061065673 for ; Fri, 17 Apr 2009 20:24:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id 27C028FC1B for ; Fri, 17 Apr 2009 20:24:42 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KI900G9VI168H70@asmtp017.mac.com>; Fri, 17 Apr 2009 13:24:42 -0700 (PDT) Message-id: <1F394E42-BB02-41AC-8A52-C47A76EC55C9@mac.com> From: Chuck Swiger To: FreeBSD Stable List In-reply-to: <49E8D824.1000001@root.org> Date: Fri, 17 Apr 2009 13:24:42 -0700 References: <49DE1F8B.2080400@earthlink.net> <49DE2E6D.5050001@icyb.net.ua> <49DE596E.2050406@earthlink.net> <49DEFF53.1040306@icyb.net.ua> <49DF7A1C.90009@root.org> <20090418043432.O34434@sola.nimnet.asn.au> <49E8D824.1000001@root.org> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-acpi@freebsd.org Subject: Re: 6.x acpi powerbutton X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 20:24:43 -0000 On Apr 17, 2009, at 12:27 PM, Nate Lawson wrote: >> Perhaps a silly question, but is it too late at this stage of the >> game >> to try logging S5 events to syslog before dying? I agree with >> Stephen, >> logging 'shutdown by powerbutton' surely beats what might otherwise >> resemble a spontaneous reboot? Or is something already logged here? > > I'm not resisting this, but I'm having trouble seeing the importance. > What happens differently than if someone hits CTRL-ALT-DEL on a > virtual > console? Well, I'd like to get a one-line message saying "rebooted by CTRL-ALT- DEL" versus "shutdown by powerbutton". Other systems would log a one- liner like "system rebooted by /etc/shutdown -i 6: _MESSAGE_".... Regards, -- -Chuck