From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 08 Aug 2022 07:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57052@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Reply-To: Cairn Received: via spool by submit@debbugs.gnu.org id=B.165994314717669 (code B ref -1); Mon, 08 Aug 2022 07:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Aug 2022 07:19:07 +0000 Received: from localhost ([127.0.0.1]:39019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKx2V-0004ar-WF for submit@debbugs.gnu.org; Mon, 08 Aug 2022 03:19:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:50308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKpiG-0000lj-9d for submit@debbugs.gnu.org; Sun, 07 Aug 2022 19:29:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKpiG-00026w-55 for bug-guix@gnu.org; Sun, 07 Aug 2022 19:29:40 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:36231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKpiD-0007T9-Li for bug-guix@gnu.org; Sun, 07 Aug 2022 19:29:39 -0400 Date: Sun, 07 Aug 2022 23:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1659914973; x=1660174173; bh=dZy+0AgKs2smMQkR8avGHqHL0RFQJvsE086V6EeZjdg=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=HRvRxd10yyxgMqi8GudYB8/nNHORHiSbLRr4r6QCvfcutGLXrUqpuMRfXmq5GWsi2 XzojhcJrry0brT9hIJn9TTe0PDLtg/eliFpqxE3L0GMSJGYFNNJseaP8E8crDWF/da LbcZmQOkC/DpjZ9aFbW4HC+CPAVp1W70OHzkuubQsDyfZUozrK1YTaIjyvt5a58dsh rqP4yHzrnyuNZ2ivBc0IYNk4vyeRV8Gdw1tIir4aIYDpwn4YAmy8jf01Xkpli3DNZ5 J2lIHkCSoHACMBQnMsjGlALJyLAtru4/+Fl2AbnNFafol3XWfe1Oe6vYxuy4ET95Ok C2ImL47ZMDEow== From: Cairn Message-ID: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f"; charset=utf-8 Received-SPF: pass client-ip=185.70.40.131; envelope-from=cairn@pm.me; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Mon, 08 Aug 2022 03:19:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f Content-Type: multipart/mixed;boundary=---------------------b3f1fe85a665e5192d75ae2b97ca4244 -----------------------b3f1fe85a665e5192d75ae2b97ca4244 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 "HandleLidSwitchExternalPower=3D is completely ignored by default (for bac= kwards compatibility)"[1] I noticed (with help in IRC) that my laptop wasn't suspending on lid close= when plugged in and charging, which I hadn't seen happen on other systems= . I now know that I can set this by configuring the `elogind-service` para= meter `handle-lid-switch-external-power`. Regardless, it seems like it sho= uld default to being unset rather than set/ignored, since that would heed = the line I quoted above. [1]: https://www.freedesktop.org/software/systemd/man/logind.conf.html -----------------------b3f1fe85a665e5192d75ae2b97ca4244-- --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsFzBAEBCgAGBQJi8Eq/ACEJEPAAT+s3Q4ojFiEErbMphMGhBA17RriI8ABP 6zdDiiO2Bw//Qq7eSgxurtTnspzB5ke/6qvsgFES/PXuO3aAFh1iHuuJwGmL 1e0/oLKPbdKHo34Da1qku3782p4hWT3EAEO6Wj5k1FZWVJdekZypS3pBmB9U kuzxCN5JloGFn2KRQiilvdA0b1Si5TkaO7f8azawh20lyFDuCpp8NfhuDYwj ncJ6PnPGb6N0v6+uZB3JMyRvrrwl//BcpAALz4kmlfJzSA+SSxcJmmAuPqN/ iYGBQw8bn3YPGuIWdA4+pnriWBEeYQC07WyO1VQ/4gulpER2pfka2FpmhDit M+F9FBSop7DW/AVCskagejum5ojkn4Gj8/RFxM+fuxZicB+9SDTpZ2eXoLVS FbFD9mZhQOKFT3goi9g0Gnztacl5ruCkno4bFevzZiyunCPsrEUsys5FtHqW +7EwcOMykavS96lSna8A6AY2z9FhGnJ1lJ62Qv4Sz02aqAplEnJOWbSS9Xvs jP64XvTsuZNgLstMB9LkvnCC9xoW4TuxhSAn9xvdgxzFW9YIGHOuxZziRdhl wogjpluanEUPOLqT+KXVhBtf9+pUhQWH2Q7IQP5jpUSoovADG93vNuQ6wb8R xDMRLdIWfpSWQynKfxkrj89zgGnM743XPXxbH1kKiDAqNRTv5NKl6/FUYsey evz3sU1gGaLS5e2kW8/4vxLrm1GEkBtCFio= =T4MY -----END PGP SIGNATURE----- --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f-- From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 08 Aug 2022 10:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.16599555236761 (code B ref 57052); Mon, 08 Aug 2022 10:46:01 +0000 Received: (at 57052) by debbugs.gnu.org; 8 Aug 2022 10:45:23 +0000 Received: from localhost ([127.0.0.1]:39326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL0GA-0001ky-Qg for submit@debbugs.gnu.org; Mon, 08 Aug 2022 06:45:23 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:24194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oL0G4-0001km-LL for 57052@debbugs.gnu.org; Mon, 08 Aug 2022 06:45:20 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M1XsN3fLkz3wJl; Mon, 8 Aug 2022 12:45:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1659955512; bh=K7o4iRFvHqfdQ+E9wZj8TJdkQR1KXlzuxYuB4eMuc9M=; h=Subject:From:To:Date:In-Reply-To:References; b=k0vBpk//yv02zNW19AolUuHauh5x+8y4+Ypfhe4RR+fceXivOmvAfkZvy+Wcero4n 2TwlSQ8f3uuQBXRBUACKH0k2JqzEDiSrpwTJSZieiCgWiMrwi73ZkBOOV+LKaxpfGO ssmzZA3PJOPxQENWME6TvphGgRXMZkGhxU6BK/Sw= Message-ID: <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 08 Aug 2022 12:45:10 +0200 In-Reply-To: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Sonntag, dem 07.08.2022 um 23:29 +0000 schrieb Cairn: > "HandleLidSwitchExternalPower= is completely ignored by default (for > backwards compatibility)"[1] > > I noticed (with help in IRC) that my laptop wasn't suspending on lid > close when plugged in and charging, which I hadn't seen happen on > other systems. I now know that I can set this by configuring the > `elogind-service` parameter `handle-lid-switch-external-power`. > Regardless, it seems like it should default to being unset rather > than set/ignored, since that would heed the line I quoted above. I think you're misreading that line. What it states is not that "HandleLidSwitchExternalPower" is ignored by default, but "HandleLidSwitchExternalPower=" is ignored by default, i.e. there will be no value unless one was provided (whichever semantics "no value" has later on) is only confusingly explained later on. IMHO the Guix behaviour of always setting a value is the right one (explicit is better than implicit after all). As for the default values, one might disagree as to which fits, but I don't think ignoring lid switches while powered is harmful. Cheers From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: bokr@bokr.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 01:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.166000998929733 (code B ref 57052); Tue, 09 Aug 2022 01:54:01 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 01:53:09 +0000 Received: from localhost ([127.0.0.1]:42185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLEQf-0007jU-9y for submit@debbugs.gnu.org; Mon, 08 Aug 2022 21:53:09 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:42884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLEQc-0007ix-3E for 57052@debbugs.gnu.org; Mon, 08 Aug 2022 21:53:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id B507663116; Tue, 9 Aug 2022 01:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1660009978; bh=ekXDdkFkV7f1lP45Ftmh7jGnro3q396k1Cwo3Fnyy5Q=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=iYovEPiBVizbKz8bYg/VjUaD3K6FT3/D2dIAsyDiEGDUlNBI+BAtQwLvRrr+HgyyH p1b62BhrlgCuPXwF4C43d9Url3YcnAJA7hqj/v6KW4bkXKpp2tsnxu4lldRFPGc1eu hjgiTx3CQYQArs7JnEXWQZGiheScNzjDjN7Yx9ikD5p/47vKWVEABPqSfMLmaXB2P8 INZ/hjxq8Hb07SQQNnvTBKfagS5OZkbz+qIrWndEKwIQ/W+zzDinesIzjX8YU5uzPu raTmCDq2R87h0w7BLvobJoHcoMf938r55Y6mEY440qqCNRzNjk0yL64zjrx/TUH/TN Osik96vgZkVlQ== X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3UEvXcCW3n08; Tue, 9 Aug 2022 01:52:58 +0000 (UTC) Received: from localhost (m90-129-208-143.cust.tele2.se [90.129.208.143]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id C3A2F62F88; Tue, 9 Aug 2022 01:52:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1660009978; bh=ekXDdkFkV7f1lP45Ftmh7jGnro3q396k1Cwo3Fnyy5Q=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=iYovEPiBVizbKz8bYg/VjUaD3K6FT3/D2dIAsyDiEGDUlNBI+BAtQwLvRrr+HgyyH p1b62BhrlgCuPXwF4C43d9Url3YcnAJA7hqj/v6KW4bkXKpp2tsnxu4lldRFPGc1eu hjgiTx3CQYQArs7JnEXWQZGiheScNzjDjN7Yx9ikD5p/47vKWVEABPqSfMLmaXB2P8 INZ/hjxq8Hb07SQQNnvTBKfagS5OZkbz+qIrWndEKwIQ/W+zzDinesIzjX8YU5uzPu raTmCDq2R87h0w7BLvobJoHcoMf938r55Y6mEY440qqCNRzNjk0yL64zjrx/TUH/TN Osik96vgZkVlQ== From: bokr@bokr.com Date: Tue, 9 Aug 2022 03:52:43 +0200 Message-ID: <20220809015243.GA19707@LionPure> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Liliana, On +2022-08-08 12:45:10 +0200, Liliana Marie Prikler wrote: > Am Sonntag, dem 07.08.2022 um 23:29 +0000 schrieb Cairn: > > "HandleLidSwitchExternalPower= is completely ignored by default (for > > backwards compatibility)"[1] > > > > I noticed (with help in IRC) that my laptop wasn't suspending on lid > > close when plugged in and charging, which I hadn't seen happen on > > other systems. I now know that I can set this by configuring the > > `elogind-service` parameter `handle-lid-switch-external-power`. > > Regardless, it seems like it should default to being unset rather > > than set/ignored, since that would heed the line I quoted above. > I think you're misreading that line. What it states is not that > "HandleLidSwitchExternalPower" is ignored by default, but > "HandleLidSwitchExternalPower=" is ignored by default, i.e. there will > be no value unless one was provided (whichever semantics "no value" has > later on) is only confusingly explained later on. > > IMHO the Guix behaviour of always setting a value is the right one > (explicit is better than implicit after all). As for the default > values, one might disagree as to which fits, but I don't think ignoring > lid switches while powered is harmful. > What would you advise if there's no battery power, or for some reason one is running on plug power only, for worriers that the bulding power might fail? I'd guess a power brick would power for some milliseconds and wonder if this is detectable, i.e., to do something at least to leave a goodbye world message somewhere if the machine was not suspended with sufficient state to resume after power restore? Buy a UPS, and don't go away long enough for that to run out? :) > Cheers > -- Regards, Bengt Richter From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 06:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bokr@bokr.com Cc: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.166002685925752 (code B ref 57052); Tue, 09 Aug 2022 06:35:02 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 06:34:19 +0000 Received: from localhost ([127.0.0.1]:42347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLIok-0006hI-R7 for submit@debbugs.gnu.org; Tue, 09 Aug 2022 02:34:19 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:43871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLIoj-0006hB-F9 for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 02:34:18 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4M23FK5TClz3wV7; Tue, 9 Aug 2022 08:34:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1660026854; bh=OzEAi0kHWLqtSTGagOEr7RY1lvct2qOT/BjIf+9Sz9M=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=W6Kd50R1gIpdL/S7JWrUNiHs86G4fJfKLzh1DmPhBqJhe2mG2O069UAF08eY0z+wO 5l3xtUIc7lKNxLOs7TuOdHhz5jiYSMnMqxSsdefsPwT/Ge3UoxoWssV45Tx14E3ePa DU3HQyqGDlTy2IGzvdOnhJfwLJc60g77wxLllcUQ= Message-ID: <2427493dd6757a755b5ee6d1818da45b030af337.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 09 Aug 2022 08:34:12 +0200 In-Reply-To: <20220809015243.GA19707@LionPure> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> <20220809015243.GA19707@LionPure> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -0.4 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Dienstag, dem 09.08.2022 um 03:52 +0200 schrieb bokr@bokr.com: > Hi Liliana, > > On +2022-08-08 12:45:10 +0200, Liliana Marie Prikler wrote: > > Am Sonntag, dem 07.08.2022 um 23:29 +0000 schrieb Cairn: > > > "HandleLidSwitchExternalPower= is completely ignored by default > > > (for > > > backwards compatibility)"[1] > > > > > > I noticed (with help in IRC) that my laptop wasn't suspending on > > > lid > > > close when plugged in and charging, which I hadn't seen happen on > > > other systems. I now know that I can set this by configuring the > > > `elogind-service` parameter `handle-lid-switch-external-power`. > > > Regardless, it seems like it should default to being unset rather > > > than set/ignored, since that would heed the line I quoted above. > > I think you're misreading that line.  What it states is not that > > "HandleLidSwitchExternalPower" is ignored by default, but > > "HandleLidSwitchExternalPower=" is ignored by default, i.e. there > > will > > be no value unless one was provided (whichever semantics "no value" > > has > > later on) is only confusingly explained later on. > > > > IMHO the Guix behaviour of always setting a value is the right one > > (explicit is better than implicit after all).  As for the default > > values, one might disagree as to which fits, but I don't think > > ignoring lid switches while powered is harmful. > > > > What would you advise if there's no battery power, > or for some reason one is running on plug power only, > for worriers that the bulding power might fail? > > I'd guess a power brick would power for some milliseconds > and wonder if this is detectable, i.e., to do something > at least to leave a goodbye world message somewhere if the machine > was not suspended with sufficient state to resume after power > restore? > > Buy a UPS, and don't go away long enough for that to run out? :) I do think that we're starting to split hairs here, but for the sake of the argument, elogind should be able to detect whether or not the power supply it's attached to actually delivers power. If your laptop doesn't have a battery, then pulling the plug on it has the same effects as pulling the plug on a regular PC, there's nothing you can do in elogind to make that a safe action. Cheers From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 10:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler , "57052@debbugs.gnu.org" <57052@debbugs.gnu.org> Reply-To: Cairn Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.166004091125145 (code B ref 57052); Tue, 09 Aug 2022 10:29:01 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 10:28:31 +0000 Received: from localhost ([127.0.0.1]:42642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLMTF-0006XJ-BL for submit@debbugs.gnu.org; Tue, 09 Aug 2022 06:28:31 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:21121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLIwz-0006uC-Vw for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 02:43:05 -0400 Date: Tue, 09 Aug 2022 06:42:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1660027362; x=1660286562; bh=wMOx0VBrd52FJaVvHIw6IFvOnAe19a9axFA5EkKJNdc=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=sWU7ebpWxG/M9Qu4WjSXOOwGKSotda9k3ISUVtYzI4TeS2UyqYRQ81oX4PVuhpRtc y3RPx0QaT0K86r4vPG9uIu4WCbkv0P/NNxDsFzztygGaQX33TQEnDkL0o5w+nm2O3F H2ciwc4EEZjSTkiwztgIpUvJRuI90hupPoE1y6jyAPxK0vzuflEQVBy5uAXtmeUONX rdZ+b83M8EFuOGwvfpPcoVllVmcZJBCwJ2kOa8CXE5oVwNMgGi/rREXcwQTx4gamuU 7krJ3VZYM2+yveIvuT6wDQ7GB1agHu8NkGt8izVJLhJO+tzZuByf+otVv1kbCqUWO4 7sVDconxQuPqA== From: Cairn Message-ID: In-Reply-To: <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------5f132edede3abd6737978fef7494e8ce3c6c311354f9a50015cc81782300a220"; charset=utf-8 X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Tue, 09 Aug 2022 06:28:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------5f132edede3abd6737978fef7494e8ce3c6c311354f9a50015cc81782300a220 Content-Type: multipart/mixed;boundary=---------------------dde302c70d34ce0e3683f0fa99d18fcb -----------------------dde302c70d34ce0e3683f0fa99d18fcb Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 (Resending this email, since I forgot to add the debugs.gnu.org address as= a recipient) > IMHO the Guix behaviour of always setting a value is the right one > (explicit is better than implicit after all). As for the default > values, one might disagree as to which fits, but I don't think ignoring > lid switches while powered is harmful. That's fair! Well, if explicitly setting variables is the standard, then I suggest chan= ging `handle-lid-switch-external-power` to the same value as `handle-lid-s= witch` ("suspend"). I agree that the current setting isn't harmful, but th= is change would match the default, unconfigured behavior of `elogind`. It = would also be more consistent with other distros' defaults from what I've = experienced. -----------------------dde302c70d34ce0e3683f0fa99d18fcb-- --------5f132edede3abd6737978fef7494e8ce3c6c311354f9a50015cc81782300a220 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsFzBAEBCgAGBQJi8gG7ACEJEPAAT+s3Q4ojFiEErbMphMGhBA17RriI8ABP 6zdDiiOVIg//fwgLw6kpCuKUBRjqt9IhSMOkH4vmp+yKBY3CAge9D41Tc5/V VPl7OmJVRKcncPBohdmEOMegm6crkdJW+J3+zeFrpnvsCnVwoFUJfk8Eg1qT ZDIAJKPCatsVfShiCO7t5l46Rpof5rUHOCVuYo5T5NGTF/xTCwqPYo9JoOQg /AMtRH7tGRbM09nkDK5xkLaR2qAKOIOFt8kfZ4Hi+/JSTN/HrdMas0G0NJke +Sv2tsd+hk/BfbXScPkiZvN1vGrjfm/O3LlDM4LDYEA+FaM82mYybAyh7Stj Rd/leRyZj6aZ1eMvzxJXT1rrRbrVX08+tLPN6G9+dQxnU4juOAgNOvpKLgOH L3vgCALZaFJQWqqUmb2kqH8huhKWdoce6YWHtQ7dOBaII+u6YXrgxNPVXNXj 9Px47CdaOxZ/rDYnWkLlexxxOhJ7OBaqAfVnIx4iiZMC8JczThN3SaUgCRXW s2J8BHdq5FHti0TvV/XnjGLJJMz/Uy/Bo9mte9plVxhU6iF88M7eID5TwS80 J1G5kFGH3Ri1kFb52IM/UZshkoTboqarjqoi/RpY6O0lz4w42hB74nanFAZS XJTTQguTBiNUffH+Sp4BsHFrerMNX9FHo45N5MdxZdnSQg4LAu5EQN2kojMy hKQCJsdm6B1c3RLFDFl2Zmdantyv/tvs8jo= =U0A8 -----END PGP SIGNATURE----- --------5f132edede3abd6737978fef7494e8ce3c6c311354f9a50015cc81782300a220-- From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 13:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.16600531555183 (code B ref 57052); Tue, 09 Aug 2022 13:53:02 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 13:52:35 +0000 Received: from localhost ([127.0.0.1]:42916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPet-0001LV-6v for submit@debbugs.gnu.org; Tue, 09 Aug 2022 09:52:35 -0400 Received: from mail-qt1-f170.google.com ([209.85.160.170]:36453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPeq-0001LH-MT for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 09:52:33 -0400 Received: by mail-qt1-f170.google.com with SMTP id h22so8779072qta.3 for <57052@debbugs.gnu.org>; Tue, 09 Aug 2022 06:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=K+okVWeGP3Pfdje1tmFHXG71XthPp4FzR51aKv9liqM=; b=BjKTfCoTNuf/NU7DVhgNW/jl2XxybAaW+lhvR2T00sF/1F+BWD/JUusWxM+kGMdTxE bkpkUsg9oS7M1T9Sv+MehXTiVgjWt3b9y5kH/1RoNXl8X+j7xbIR+hsBN4SPQ06i4PfR oF7MiLl/jmYM6VI4NM4pDyMh6+gQYF5WcoF/AXldLa+p2M2tAwFx/+qqNstXK7rHgWaS L2+SLbf37yOXdVRXI5Z/OIZJMveUs9gkknwj9Tweh09JHRlaPE6fY0KaU5hXkgN/oAcr Zko415BPEr811ZX4rqmpFsuRu6huWOPF6sR8DZYRfGfFX6nPp0yb1hwX1aYAXj5zcUmN ooHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=K+okVWeGP3Pfdje1tmFHXG71XthPp4FzR51aKv9liqM=; b=7VcsXbQpSV2BwrVj+Z06RDTbT0pg/2gSS4rMQKkldsCne32n+WOMdDYUsDsl4Ru3Um +6OvQwyYYaIzIHloStx1dDGzmrvoGjGRgOniKJYN6HokCPX/+IBrdUsWKenKkfByfRUH 7O0ioerPsgsgLsakq52N1QQt2LId7P1nV2oMGRXJTCTQSDliKOBFDf7t6zpUD5DtkWj3 4/0qKahcfGdhu7ZCX4VhFqUq5EV3HHO9nglrRCgcesmvAgf3KtQtxfRs3GAjKaazfwTB Hu1l2Yjk3zOqFcysjClk0TLJBfbOmptgeT5XoSiP+cksxHNvJ+IZXeziT/ACZcI2PUsW ywaA== X-Gm-Message-State: ACgBeo1LnRQagOrRFBiHkz+rWEq9y7BE8Z/9FS234UKybCKeSM2hdFk/ QNBMk8s4Jcp0e7ZvXoOs9gQChERUWAo= X-Google-Smtp-Source: AA6agR5Sq5wuJJIWnDFcVedy5q/8rbhjik7A7CiknkI+qNmMKsXnlskTtP3avH1Xtz7oWHVcL2UQxw== X-Received: by 2002:a05:622a:1a11:b0:341:4c47:8cc2 with SMTP id f17-20020a05622a1a1100b003414c478cc2mr20348025qtb.175.1660053146730; Tue, 09 Aug 2022 06:52:26 -0700 (PDT) Received: from hurd (dsl-10-135-11.b2b2c.ca. [72.10.135.11]) by smtp.gmail.com with ESMTPSA id j9-20020a05620a288900b006b5d8eb2414sm11259179qkp.120.2022.08.09.06.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 06:52:26 -0700 (PDT) From: Maxim Cournoyer References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> Date: Tue, 09 Aug 2022 09:52:25 -0400 In-Reply-To: <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> (Liliana Marie Prikler's message of "Mon, 08 Aug 2022 12:45:10 +0200") Message-ID: <8735e5plra.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Liliana Marie Prikler writes: > Am Sonntag, dem 07.08.2022 um 23:29 +0000 schrieb Cairn: >> "HandleLidSwitchExternalPower= is completely ignored by default (for >> backwards compatibility)"[1] >> >> I noticed (with help in IRC) that my laptop wasn't suspending on lid >> close when plugged in and charging, which I hadn't seen happen on >> other systems. I now know that I can set this by configuring the >> `elogind-service` parameter `handle-lid-switch-external-power`. >> Regardless, it seems like it should default to being unset rather >> than set/ignored, since that would heed the line I quoted above. > I think you're misreading that line. What it states is not that > "HandleLidSwitchExternalPower" is ignored by default, but > "HandleLidSwitchExternalPower=" is ignored by default, i.e. there will > be no value unless one was provided (whichever semantics "no value" has > later on) is only confusingly explained later on. > > IMHO the Guix behaviour of always setting a value is the right one > (explicit is better than implicit after all). As for the default > values, one might disagree as to which fits, but I don't think ignoring > lid switches while powered is harmful. It can be. I have a Lenovo T430s with a partially discolored LCD from heat after I left it closed in a backpack for a couple hours, thinking it would have suspend (it was not). That would not have happened with the value supposed to be default (which matches the behavior used on most other systems). So I'd favor having the default to suspend on any lid close. Thanks, Maxim From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Liliana Marie Prikler Cc: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.16600534366999 (code B ref 57052); Tue, 09 Aug 2022 13:58:01 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 13:57:16 +0000 Received: from localhost ([127.0.0.1]:44401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPjP-0001op-Vo for submit@debbugs.gnu.org; Tue, 09 Aug 2022 09:57:16 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:35662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPjM-0001oY-0V for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 09:57:14 -0400 Received: by mail-qt1-f178.google.com with SMTP id h22so3282657qtu.2 for <57052@debbugs.gnu.org>; Tue, 09 Aug 2022 06:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=EsOuPrI2rKpH6ijkJB14Z4WeR8J0I2tQa4if3UySp9s=; b=XWdQuABI42D26G3C0fFHgkN0URKjoDfznp33eoqRmmy1s9qScTzcGGhmF/lqouUf8Z 5bKDVfG+87b5q+3GF33vwyADgR8QsamD+7DemzWb9v2YeKEgDG/ACctN4bVwOu/wguWt l4EEz6YVnVYTj71MRJKAqUV8bfwS5BS6pN0gdc8kEAiweIWFvG6z/EQ3OPNSx4pHjtUV oCMRwCwIvBCARzzxVyAqB+4bWMQ6Sqa5cY38wTO2hiPMYjTq95G1wkTu3CAHRfs15TJE me+iB+4bCi9pcoG7ujqDFqE3/A6XlqdCETN2ZC55vJA6KX6Q2A4ZloqOPXA2r06dTrDB GanA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=EsOuPrI2rKpH6ijkJB14Z4WeR8J0I2tQa4if3UySp9s=; b=oQ9OiuYo9FJVl4qy7nEbGNCQB9F+pYxu7y9q3vRci73/+urGVoHd8b7DLvpzmJxwBj pUWUUFnBCyZO9HdoR/LBBOvmy37i+jRSy2r+kyoWM/l4lBH9J4wVbsaqQrWeDfgXuNHW jaX+DnlkDaubHJtM0mXiQ5uTiXSM4HTeIuUC/3IqDvPlvmSe0d0iBipPL7P9AKHZFNjr kTs9JMtiwyMKzI5OmVSDioBUMcjNP9/O8ghsENeIpwl124rr35ZoefS202uHsmXh6vfC MRGAs88QePt+dF3Z9DxN5CjTqHgRjs5xXyvZMFZj02bu5MktC3GRPe/P/0v0upGOtdcA opNA== X-Gm-Message-State: ACgBeo3sRlcRuzxQsqfiJCRcTAEp2JhxgJ8pRpynGW2RjC1yjKtxOhbE 7/s8ly61C0gVbVRTMuFl6WBOHRlswsU= X-Google-Smtp-Source: AA6agR5kImR68tn+jEYkEoEzOk3ImqpM6y+FvDVtDaWTHJJSyYkEkWE94LS6TqsTkq96B6MzwG8DJA== X-Received: by 2002:a05:622a:c7:b0:343:2e72:8416 with SMTP id p7-20020a05622a00c700b003432e728416mr1759426qtw.92.1660053426410; Tue, 09 Aug 2022 06:57:06 -0700 (PDT) Received: from hurd (dsl-10-135-11.b2b2c.ca. [72.10.135.11]) by smtp.gmail.com with ESMTPSA id u4-20020a05620a430400b006b5988b2ca8sm11442519qko.40.2022.08.09.06.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 06:57:06 -0700 (PDT) From: Maxim Cournoyer References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> <8735e5plra.fsf@gmail.com> Date: Tue, 09 Aug 2022 09:57:05 -0400 In-Reply-To: <8735e5plra.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 09 Aug 2022 09:52:25 -0400") Message-ID: <87wnbho6z2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Maxim Cournoyer writes: > Hi, > > Liliana Marie Prikler writes: > >> Am Sonntag, dem 07.08.2022 um 23:29 +0000 schrieb Cairn: >>> "HandleLidSwitchExternalPower= is completely ignored by default (for >>> backwards compatibility)"[1] >>> >>> I noticed (with help in IRC) that my laptop wasn't suspending on lid >>> close when plugged in and charging, which I hadn't seen happen on >>> other systems. I now know that I can set this by configuring the >>> `elogind-service` parameter `handle-lid-switch-external-power`. >>> Regardless, it seems like it should default to being unset rather >>> than set/ignored, since that would heed the line I quoted above. >> I think you're misreading that line. What it states is not that >> "HandleLidSwitchExternalPower" is ignored by default, but >> "HandleLidSwitchExternalPower=" is ignored by default, i.e. there will >> be no value unless one was provided (whichever semantics "no value" has >> later on) is only confusingly explained later on. >> >> IMHO the Guix behaviour of always setting a value is the right one >> (explicit is better than implicit after all). As for the default >> values, one might disagree as to which fits, but I don't think ignoring >> lid switches while powered is harmful. > > It can be. I have a Lenovo T430s with a partially discolored LCD from > heat after I left it closed in a backpack for a couple hours, thinking > it would have suspend (it was not). That would not have happened with > the value supposed to be default (which matches the behavior used on > most other systems). > > So I'd favor having the default to suspend on any lid close. For the record, this was noticed and discussed more than a year ago, see Message-ID: <871rens9a2.fsf@nckx>. It had fallen into the cracks, it seems. Maxim From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57052@debbugs.gnu.org, maxim.cournoyer@gmail.com, liliana.prikler@ist.tugraz.at Cc: cairn@pm.me X-Debbugs-Original-To: bug-guix@gnu.org, Maxim Cournoyer , Liliana Marie Prikler X-Debbugs-Original-Cc: Cairn , 57052@debbugs.gnu.org Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.166005551610216 (code B ref 57052); Tue, 09 Aug 2022 14:32:02 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 14:31:56 +0000 Received: from localhost ([127.0.0.1]:44421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLQGy-0002ei-3y for submit@debbugs.gnu.org; Tue, 09 Aug 2022 10:31:56 -0400 Received: from tobias.gr ([80.241.217.52]:35056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLQGv-0002eX-4V for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 10:31:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=oZPWZjDSXQrJ5 bJhsuQdtwbYIWMbkA8A/5ZToza9RUE=; h=references:in-reply-to:subject:cc: to:from:date; d=tobias.gr; b=aZpZ81/UY/LsIMXDYfK9NIifTcFZfRTgWok22iEy9 8RcVIagELysb0E1Zy+cCgTC2/gpSU525PmgqTa+oUMYdL8nJx8Ze2p/SFwR64hDD0qU5zd IehMlTtPQpbav+jjwEGwEg0O6A3yWBdSkIaNr7wWeq1/XLWJ1FmBTW4/jhghlSlqLmvFQ+ hrA0NA4jfmcBXi1oqEPGcSDT4BNQ1C7X45a5ZspqR6N6+Ne2TnRcAEnFje/iS4hP+iYyKZ N9AeJGVqXjQB3KqZgtv+iQYukBTikLTuBxSPPXkazN3uDQrBue0HYh8iyFFc8j2GoFYpBu fCy+/Cx7C5DVQ1T1AznHg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 1d32b338 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 9 Aug 2022 14:31:49 +0000 (UTC) Date: Tue, 09 Aug 2022 14:31:49 +0000 From: Tobias Geerinckx-Rice In-Reply-To: <87wnbho6z2.fsf@gmail.com> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> <8735e5plra.fsf@gmail.com> <87wnbho6z2.fsf@gmail.com> Message-ID: <6AE7F282-3FD0-415F-A460-9AB1A5539A13@tobias.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Autocrypt: addr=me@tobias.gr; keydata= mQINBFVks2ABEACjGBPhWf/qx0L9OhEIrAFTimo5dHa1FLy0AHaHvxmwYSIdJmERYGiNle1rcOvw cFRtu8KJUsrs27Vgoso3qHJpghVitUUf0v3ZuXQT9kfuQLz1Y8pyMzHwVFMLiJVj4Z3y7CJk+xyZ cpSAMbyPINbFVEhsK+z+8ojVGuaiucZkib6b67ySG6Pp1bon8xVvosj71ZRjfXh1t4X8laWO7fQq itT9lmc6DxbE/4vIhR+Vb2MblaA+DyHoNHGGao89h4CO99lfzWzsux41DnEG9d317sJRQTig6Wja EKHXZRA9FbfogD4SDa2uQYCpTJpsVjAyZyu2fuJ+t0zJJ+Ai9qDY87P6hOyd+/n8Eh2Y4TbxJiDo XUT72XY/RfPH1qrMIP3EI/NNL4LQeGG1n+625k3OVWcRVXG2vRrB6qurLmGkLEmjXWCFD9cCRGfH LeajLm9sM+t/nZPZ3btetcmK9tM2EwivyLUNhrTk73UUnI4CSAzdO2cISqo9zSMtFgj2alqd2fOR s7CKfEn+5PquruDbp/Ej7dOOrjgWSCXLDDYXRrtaKrLz/dhqq5ftFYi9tUTTQecFotM08fPtu+Kw JMP2ySHCkUqp0GvrUCeSRPAJZsmJrd535y+LlRhnqb0mbG4dgMa8A6xhkFYugnqldy/q7kX1EmRI 686N7bA6fh1MCQARAQABtCRUb2JpYXMgR2VlcmluY2t4LVJpY2UgPG1lQHRvYmlhcy5ncj6JAlIE EwEKADwCHgECF4ACGQECGwMWIQT1vFU0w28Ah7OdNu8cncT+udt8SwUCXpe0rAYLCQgHCgQFFQoJ CAsFFgMCAQAACgkQHJ3E/rnbfEu5IhAAk+0BW/twLmx1xMmeXn+I7Ne6SG3++0TRBduEaGWV3n59 lX6XPZUQdAPpS4uy0H+c90Owkw+aWUEwfyOWphrxZRtR2cCOP/3Pxj3Vgtz5RkY4u27lMj15jqa/ p7l2l256ZKJOegr9TvOWtkhMp5lxeVHT6f/44Kv/r/8mMCgSnLXYrEWPE462xI+mIJOanHLJb6No f2xLRCvXoLLp7Yejjv1dwOO71R9PMRhtNy46pZM1ylQ++UTkeSocJw4aNtiu0DHOkX9AlNBkutIx x07RpO+MqJKlzzLeQiC/fE5+dR2itRONopwXAqN3MuT7MonQo5XifBn+VK8i9xZWTXZDkWItWtCC 8oIj4zwxwFWiTmMwwSbI3Wdd/11Zw3CLc4Gd0M6NVgvAnuErQXSgr4lrWhZcncvi4L6EJTc9AUSa 8UWPF+S9t+CHTukpJmcYnsccMkOBhT7OZlmWBsylrYK/JTRWqgWSHWdSKmOuLK+MGDneOZEHkEcf jeXRWvmG7MSU5tE/p7NDLIg9vkvhQV9b0q4OtY65uNWbRe2QRJaYMDcYUAeSZzivRa8VaoVen6tb FvH44zpCxubn23ABl9YIzwvJC++r+H2qLdLpy0cfITiZadZ74Ae0aosNw7XARS6OY+A03BfXyPiI 2oW0jf/PdH9sh2mQrQxIQJ5cZz6Z3X0= X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >For the record, this was noticed and discussed more than a year ago, see >Message-ID: <871rens9a2=2Efsf@nckx>=2E It had fallen into the cracks LOL=2E I'm the one who asked Cairn to report this=2E I didn't remember p= ublicly reporting it, I only remembered noticing it and not fixing it, and = didn't want it to get forgotten 'again'=2E Sorry for the noise! Strongly disagree that the current Guix behaviour makes any sense, let alo= ne better! That sounds like posthockholm rationalisation to me=2E If peop= le want opinionated variants, those can be written on top of a service that= properly exposes upstream behaviour=2E Kind regards, T G-R Sent on the go=2E Excuse or enjoy my brevity=2E From unknown Mon Aug 18 08:26:32 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57052: elogind-service specifies a variable that's ignored by defualt Resent-From: Cairn Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57052 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "57052@debbugs.gnu.org" <57052@debbugs.gnu.org> Reply-To: Cairn Received: via spool by 57052-submit@debbugs.gnu.org id=B57052.16600618364844 (code B ref 57052); Tue, 09 Aug 2022 16:18:02 +0000 Received: (at 57052) by debbugs.gnu.org; 9 Aug 2022 16:17:16 +0000 Received: from localhost ([127.0.0.1]:44599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLRut-0001G4-Me for submit@debbugs.gnu.org; Tue, 09 Aug 2022 12:17:16 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:60323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLQRT-0002uz-Rs for 57052@debbugs.gnu.org; Tue, 09 Aug 2022 10:42:48 -0400 Date: Tue, 09 Aug 2022 14:42:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1660056161; x=1660315361; bh=jsSOFpYrxlLsLCqnzodK1HSZLKjjIhbLPoxFv8gu6VU=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=WGCFe95iJPnX6MvPE3Dktdy4/2nE0q6D27EDEQN0mPhkNAxYMe87azsuWMVjLWgN+ +SxUwWwbgEhozwgW/wlx05GsQAc5eht9QKRrvcZDR+BjsDbrB+9cQlx6+QJTxt7BZT i4KyF0kmDK6NTm5eA6HAJDWoT/KlXQizkqbRRuXAqCCxQB2zMSVd4femn+llqeVtlg gPlS9YEPLBBl59B0slk+Q59Z1VR10GIoqZEIZadms0RijRWEibh/C4n1sgKOr/TcQk rl2NiUri2u3DpOuLIteP02/dOP9fDBLoXZfXa2OHhBDj3sGzpjSWsrjQb0QNRc11uE ODBoVTLAXbA8w== From: Cairn Message-ID: In-Reply-To: <6AE7F282-3FD0-415F-A460-9AB1A5539A13@tobias.gr> References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> <8735e5plra.fsf@gmail.com> <87wnbho6z2.fsf@gmail.com> <6AE7F282-3FD0-415F-A460-9AB1A5539A13@tobias.gr> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------667ad837f62d79a4f154bd9420a2dec5b408548b6a4c9478b8c5745227422bc3"; charset=utf-8 X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Tue, 09 Aug 2022 12:17:14 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------667ad837f62d79a4f154bd9420a2dec5b408548b6a4c9478b8c5745227422bc3 Content-Type: multipart/mixed;boundary=---------------------1a1349f75216956bfeca2501709bb785 -----------------------1a1349f75216956bfeca2501709bb785 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 Would it not still be explicit if variables that should go unspecified wer= e written out, but not given a value? Maybe I'm misunderstanding the point= of explicit values though. -----------------------1a1349f75216956bfeca2501709bb785-- --------667ad837f62d79a4f154bd9420a2dec5b408548b6a4c9478b8c5745227422bc3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsFzBAEBCgAGBQJi8nI+ACEJEPAAT+s3Q4ojFiEErbMphMGhBA17RriI8ABP 6zdDiiP3vA//WnNA3gupByzOUOxnIgzIMNqpEKKHXl5oAEEeh9ZBAi5q1Tli WCjWeMqUknZJa0BlnY2VOZ4jWQ9XaBLCE5zd+Am9hJ3nCs7Kq4llzQjB4kIE VFMN3U3KsWIGLbtAABqCqDhWJ9L0Q31cRNKhLJ8Jc5xc89hvYpZdNO944roe pSk8TCwCvemzX0nOZiEQ4Y8ByOcYTV7izBKNcYalD1OLSJDfmRw//gfjoUZH OrhCFxobLqdlprFrKq++H4aT9jpt4mI0bJOJyxjc0HSu5kWY/Taxqy8X9rWc 7rHJjBzno3paULcwAZz/mtECwycwpvDUDSU0ATudFobId6ZpTIAIr7LqkPhL QdxCjwcxKVbdYzDavOhcosiMuARA2sn2ysmiUdTyWYKlIB9lNS+ZLj0Q6RSF rLMdk8Q0DIB/Ftm8uhlqgNsXFXkoV08e++uFNjmS07PNSS6hjlkQxYllsY26 WUK6mpLzv4Z7o9eula/OCFeVrOfYggKHf9IvgCBvZDG++5eYJNfddiJBRq1w HNobDI/Q1AEdEXKrzTaC86S49N31PyxIBVJ84+A7QXPdJy3aVukXxo7JPU3p g2OMfFH58MVNtdKRtWYvF6IIBUrgrZM1RF/w4Sw85BLt/ynWFEA+O/mXY7Oj qpF5kn8vttevozkgAfAkO8+6eK+tEXpq7AA= =RKgr -----END PGP SIGNATURE----- --------667ad837f62d79a4f154bd9420a2dec5b408548b6a4c9478b8c5745227422bc3-- From unknown Mon Aug 18 08:26:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Cairn Subject: bug#57052: closed (Re: bug#57052: elogind-service specifies a variable that's ignored by defualt) Message-ID: References: <871qton25x.fsf@gmail.com> <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> X-Gnu-PR-Message: they-closed 57052 X-Gnu-PR-Package: guix Reply-To: 57052@debbugs.gnu.org Date: Wed, 10 Aug 2022 04:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1660106342-5658-1" This is a multi-part message in MIME format... ------------=_1660106342-5658-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57052: elogind-service specifies a variable that's ignored by defualt which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57052@debbugs.gnu.org. --=20 57052: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57052 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1660106342-5658-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57052-done) by debbugs.gnu.org; 10 Aug 2022 04:38:44 +0000 Received: from localhost ([127.0.0.1]:45766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLdUR-0001Sl-W5 for submit@debbugs.gnu.org; Wed, 10 Aug 2022 00:38:44 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:38644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLdUP-0001SN-Dl for 57052-done@debbugs.gnu.org; Wed, 10 Aug 2022 00:38:42 -0400 Received: by mail-qk1-f172.google.com with SMTP id b24so3917356qka.5 for <57052-done@debbugs.gnu.org>; Tue, 09 Aug 2022 21:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=pzokrEkKAbSsSQwg8iWE4BtHHgc7BGZstBNQektonOA=; b=A133RQRG3VyveW2oR7J5Z4K9SaGEwrfXsEofBm7O5IUlHHbjV0wNFyqakHjOvQ5odS iwY3inqnL/1hYjzoA6CK8tKh6JeHdGEYl6I2YFtPDNimVlHKVVWKoq3S/BbjVvUApfVc PU6SBKPJud/zt9URgm1jzHwaWlo5YcpktAhcVnMVyD51+o3/YOmTzbyE55rCdu4R5nCA V3gjhYWIu/6i0VemgPbLLGfguSj5DIRD50uLw7WyYrg9np6mNZl1f3Dafa5UfFH/5cVh C+u9BbdvzWuR/FmjHBX7u6SubmzQ/bCobZ8CuKc195mzJSjnCdZUdv+pYO8o1IfokfJJ tebQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=pzokrEkKAbSsSQwg8iWE4BtHHgc7BGZstBNQektonOA=; b=Kxoubf6wAnj69jUf7+eHomF6DoZ98PgpL7ThctIEI0zxInLfZY0Z4QBBVh9aAES1Xh WNUe3BOCyZC0aZsyXDBPUVbNXsiW4wD0l25RqRcWzGYlaNTb0h+zCrwEqm6UCdYKPGI2 ZKSmRND7KTD0/f+t/+lctKolREiBI/fJgW58qGXXsr1VBQHmYzVzt7ODJhvpwP8KwvNm AGVmKZggheR8rDRNvaOufG+OeduKgJFjvUMPg3b3qZ9Pjx4I4HVN0q9rZdAPhypjXIFV 4X7aPFZNnfH8OR/jGdR/NSFAVTo7J7cbecQNaODAEcw+GBa99gNM4S8rQViYpBGIlAqM RUYg== X-Gm-Message-State: ACgBeo1xMFw3wZcAQ6+31IleKjZtG9WdZsMHwRcx4c6/BGaK8olTd1l8 8oE67HY6Ng7foKorxrMSe48= X-Google-Smtp-Source: AA6agR4Zy+w9eOIs7WtnXyKs6FboO+tGewrDK22FiKfE0OY3P1KVTSi+sJ0rG1Kn/7ZNF+xKASB3EA== X-Received: by 2002:a05:620a:4256:b0:6b6:63a3:7289 with SMTP id w22-20020a05620a425600b006b663a37289mr20621118qko.39.1660106315740; Tue, 09 Aug 2022 21:38:35 -0700 (PDT) Received: from hurd (dsl-10-135-11.b2b2c.ca. [72.10.135.11]) by smtp.gmail.com with ESMTPSA id c19-20020a05622a025300b0031e9ab4e4cesm12329354qtx.26.2022.08.09.21.38.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 21:38:35 -0700 (PDT) From: Maxim Cournoyer To: Cairn Subject: Re: bug#57052: elogind-service specifies a variable that's ignored by defualt References: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> <8b93b5ce9f1c9caab7a65fcc672dddd24c7ad373.camel@ist.tugraz.at> <8735e5plra.fsf@gmail.com> <87wnbho6z2.fsf@gmail.com> <6AE7F282-3FD0-415F-A460-9AB1A5539A13@tobias.gr> Date: Wed, 10 Aug 2022 00:38:34 -0400 In-Reply-To: (cairn@pm.me's message of "Tue, 09 Aug 2022 14:42:39 +0000") Message-ID: <871qton25x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57052-done Cc: liliana.prikler@ist.tugraz.at, 57052-done@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Cairn writes: > Would it not still be explicit if variables that should go unspecified > were written out, but not given a value? Maybe I'm misunderstanding > the point of explicit values though. I made it *unspecified* in 59ee837d8b, given this service config doesn't yet use 'define-configuration' that would have allowed for a proper maybe-value. Tested to work on a X200 and pushed! Closing, at last. Thanks, Maxim ------------=_1660106342-5658-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 Aug 2022 07:19:07 +0000 Received: from localhost ([127.0.0.1]:39019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKx2V-0004ar-WF for submit@debbugs.gnu.org; Mon, 08 Aug 2022 03:19:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:50308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKpiG-0000lj-9d for submit@debbugs.gnu.org; Sun, 07 Aug 2022 19:29:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKpiG-00026w-55 for bug-guix@gnu.org; Sun, 07 Aug 2022 19:29:40 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:36231) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKpiD-0007T9-Li for bug-guix@gnu.org; Sun, 07 Aug 2022 19:29:39 -0400 Date: Sun, 07 Aug 2022 23:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail3; t=1659914973; x=1660174173; bh=dZy+0AgKs2smMQkR8avGHqHL0RFQJvsE086V6EeZjdg=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=HRvRxd10yyxgMqi8GudYB8/nNHORHiSbLRr4r6QCvfcutGLXrUqpuMRfXmq5GWsi2 XzojhcJrry0brT9hIJn9TTe0PDLtg/eliFpqxE3L0GMSJGYFNNJseaP8E8crDWF/da LbcZmQOkC/DpjZ9aFbW4HC+CPAVp1W70OHzkuubQsDyfZUozrK1YTaIjyvt5a58dsh rqP4yHzrnyuNZ2ivBc0IYNk4vyeRV8Gdw1tIir4aIYDpwn4YAmy8jf01Xkpli3DNZ5 J2lIHkCSoHACMBQnMsjGlALJyLAtru4/+Fl2AbnNFafol3XWfe1Oe6vYxuy4ET95Ok C2ImL47ZMDEow== To: "bug-guix@gnu.org" From: Cairn Subject: elogind-service specifies a variable that's ignored by defualt Message-ID: <1MoJ5UI-6FMbpR2WSMjNbdVXZd4GisV-Dl1HPuLfgYLOQYl4Udg7HLNR8NDmZ47slyi4grIwH93xXL8xORLxUo4O80MR34q3wLXMmnktYH8=@pm.me> Feedback-ID: 6989168:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f"; charset=utf-8 Received-SPF: pass client-ip=185.70.40.131; envelope-from=cairn@pm.me; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 08 Aug 2022 03:19:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Cairn Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f Content-Type: multipart/mixed;boundary=---------------------b3f1fe85a665e5192d75ae2b97ca4244 -----------------------b3f1fe85a665e5192d75ae2b97ca4244 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 "HandleLidSwitchExternalPower=3D is completely ignored by default (for bac= kwards compatibility)"[1] I noticed (with help in IRC) that my laptop wasn't suspending on lid close= when plugged in and charging, which I hadn't seen happen on other systems= . I now know that I can set this by configuring the `elogind-service` para= meter `handle-lid-switch-external-power`. Regardless, it seems like it sho= uld default to being unset rather than set/ignored, since that would heed = the line I quoted above. [1]: https://www.freedesktop.org/software/systemd/man/logind.conf.html -----------------------b3f1fe85a665e5192d75ae2b97ca4244-- --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsFzBAEBCgAGBQJi8Eq/ACEJEPAAT+s3Q4ojFiEErbMphMGhBA17RriI8ABP 6zdDiiO2Bw//Qq7eSgxurtTnspzB5ke/6qvsgFES/PXuO3aAFh1iHuuJwGmL 1e0/oLKPbdKHo34Da1qku3782p4hWT3EAEO6Wj5k1FZWVJdekZypS3pBmB9U kuzxCN5JloGFn2KRQiilvdA0b1Si5TkaO7f8azawh20lyFDuCpp8NfhuDYwj ncJ6PnPGb6N0v6+uZB3JMyRvrrwl//BcpAALz4kmlfJzSA+SSxcJmmAuPqN/ iYGBQw8bn3YPGuIWdA4+pnriWBEeYQC07WyO1VQ/4gulpER2pfka2FpmhDit M+F9FBSop7DW/AVCskagejum5ojkn4Gj8/RFxM+fuxZicB+9SDTpZ2eXoLVS FbFD9mZhQOKFT3goi9g0Gnztacl5ruCkno4bFevzZiyunCPsrEUsys5FtHqW +7EwcOMykavS96lSna8A6AY2z9FhGnJ1lJ62Qv4Sz02aqAplEnJOWbSS9Xvs jP64XvTsuZNgLstMB9LkvnCC9xoW4TuxhSAn9xvdgxzFW9YIGHOuxZziRdhl wogjpluanEUPOLqT+KXVhBtf9+pUhQWH2Q7IQP5jpUSoovADG93vNuQ6wb8R xDMRLdIWfpSWQynKfxkrj89zgGnM743XPXxbH1kKiDAqNRTv5NKl6/FUYsey evz3sU1gGaLS5e2kW8/4vxLrm1GEkBtCFio= =T4MY -----END PGP SIGNATURE----- --------896b8641f35b922c4da73cc7866f6a973e38031bec22cfded3d2194e4128272f-- ------------=_1660106342-5658-1--