From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QN4AE33HBWCxQgAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 17:38:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yHLFDn3HBWCkCwAAbx9fmQ (envelope-from ) for ; Mon, 18 Jan 2021 17:38:05 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BCA9E94021E for ; Mon, 18 Jan 2021 17:38:04 +0000 (UTC) Received: from localhost ([::1]:50874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1YTZ-0002TG-Rm for larch@yhetil.org; Mon, 18 Jan 2021 12:38:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1YTE-0002MD-Fm for help-guix@gnu.org; Mon, 18 Jan 2021 12:37:40 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:20601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1YT9-0006t5-Id for help-guix@gnu.org; Mon, 18 Jan 2021 12:37:37 -0500 X-Originating-IP: 86.247.16.87 Received: from mimimi (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 00019240017; Mon, 18 Jan 2021 17:37:29 +0000 (UTC) From: Pierre Neidhardt To: Maxim Cournoyer , Tobias Geerinckx-Rice Subject: Re: Behaviour change when closing laptop lid: it no longer suspends In-Reply-To: <87pn27l803.fsf@gmail.com> References: <87wnxfkzub.fsf@ambrevar.xyz> <87r1nnus9a.fsf@nckx> <87r1nnkuf1.fsf@ambrevar.xyz> <87a6ubf7ai.fsf@ambrevar.xyz> <87y2hunbvm.fsf@nckx> <877dpd6hph.fsf@nckx> <87turjlbzw.fsf@gmail.com> <871rens9a2.fsf@nckx> <87pn27l803.fsf@gmail.com> Date: Mon, 18 Jan 2021 18:37:28 +0100 Message-ID: <87v9buw3hj.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.193; envelope-from=mail@ambrevar.xyz; helo=relay1-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.951, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tobias Geerinckx-Rice via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.46 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: BCA9E94021E X-Spam-Score: -4.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: XQPKg/XB8OIc --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: > Hi Tobias, > > Tobias Geerinckx-Rice writes: > >> However, here our wrapping is wrong. Thanks for making me look into >> it. >> >> From upstream's change log: >> >> The action that elogind takes when the lid is closed and the >> machine is connected to external power can now be configured >> using HandleLidSwitchExternalPower=3D in logind.conf. Previously, >> this action was determined by HandleLidSwitch=3D, and, for >> backwards compatibility, is still is, if >> HandleLidSwitchExternalPower=3D is not explicitly set. >> >> Whilst we: >> >> ("HandleLidSwitchExternalPower" >> (handle-action elogind-handle-lid-switch-external-power)) >> >> always =E2=80=98explicitly set=E2=80=99 HandleLidSwitchExternalPower, by= default to >> =E2=80=98ignore=E2=80=99, breaking that intention. >> >> elogind-handle-lid-switch-external-power should not emit a directive >> if unset. In fact, all directives and all services should do that by >> default, *not* hard-code upstream's default at an arbitrary point in >> time. > > Oh, nice find! So we have something to fix. Thanks for digging this out, Tobias! Anyone in the mood to work on a patch? :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmAFx1gSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/NmUIAJ9oAIAYae2HKZhp7XHiQ9X1XXptq2T2 KFqH2AgYccXm2SMOxME9M4kp7MCcOiwY+hhsYKECISUl+8EacockkzrPPLdGv2Ss n5o8qMPMJ5+nYFiyNAoskymQdZZYC0xxikjZ7eAJq9a1BgNHtdRgc4r6aw6Oosks KK1uwWW6PfQc9W9Qu5VC3UQXNIVi2Um1ZKVS9N5OUSxjOwuU7czzgrkUpKY1rlxJ /5ZOVnccPs3KzoWsVNYfSSaYXoUTsQ+/aImhyLTKaHvPYJUqny2D/mTh/5kf4Vr+ kbKk+o7E4+UZrl1YVtxWr/mAfENzkBmNbe2onhE0XiGY9zixqakXKB8= =tcMA -----END PGP SIGNATURE----- --=-=-=--