From owner-freebsd-questions@freebsd.org Sun Aug 11 08:08:16 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86E79B36A8 for ; Sun, 11 Aug 2019 08:08:16 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from bumble.birch.relay.mailchannels.net (bumble.birch.relay.mailchannels.net [23.83.209.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 465s6k6ys4z3ClN for ; Sun, 11 Aug 2019 08:08:14 +0000 (UTC) (envelope-from mail@ozzmosis.com) X-Sender-Id: dreamhost|x-authsender|relay@ozzmosis.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 468911400EE; Sun, 11 Aug 2019 08:08:13 +0000 (UTC) Received: from pdx1-sub0-mail-a15.g.dreamhost.com (100-96-84-130.trex.outbound.svc.cluster.local [100.96.84.130]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9CEC2141B4B; Sun, 11 Aug 2019 08:08:12 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|relay@ozzmosis.com Received: from pdx1-sub0-mail-a15.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Sun, 11 Aug 2019 08:08:13 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|relay@ozzmosis.com X-MailChannels-Auth-Id: dreamhost X-Stretch-Company: 667682702890b7f2_1565510893085_2537700084 X-MC-Loop-Signature: 1565510893084:3560480252 X-MC-Ingress-Time: 1565510893084 Received: from pdx1-sub0-mail-a15.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTP id 5C01183ECF; Sun, 11 Aug 2019 01:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ozzmosis.com; h=date:from :to:cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=ozzmosis.com; bh=0Pok4j6wSBpwltR7HDsWAO3iZcI=; b= 1A/xqMFPcBiQbztDF92l3k5OTW8BrznOjy9txcNgLVCNdLgnI/Vbv8iIHbR17EWO q2icvwgTJxJOcBqX3YAE6lQlAy/EpL2c8zNi2Za6BmP++oCrnDhmvofamWD2Od1l CvO53wqbQaiHKHhCUUZ37bB+sAnx258BnaHsrwk1dI0= Received: from blizzard.ozzmosis.com (167-179-139-56.a7b38b.mel.nbn.aussiebb.net [167.179.139.56]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: relay@ozzmosis.com) by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTPSA id 159DB83EA6; Sun, 11 Aug 2019 01:08:08 -0700 (PDT) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id 1478678164; Sun, 11 Aug 2019 18:08:05 +1000 (AEST) X-DH-BACKEND: pdx1-sub0-mail-a15 From: andrew clarke To: "Kevin P. Neal" Cc: hw , Polytropon , freebsd-questions@freebsd.org, hw , Erich Dollansky Subject: Re: howto allow anyone to poweroff? Message-ID: <20190811080805.5smuocukefjd2ayk@ozzmosis.com> References: <20190807183735.f4a87306c851426be6b799ca@gc-24.de> <20190808094618.787a7422.freebsd.ed.lists@sumeritec.com> <20190808085222.77febec0.freebsd@edvax.de> <87sgqaxyi6.fsf@toy.adminart.net> <20190809162827.GB98224@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190809162827.GB98224@neutralgood.org> User-Agent: NeoMutt/20180716 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddruddvvddgtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttdertddtredvnecuhfhrohhmpegrnhgurhgvficutghlrghrkhgvuceomhgrihhlsehoiiiimhhoshhishdrtghomheqnecukfhppeduieejrddujeelrddufeelrdehieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepsghlihiiiigrrhgurdhoiiiimhhoshhishdrtghomhdpihhnvghtpeduieejrddujeelrddufeelrdehiedprhgvthhurhhnqdhprghthheprghnughrvgifucgtlhgrrhhkvgcuoehmrghilhesohiiiihmohhsihhsrdgtohhmqedpmhgrihhlfhhrohhmpehmrghilhesohiiiihmohhsihhsrdgtohhmpdhnrhgtphhtthhopehfrhgvvggsshgurdgvugdrlhhishhtshesshhumhgvrhhithgvtgdrtghomhenucevlhhushhtvghrufhiiigvpedt X-Rspamd-Queue-Id: 465s6k6ys4z3ClN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ozzmosis.com header.s=ozzmosis.com header.b=1A/xqMFP; dmarc=none; spf=pass (mx1.freebsd.org: domain of mail@ozzmosis.com designates 23.83.209.25 as permitted sender) smtp.mailfrom=mail@ozzmosis.com X-Spamd-Result: default: False [-1.74 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[ozzmosis.com:s=ozzmosis.com]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:23.83.208.1/20]; NEURAL_HAM_LONG(-1.00)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[ozzmosis.com]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ozzmosis.com:+]; NEURAL_HAM_SHORT(-0.43)[-0.427,0]; RCVD_IN_DNSWL_NONE(0.00)[25.209.83.23.list.dnswl.org : 127.0.3.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; IP_SCORE(0.18)[ipnet: 23.83.208.0/21(0.55), asn: 36483(0.44), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36483, ipnet:23.83.208.0/21, country:CA]; MID_RHS_MATCH_FROM(0.00)[] X-Mailman-Approved-At: Sat, 12 Oct 2019 23:31:23 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 11 Aug 2019 08:08:16 -0000 X-Original-Date: Sun, 11 Aug 2019 18:08:05 +1000 X-List-Received-Date: Sun, 11 Aug 2019 08:08:16 -0000 On Fri 2019-08-09 12:28:27 UTC-0400, Kevin P. Neal (kpn@neutralgood.org) wrote: > On Fri, Aug 09, 2019 at 03:24:33PM +0200, hw wrote: > > In any case, when a user logs out, there is no way to shut down the > > machine other than holding the power button or pulling the plug, and > > that sucks. > > Wait, really? It's supposed to do a clean shutdown if you push the power > button normally. That works on my hardware. If it doesn't on yours then > filing a bug report may be helpful. On modern (~15 years old or newer) PCs that support a clean shutdown using the power button, normally you'll see something like this in /var/run/dmesg.boot: acpi0: Power Button (fixed) And possibly: acpi_button0: on acpi0