Received: (at 78040) by debbugs.gnu.org; 25 Apr 2025 00:01:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 24 20:01:24 2025 Received: from localhost ([127.0.0.1]:42796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u86VQ-00021H-Dw for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 20:01:24 -0400 Received: from dwarf.ash.relay.mailchannels.net ([23.83.222.53]:61365) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dannym@HIDDEN>) id 1u86VN-000215-Am for 78040 <at> debbugs.gnu.org; Thu, 24 Apr 2025 20:01:22 -0400 X-Sender-Id: dreamhost|x-authsender|dannym@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 411082C458B; Fri, 25 Apr 2025 00:01:19 +0000 (UTC) Received: from pdx1-sub0-mail-a205.dreamhost.com (100-110-58-101.trex-nlb.outbound.svc.cluster.local [100.110.58.101]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DC8952C5195; Fri, 25 Apr 2025 00:01:18 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1745539278; a=rsa-sha256; cv=none; b=VV9waHqASraeSK3AzcQoyY29WRRulsUgavWuBFj6v+iQE6G89VaQHdGN7b3FJsSFB9vZ07 dvEkuq8/6/6BisSHEA8Dhig0w+O25uWkzuJLM+5HZc/blENy907pIb/fs/owhiUv8vL2tz YVBwjx/1xTX75gLbnoA4IjkG1h/95mY/chJivRHjPnFWdiQ7ILkYvIJTHEYX66qPL/71su PEoK4AdnZ5haqYbNfTRZbE8bHPoS7MUdbNoNj4Oz49g0Z2aHic/WCU6UA7TKHxFq6YUEfO GqTgLKdD4gYIpgjKcgxv0a17xEoXrUM30vASj/tYmRWSBFwdWHZG/wtzj4DhAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1745539278; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=bwGhInJeg1fO+xfwixuCSc3PGPcbuxkQqK8bHhnyAk8=; b=P5/sMK0k72WldaZ56lg0AnxNwPIzKll5EMO1CVvWyXYjqbc/v6p4afah6SFlyjMTdXcK5y qfuo6DN2gVRi/LiGS3qQzIZ7OwfmDmL0wvoFahW1+GkNtcrbljwsbgGA6lpDoX/Nh99RwP GPI6O5gG4FJC53DeYByexmaslbL+LZRtSQn/UZC7ylMUzjDLRfuLKJxvMt/aVu4Mlw9vzD gKzoOozC7dwz9LEvLq1UCwpPsEA5HR/+wVvErKFojtx6O7G1FC30DKPdG1R88bNFrMl6A5 v/UWAhBkF45Rrb04dvP3CNcSOslmWuyj4Y2XYW8vndntYY/Q1ubpC0ItZv+mVA== ARC-Authentication-Results: i=1; rspamd-5cfcf5665-8vngp; auth=pass smtp.auth=dreamhost smtp.mailfrom=dannym@HIDDEN X-Sender-Id: dreamhost|x-authsender|dannym@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|dannym@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Exultant-Shoe: 0a61886c00f67c82_1745539279115_2346746836 X-MC-Loop-Signature: 1745539279115:3107457045 X-MC-Ingress-Time: 1745539279115 Received: from pdx1-sub0-mail-a205.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.110.58.101 (trex/7.0.3); Fri, 25 Apr 2025 00:01:19 +0000 Received: from nova (84-115-226-251.cable.dynamic.surfer.at [84.115.226.251]) (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) (Authenticated sender: dannym@HIDDEN) by pdx1-sub0-mail-a205.dreamhost.com (Postfix) with ESMTPSA id 4ZkCg16Ks9zMN; Thu, 24 Apr 2025 17:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=friendly-machines.com; s=dreamhost; t=1745539278; bh=OmYaPdk5ofCpMsu5yCkVJl0OHExEoKCQVmwAXt9lC64=; h=From:To:Cc:Subject:Date:Content-Type; b=M6X0bbAMSyw80jsKx13U6Qr0rWc3+o6q8fkBfFf2ttOBfJ+x+pHj3p7dLWyleWiEh L2uZThibdlVCoAVDRZrIt2oXyU7qTxKlvlBQwu+R5mLdNdpTlRjYJxSkFXEdIJEpEs fyxefby45ZYXNz/jgldgq4DJcYtak3uLM+7IKl/IB/3G0Z9wqFEbmLXEXIIql8UsyF wEByK9lfT1wY/H3VdIUkjZetkEIaauE6CS6+oVm1JMTUjuy2eWrIgjwIM7lfzy4hEN 82FZsZdT8yQsEduvq7+V28rVBaUIRRJhPABQNdwZvNIpahD2QbWAA8oB5vXPe3Vrlv TeUXE+/2ghYwg== From: Danny Milosavljevic <dannym@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#78040: elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type User-Agent: mu4e 1.12.9; emacs 29.4 Date: Fri, 25 Apr 2025 02:01:14 +0200 Message-ID: <87y0vp154l.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 3.6 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> Loading dmi-sysfs manually solves this issue, but I don't know how to do >> that with the elogind-service-type implementation. >Maybe an activation snippet could do: > (load-linux-modules-from-directory '("dmi-sysfs") > (current-kernel-directory)) Content analysis details: (3.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.222.53 listed in sa-accredit.habeas.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.222.53 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.222.53 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.222.53 listed in bl.score.senderscore.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 78040 Cc: dev@HIDDEN, 78040 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.6 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> Loading dmi-sysfs manually solves this issue, but I don't know how to do >> that with the elogind-service-type implementation. >Maybe an activation snippet could do: > (load-linux-modules-from-directory '("dmi-sysfs") > (current-kernel-directory)) Content analysis details: (2.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.222.53 listed in sa-accredit.habeas.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.222.53 listed in list.dnswl.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [23.83.222.53 listed in bl.score.senderscore.com] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [84.115.226.251 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [23.83.222.53 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager >> Loading dmi-sysfs manually solves this issue, but I don't know how to do >> that with the elogind-service-type implementation. >Maybe an activation snippet could do: > (load-linux-modules-from-directory '("dmi-sysfs") > (current-kernel-directory)) Why not use the kernel module loader service extension? That's what it's there for. (service-type ... (extensions (list (service-extension kernel-module-loader-service-type (const '("dmi-sysfs"))))))
bug-guix@HIDDEN
:bug#78040
; Package guix
.
Full text available.Received: (at 78040) by debbugs.gnu.org; 24 Apr 2025 21:39:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 24 17:39:37 2025 Received: from localhost ([127.0.0.1]:42176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u84IC-0006zH-LB for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 17:39:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44802) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1u84I8-0006yO-LK for 78040 <at> debbugs.gnu.org; Thu, 24 Apr 2025 17:39:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1u84I3-0004NU-C2; Thu, 24 Apr 2025 17:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=I++uc5FRB5Ly3AOK9rX3nQz2mfRjoHEPg3aply/C5fI=; b=MDhNbE8fx/hoSwqrxB8d fq/ok5KV2OuX1yd0/wrWM9KaRwyGb8dbbfgAG74v/n+L2qP9k7XrmvVzP2dNv/tHxem5eV0UKzBY+ qw7VgBxC2qd+X8V8N/B/LXUjaWeBwPOFQGUwJNwyeck5dmfvoylt4DWqBJ/Vi0pzCz/P5/gOe8O91 Hvc95vcPcTP7e3L11AP9koc77j2Ve9cbG6d6cbascVpCFmqixcza53v+kIQjdtrB3yuvFxrTE4hCu YQXmTTReMr61znDEaQiThDspUfmkmP/4eccJHqLVLZLaZJqcjzIYxttCddHzt3kSby4aOkoWtYCPv gtsQPvcw4hBH3A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN> Subject: Re: bug#78040: elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type In-Reply-To: <87zfg5wqua.fsf@HIDDEN> (Josselin Poiret via Bug reports for's message of "Thu, 24 Apr 2025 16:56:29 +0200") References: <87zfg5wqua.fsf@HIDDEN> User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Flor=C3=A9al?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Rossignol Date: Thu, 24 Apr 2025 22:38:30 +0200 Message-ID: <87v7qti9bt.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78040 Cc: Josselin Poiret <dev@HIDDEN>, 78040 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hello Josselin, Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN> writes: > The suspend-then-hibernate option of elogind tries to detect the type of > wakeup that the system supports, and to that end reads > /sys/firmware/dmi/entries/1-0/raw. However that file only exists if > the kernel module dmi-sysfs has been loaded, which doesn't seem to be > the case by default on my Guix system. > > If that doesn't work out, it falls back to a custom implementation that > wakes up the system periodically to check the battery status, however > that is also broken for some other reason=E2=84=A2 on my system, leading = to an > instant hibernation. I experienced it too; glad you found the reason! > Loading dmi-sysfs manually solves this issue, but I don't know how to do > that with the elogind-service-type implementation. Maybe an activation snippet could do: (load-linux-modules-from-directory '("dmi-sysfs") (current-kernel-directory)) ? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#78040
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Apr 2025 21:39:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 24 17:39:37 2025 Received: from localhost ([127.0.0.1]:42178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u84ID-0006zL-1O for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 17:39:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38964) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1u84IB-0006yX-3R for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 17:39:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1u84I3-00017h-Ks for bug-guix@HIDDEN; Thu, 24 Apr 2025 17:39:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1u84I3-0004NU-C2; Thu, 24 Apr 2025 17:39:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=I++uc5FRB5Ly3AOK9rX3nQz2mfRjoHEPg3aply/C5fI=; b=MDhNbE8fx/hoSwqrxB8d fq/ok5KV2OuX1yd0/wrWM9KaRwyGb8dbbfgAG74v/n+L2qP9k7XrmvVzP2dNv/tHxem5eV0UKzBY+ qw7VgBxC2qd+X8V8N/B/LXUjaWeBwPOFQGUwJNwyeck5dmfvoylt4DWqBJ/Vi0pzCz/P5/gOe8O91 Hvc95vcPcTP7e3L11AP9koc77j2Ve9cbG6d6cbascVpCFmqixcza53v+kIQjdtrB3yuvFxrTE4hCu YQXmTTReMr61znDEaQiThDspUfmkmP/4eccJHqLVLZLaZJqcjzIYxttCddHzt3kSby4aOkoWtYCPv gtsQPvcw4hBH3A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN> Subject: Re: bug#78040: elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type In-Reply-To: <87zfg5wqua.fsf@HIDDEN> (Josselin Poiret via Bug reports for's message of "Thu, 24 Apr 2025 16:56:29 +0200") References: <87zfg5wqua.fsf@HIDDEN> User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Quintidi 5 =?utf-8?Q?Flor=C3=A9al?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Rossignol Date: Thu, 24 Apr 2025 22:38:30 +0200 Message-ID: <87v7qti9bt.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: Josselin Poiret <dev@HIDDEN>, 78040 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello Josselin, Josselin Poiret via Bug reports for GNU Guix <bug-guix@HIDDEN> writes: > The suspend-then-hibernate option of elogind tries to detect the type of > wakeup that the system supports, and to that end reads > /sys/firmware/dmi/entries/1-0/raw. However that file only exists if > the kernel module dmi-sysfs has been loaded, which doesn't seem to be > the case by default on my Guix system. > > If that doesn't work out, it falls back to a custom implementation that > wakes up the system periodically to check the battery status, however > that is also broken for some other reason=E2=84=A2 on my system, leading = to an > instant hibernation. I experienced it too; glad you found the reason! > Loading dmi-sysfs manually solves this issue, but I don't know how to do > that with the elogind-service-type implementation. Maybe an activation snippet could do: (load-linux-modules-from-directory '("dmi-sysfs") (current-kernel-directory)) ? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#78040
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 24 Apr 2025 14:56:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 24 10:56:48 2025 Received: from localhost ([127.0.0.1]:40068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u7y0O-0003c4-AO for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 10:56:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40396) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <dev@HIDDEN>) id 1u7y0K-0003bn-En for submit <at> debbugs.gnu.org; Thu, 24 Apr 2025 10:56:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dev@HIDDEN>) id 1u7y0E-0007ne-AG for bug-guix@HIDDEN; Thu, 24 Apr 2025 10:56:38 -0400 Received: from jpoiret.xyz ([159.223.231.69]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dev@HIDDEN>) id 1u7y0C-0006Cf-N7 for bug-guix@HIDDEN; Thu, 24 Apr 2025 10:56:38 -0400 From: Josselin Poiret <dev@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1745506593; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=QQEcikyZi1asSelx+FetZseXJVkY2tMxMgsG0FJufs8=; b=JtOCVSTnBXlj79UVKDXg0/kRLjyTlnUSPCOH999n2a07tfuyYff24Ej2M/8aPWXGMi3Zir +d8CEHl3NO77Zr4JfKGa8Uq1YI6eKIr3wT9w8tTi6RbOqKKj/75IP5qyuqLXjcBR/NLyyi ZmxE7yLunFB4guYbJYwETHtxPh/OPGttY7fNhvPRwGHy1c2EG3ENUBwuEnJFYGBWTerr7O JdpYX7f5yOkEYpqU3cbcXvezqZwOn9DuSqr25U+4J10kRAahgd69YOEYL3xSr8UIetTwPV 6uEhC+VlHJQjCzWYcqVdBYEDW4596d7LvRkiJX1bZkdxF8j9XehWL8I7SuMNFA== Authentication-Results: jpoiret.xyz; auth=pass smtp.mailfrom=dev@HIDDEN To: bug-guix@HIDDEN Subject: elogind's suspend-then-hibernate requires dmi-sysfs to detect wakeup type Date: Thu, 24 Apr 2025 16:56:29 +0200 Message-ID: <87zfg5wqua.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: -- Received-SPF: pass client-ip=159.223.231.69; envelope-from=dev@HIDDEN; helo=jpoiret.xyz X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.469, PDS_OTHER_BAD_TLD=1.998, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 4.9 (++++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello everyone, The suspend-then-hibernate option of elogind tries to detect the type of wakeup that the system supports, and to that end reads /sys/firmware/dmi/entries/1-0/raw. However that file only exists if the [...] Content analysis details: (4.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello everyone, The suspend-then-hibernate option of elogind tries to detect the type of wakeup that the system supports, and to that end reads /sys/firmware/dmi/entries/1-0/raw. However that file only exists if the [...] Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello everyone, The suspend-then-hibernate option of elogind tries to detect the type of wakeup that the system supports, and to that end reads /sys/firmware/dmi/entries/1-0/raw. However that file only exists if the kernel module dmi-sysfs has been loaded, which doesn't seem to be the case by default on my Guix system. If that doesn't work out, it falls back to a custom implementation that wakes up the system periodically to check the battery status, however that is also broken for some other reason=E2=84=A2 on my system, leading to= an instant hibernation. Loading dmi-sysfs manually solves this issue, but I don't know how to do that with the elogind-service-type implementation. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmgKUR0QHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaivXbDACGYVZ9AdWyTdZb0xvmK4IZvfjegZ3hzCpE /5iKGyYFbR1g03aJCvlUFgckG+KyaGltfjdDqlAZ2R2/YOmjXhFxZcNsbGy2nSBR 9/1nBLE2wKr+Uu6e2+DwRa6D5OysxdvypjxQDpzowiwxNViUuAtf+RiJbmQGKNlv UmyFEn4wZXwvclmY8kUrxyszEJQ5umF2TjZqAFUX0Ci/QMu/mJcB1b3aVcU3eLcW 3e9/jpcEEVV5fiArVnh4ALYCzf/OrsvInGWn2DfBA1fzfSFByeP3poOoTcGJm7jh HK+DHGt1Ww2LeQj8xF994vOmF5sCY7HPCPSGaGw75Uqt+JdUdsKvw0143fwSZkgK FD0gojaHSjRFg7AwIUAf6cPviibJOtBPL2NUW6/HOMKuCAZWBn6b0tUAAChZc3KE o6e4RIy7xScJnw6t8mfmkvnf6RZ8Z7k3ptosV8kzvBIkcCEiJyzt7aow3WoOyvKb 8051qgGKLK0PQ0JnKfw3dC3uTSXJjyU= =qhXB -----END PGP SIGNATURE----- --=-=-=--
Josselin Poiret <dev@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#78040
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.