From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MGcCByBBSF8wdwAA0tVLHw (envelope-from ) for ; Thu, 27 Aug 2020 23:26:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aJfLAiBBSF/dWAAA1q6Kng (envelope-from ) for ; Thu, 27 Aug 2020 23:26:24 +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 74AAF9403A5 for ; Thu, 27 Aug 2020 23:26:23 +0000 (UTC) Received: from localhost ([::1]:42056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBRHi-0003rh-4X for larch@yhetil.org; Thu, 27 Aug 2020 19:26:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBRHO-0003r5-6l for bug-guix@gnu.org; Thu, 27 Aug 2020 19:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBRHN-0004K7-Ty for bug-guix@gnu.org; Thu, 27 Aug 2020 19:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kBRHN-0005Zo-QS for bug-guix@gnu.org; Thu, 27 Aug 2020 19:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43078: linux-libre-arm64-generic lacks CONFIG_CGROUP_FREEZER=y Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 Aug 2020 23:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43078 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vitaliy Shatrov Received: via spool by 43078-submit@debbugs.gnu.org id=B43078.159857075421424 (code B ref 43078); Thu, 27 Aug 2020 23:26:01 +0000 Received: (at 43078) by debbugs.gnu.org; 27 Aug 2020 23:25:54 +0000 Received: from localhost ([127.0.0.1]:44443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBRHG-0005ZU-7k for submit@debbugs.gnu.org; Thu, 27 Aug 2020 19:25:54 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:57718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kBRHD-0005ZG-UK for 43078@debbugs.gnu.org; Thu, 27 Aug 2020 19:25:53 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 006C71AA3F; Thu, 27 Aug 2020 16:25:44 -0700 (PDT) From: Vagrant Cascadian In-Reply-To: <87d03bly45.fsf@disroot.org> References: <87d03bly45.fsf@disroot.org> Date: Thu, 27 Aug 2020 16:25:38 -0700 Message-ID: <87h7sny8lp.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43078@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -2.61 X-TUID: G8pNx8j2xEW2 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain On 2020-08-28, Vitaliy Shatrov wrote: > 1. had linux-libre-arm64-generic as my kernel. > 2. added only (elogind-service-type) to my Guix System's config. > 3. ran `guix system reconfigure`. > 4. get some errors: "///sys/something/freezer cannot be something". > 5. rebooted, and were unable to log-in (get no prompt). > > The issue was solved by using the same linux-libre-arm64-generic, but > customized: i set a 'CONFIG_CGROUP_FREEZER=y' in kconfig. > > As this is only one config related to logind that not enabled, i want us > to have it enabled by default on linux-libre-arm64-generic, or as Vagrant > wrote on IRC, "added to gnu/packages/linux.scm: %default-extra-linux-options". Given that this is present in all the "linux-libre" packages (e.g. without arm-generic or arm64-generic ...), I think it makes sense to add this to %default-extra-linux-options. *Untested* patch attached. I did at one point try to enable this on arm-generic and it required additional features I couldn't track down... and at some point this was enabled on arm64-generic (I tested on "pinebook" with arm64-generic a while back). live well, vagrant --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-default-extra-linux-options-Enable-CONFIG_CGROUP.patch Content-Transfer-Encoding: quoted-printable From=20d91a90a667262b6e0ab82542a28c48b70eee37fc Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 27 Aug 2020 14:47:43 -0700 Subject: [PATCH] gnu: %default-extra-linux-options: Enable CONFIG_CGROUP_FREEZER. Fixes: https://issues.guix.gnu.org/43078 * gnu/packages/linux (%default-extra-linux-options): Enable CONFIG_CGROUP_FREEZER. =2D-- gnu/packages/linux.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 26ce379568..1f6236163f 100644 =2D-- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -641,6 +641,8 @@ for ARCH and optionally VARIANT, or #f if there is no s= uch configuration." ("CONFIG_USER_NS" . #t) ("CONFIG_PID_NS" . #t) ("CONFIG_NET_NS" . #t) + ;; cgroup freezer needed for elogind: https://issues.guix.gnu.org/43078 + ("CONFIG_CGROUP_FREEZER" . #t) ;; Modules required for initrd: ("CONFIG_NET_9P" . m) ("CONFIG_NET_9P_VIRTIO" . m) =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX0hA8gAKCRDcUY/If5cW qgapAQCo3NDALLIzYri69dN7NrohY6ARNaaBBMk1kfGdofuWGQEAyatmznpNpVv0 n5I/k/ECCj1MtNQ/49KvKRXMi4VKPQ0= =MY3o -----END PGP SIGNATURE----- --==-=-=--