From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id QPfzEE92NmYYbAAA62LTzQ:P1 (envelope-from ) for ; Sat, 04 May 2024 19:54:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id QPfzEE92NmYYbAAA62LTzQ (envelope-from ) for ; Sat, 04 May 2024 19:54:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714845263; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=/jnSVi4iVR6u9JYwvabtZ0hvTCCpzrd1CKEJNqrZWfc=; b=K639ZoW1TORkTQBV6TW8PQUfU24ZCzuw7JLD+oWPdUz7E6Z6j5K+FOFm92ebkqvWQuJZUC iIl5mJvl1RHo/+pGGiS37Nv4iPCHC56aX2XKBpkG0hhAXiXE6FsZYoxKb+++SV3Z9CIWkL 0aogI2fsFKj9R7BCou/kqClro9smjO+xRpT1WZi2AkP32KK4j9PJ7s12wNM7Ae6eiUaSkf SzfrlGdg0vusSUCC4lNFY5DTu8cXtE5+35IW+Z53XduxapAYzUq4AmZcKX8dCd8zxVl0WB eqj3W2mnAJSI9LApzsamwH2W4M5rLZEnDybaGQi1qhOJrpP5RQmw0AdnkYtewg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714845263; a=rsa-sha256; cv=none; b=r/RRjGBLiP7ppXdUusW19+HNB6DQB01WXorYxopNHiWULXAcuWf9okxkVRO6Hg0cQRqb7O J/pzpu7NRXlb7Ld+78zZ6g+KCT30hnyDzWjsMoMo2oqUSxJvYcX1GSRKWqV/ooxCPGvqUb uDqgFwROS+WvDgfeGoP9+9Sg5I7BhaawtTXr10MhNPhfXJJjcrpgIaew/qcqDD5fUjB9PS goV/b3wD0HexASFalBiLBaVqoruWTIhT3pfXIcF197gDRaZfV1s8iHW/7DsE1WzDQMFPh0 f2FtHzdtgnt2JUjQh2nUyz29qUKzwMg6Emn2pzSsGwY2HrcRDDRFxdV4FwPBjQ== 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 E7A1A57793 for ; Sat, 4 May 2024 19:54:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Ja6-0008U9-Vi; Sat, 04 May 2024 13:53:55 -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 1s2b7J-0006yB-W4 for guix-devel@gnu.org; Thu, 02 May 2024 14:25:14 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2b7G-0006IQ-AA; Thu, 02 May 2024 14:25:13 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id B3CEC1AA4F; Thu, 2 May 2024 11:14:59 -0700 (PDT) To: Janneke Nieuwenhuizen , Ludovic =?utf-8?Q?Court=C3=A8?= =?utf-8?Q?s?= Cc: Richard Sent , guix-devel@gnu.org Subject: Re: Changing the defaults for --localstatedir and --sysconfdir? In-Reply-To: <87ttjge9gb.fsf@gnu.org> References: <87sez19s1o.fsf@freakingpenguin.com> <87sez0zizk.fsf@gnu.org> <87ttjge9gb.fsf@gnu.org> Date: Thu, 02 May 2024 11:14:56 -0700 Message-ID: <87r0ekw067.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org.org; helo=cascadia.aikidev.net X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_NXDOMAIN=0.9, NO_DNS_FOR_FROM=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 04 May 2024 13:53:53 -0400 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: , Reply-to: Vagrant Cascadian From: Vagrant Cascadian via "Development of GNU Guix and the GNU System distribution." 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: -6.49 X-Spam-Score: -6.49 X-Migadu-Queue-Id: E7A1A57793 X-Migadu-Scanner: mx13.migadu.com X-TUID: H3AJtQaveOQD --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2024-05-02, Janneke Nieuwenhuizen wrote: > Ludovic Court=C3=A8s writes: > >> Richard Sent skribis: >> >>> As everyone who's built Guix from source knows, when running ./configure >>> on a system with an existing Guix installation you must remember to >>> specify --localstatedir=3D/var and --sysconfdir=3D/etc. I think we shou= ld >>> consider whether those variables should default to those values. >> >> I think it would make sense. >> >> Before I advocated that we should preferably stick to the GNU standards >> and have users make informed choices (that=E2=80=99s how we ended up wit= h the >> =E2=80=98GUIX_CHECK_LOCALSTATEDIR=E2=80=99 macro that warns users but le= ts them >> explicitly pass =E2=80=98--localstatedir=E2=80=99.) >> >> That was 8 years ago though (eight!). At this point I think defaulting >> to /var and /etc would do more good than harm. >> >> What do others think? > > It would be certainly convenient for many us but there should probably a > warning or an error? (cc: @Vagrant) when not on Guix System? I think /var and /etc would be saner defaults from Debian's perspective for --localstatedir and --sysconfdir. That said, all my workflows for passing this are either building the Debian package (for which it explicitly passes /var and /etc) and building guix for use with "./pre-inst-env guix ..." for both of those use cases seem /var and /etc on my systems. I am not sure what workflows might break by changing the defaults; some people and systems still use /usr/local for locally built software, such as FreeBSD ports and similar systems. Not sure how relevent they are to guix at this point, at least... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZjPYIAAKCRDcUY/If5cW qmjIAQCKG4q9gmCyku+t3pOIdPyFNSIuhrmIi32hbHfWzM/nVwD/VTyEcrA0MkA7 s82JmwPYrmrFDCYkavB/Bp/d3Pz0CAQ= =Vni7 -----END PGP SIGNATURE----- --=-=-=--