From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id IBEeFXnYaWajFwAAe85BDQ:P1 (envelope-from ) for ; Wed, 12 Jun 2024 17:18:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id IBEeFXnYaWajFwAAe85BDQ (envelope-from ) for ; Wed, 12 Jun 2024 19:18:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=Ucw1kPHK; dmarc=pass (policy=none) header.from=lendvai.name; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718212729; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bwQ69m7eY9f3hs1svZ9XCNgNM6oA9059CApi8vNLXfw=; b=a2vVBMYL8D0nMD7btjZA5EiBc7Ka2AqcOPwwosrukRGr56yxUqFRXCw2WhaxeUhTNJ0mSV msKPjCW9mIZDGrHYcJoGr96OZBoczF7NUczl4rbmuE874To0Q9ed6txuO7dYqtevMLMyfZ 0qIdmxaBkH8yX3+BGlKO6dj4j97ZRQZLAHieWzKkt5vGuphb1iOroRBH5zZw7wf5JACCBl feOzVoDzmqUGJUAxtCNm78SiWMZo//zw1kZikWXCy7XWClOMMF7lOJCEoujPPepJemeWKw my48Rst/20hRon6qmrZ5siSC1f0KcoUjDQn4bzSBCfusHCvHkZHUA1achpe/+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718212729; a=rsa-sha256; cv=none; b=hRw9xyA/9wA7Cev85LO33Yi5nsAXcDC0IpFdzVO5VdPWiRFdXBEbkkAPy4Lz5bKyjcPzRK 0n9VH4p+SzoBRvgF6rPqE47lwkYn72prBwFT0tjNLTnSU9jCrSUxIXpb7Sv/2hzHu6R98c m/CERAuczjwMLqrHyNwqJ4FWDL5htv79L+uwk9bJ6GhKXlXCQGLGX1DHwAs32bRzm/n512 mKgEV54XfMNFVnGwEmkiHr6rV9n6WjeeJiZpAkgCVgl4TpDJSyOv6bOsmgK0VoLe3qKUsG pkJUjsJhr5rDQrvhhrkqp/2B5fcAmK7olPWlB/8cLkdYKfxgv1UtfEl6KdR4nQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=Ucw1kPHK; dmarc=pass (policy=none) header.from=lendvai.name; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" 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 DF004FF76 for ; Wed, 12 Jun 2024 19:18:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHRbj-00055Q-1B; Wed, 12 Jun 2024 13:17:59 -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 ) id 1sHRbf-000552-QL for guix-devel@gnu.org; Wed, 12 Jun 2024 13:17:56 -0400 Received: from mail-40137.protonmail.ch ([185.70.40.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sHRbd-0007en-2Z for guix-devel@gnu.org; Wed, 12 Jun 2024 13:17:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail2; t=1718212670; x=1718471870; bh=bwQ69m7eY9f3hs1svZ9XCNgNM6oA9059CApi8vNLXfw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Ucw1kPHKm3+Qp/4H4GOFPjrwaZe6Xphlf1xOxE1vfGPXH5CBVsju4RbIHfmolXgPw oY+BElULhxRx2J40IzvpRUE9QwrXkMpeACPjpijz9Yv/SK/tmPW/WG3lqi58ZuMqoj a96VNoKVWfCapbASn2XEGK7Fj5AmI1JRJVZM4s/L6lz++FTBr0epu0m4dBbu2DPDtD MjxrY3igZDLEEg2cr08KsMINLaT+atvQn+A/rNnPjM3QCccym1mSJhqits/YUXeiof IbkmoI5V4RWpgk+0HVlrQO+eYKmfYComuYw33zjduY/Q7gEq34ZD4PYmT6RzT0Lm/w sARKtU9tqYqwA== Date: Wed, 12 Jun 2024 17:17:46 +0000 To: Vagrant Cascadian From: Attila Lendvai Cc: Richard Sent , guix-devel@gnu.org Subject: Re: Improving build-time checks for kernel module configuration + two other discussion points Message-ID: <3j9KKhDbZI1j5G6jZpBdBY_znDlY76RBOXJrD_t-Nh7c-SrQ6I9KiBmbro31kJqFndaqbhG9ek3IfaCxd7__V-GBdawa79Taq1x2dfmkVy8=@lendvai.name> In-Reply-To: <87wmmumvct.fsf@wireframe> References: <87tthy50k8.fsf@freakingpenguin.com> <87wmmumvct.fsf@wireframe> Feedback-ID: 28384833:user:proton X-Pm-Message-ID: 54b3eaaf89102d8e385c532423b4e92ec7b2ed7c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.137; envelope-from=attila@lendvai.name; helo=mail-40137.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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.54 X-Spam-Score: -4.54 X-Migadu-Queue-Id: DF004FF76 X-Migadu-Scanner: mx11.migadu.com X-TUID: k3alDeiopo3j > > My idea for how to mitigate this is adding some sort of extensible > > service where services can register necessary kernel configuration > > settings. When the config option is unset, a build-time error is raised= . >=20 >=20 > That sounds good to me, although I am not sure why it should be a > runtime service; it seems like a part of the kernel package build > process, but maybe this is just a difference in choice of words? Or I > could be missing something entirely! the meaning of 'service' in the guix context is quite different than what t= hat word means to most people today. you should think of it as a component of the declarative OS definition (as = opposed to as a runtime agent that responds to requests). --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CYou cannot legislate the poor into freedom by legislating the weal= thy out of freedom. And what one person receives without working for, anoth= er person must work for without receiving. The government can=E2=80=99t giv= e to anybody anything that the government does not first take from somebody= . And when half of the people get the idea they don=E2=80=99t have to work = because the other half=E2=80=99s going to take care of them, and when the o= ther half get the idea it does no good to work because somebody=E2=80=99s g= oing to get what I work for. That, dear friend, is about the end of any nat= ion. You cannot multiply wealth by dividing it.=E2=80=9D =09=E2=80=94 Adrian Rogers (1931=E2=80=932005), 1984