Received: (at 71064) by debbugs.gnu.org; 22 Aug 2025 13:49:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 22 09:49:57 2025 Received: from localhost ([127.0.0.1]:35797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1upS9U-0004xj-Gv for submit <at> debbugs.gnu.org; Fri, 22 Aug 2025 09:49:57 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:45189) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1upS7u-0004pZ-2R for 71064 <at> debbugs.gnu.org; Fri, 22 Aug 2025 09:48:19 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3c4e9efb88aso1114453f8f.2 for <71064 <at> debbugs.gnu.org>; Fri, 22 Aug 2025 06:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1755870490; x=1756475290; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZfpxKZUDvXR6ZiUsfQNmZZepb+dxGUc1eU0ePSKzIcY=; b=BRdTcRWvQfCN2ESQ0eENhRLiz3rTJpfZ8NsJIPatWthzIoZNIEv0sLrNQ/EGAMxsW8 edCAJt7nFxFnYNVrGWGVe/F03VcIVyVwsSMf1FkzZr+vgjWoC9iinAv9BVdX2cKksu9F W8PPCt2e+QTcHedW8IOzYaIhxINwb2ZsgDjtOLF1Y0LoYGjB2s3rg841f0abGQJAoToE Fuv/TYul5wiLFGWc1D0dAdrqH8SGBKRX2XptSFC0RnCI1+Q7PvME7XDkVLvZFWUkYbvC mEx5Z3QNNc2eLdKFM0s3bxEN1W08FeRGsdNHptTukiY9lXVol6asgSsIZH/lJnoiGyt6 0/tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755870490; x=1756475290; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZfpxKZUDvXR6ZiUsfQNmZZepb+dxGUc1eU0ePSKzIcY=; b=mwgPtMthbyfkjkoDm/pdSeoWujOZ7Vc+uhysOiOfyn7uyFqn9B8yfBvwQfjjhHQWX4 ZxCoJN0JYIrX22QeJyNz96YmBKcy21kLtzutHKxoOBBcsm2JEx9XPNcYY7aO5+TskkiC +D4XOd+KGrfbOq/0NOb6F5RsA+Qrnbelzq5XGZ03cZYRk5Ed1CO+DBKn32IT6RWZjsH3 mqrbnPgFzTRhismu9s9B/LASzVwBgEo2IpvOyAGs6ASeTUNl+mNd+1eAlKmMm0oIDpmJ CfcbC8MwxrQgAM1SoDwUxH1tWKwfvOYzFXAfzhyswACZdcvTJ6zW6ZUezLcE39Fi1WjR cG5g== X-Forwarded-Encrypted: i=1; AJvYcCWo5KmR7SEFk9fMPdTzsJkq6xhwb64MAwGX7dBPcFccpLGVowCx0u2tqNoe6ITPTjusOcNXdw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Ywl48u0F5E6X3v+eDossogZ27Uxf6BButSFAsuNQ7JkF5E2PNsP 7bON1GWr9w3peiIKJvyLZaPXdxQhNZ5EKgltoMMwNnR+gkt2+ys6VV2CelY4ow== X-Gm-Gg: ASbGncumFPtpXNqNi9smKJEOmoohMpCKdBS3/yPFEfRbnYh/WCYipUWEVnafPh+w+Ii 0orX8GCkqrRIme39JTzCiqgMCE4uRnb22kFQm7TrZrseQkVbo6ineLBDSVMYk5iDSRjL707MBfy 6t7MitI3fs2aC5dOO96xBin2fTLss0QJcT23l3gVbCLAHeyhcEN6RmcNVWbh7bigItTjF+yvKIY EXukWPPynFoI/Z+NUUMtv3/PmUB1i1ukTigSL/tg+dVXltslXpgAM3NzppIkIwFEfyhaOKP1yRw KvH5pKejUE7l8KzvsSiHb6nP6nRefz3/x3G8IJWGZ/McWsVMzmlCuMRScHehxIBcABiBOuyd6fQ r/STo4MNw2qWcleW3z2W1HXKfeurIoj2E9dHkicyzkCvvaGuUhmM1ksgwA9TSaU0IKGbo4g== X-Google-Smtp-Source: AGHT+IHhEdIwv0JxliLZm8Uwac8qOLwll3XvRP1TG1b6OEPygQlRI47MOM75tA5NgVsaDJWtDLJfVw== X-Received: by 2002:a5d:64cf:0:b0:3c0:7e30:a95f with SMTP id ffacd0b85a97d-3c5de34bd45mr2100089f8f.60.1755870489800; Fri, 22 Aug 2025 06:48:09 -0700 (PDT) Received: from lili (nat-dsi-209.net.univ-paris-diderot.fr. [81.194.30.209]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3c60b40dd6dsm2555323f8f.33.2025.08.22.06.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Aug 2025 06:48:09 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Nicolas Graves <ngraves@HIDDEN> Subject: Re: [bug#71064] [PATCH v2 1/2] gnu: services: nscd: Add nsncd optional support. In-Reply-To: <87o6tjg670.fsf@HIDDEN> References: <20250629115447.16729-1-ngraves@HIDDEN> <20250629115447.16729-2-ngraves@HIDDEN> <87o6tjg670.fsf@HIDDEN> Date: Fri, 22 Aug 2025 14:08:36 +0200 Message-ID: <87ikify2wr.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: 71064 Cc: picnoir@HIDDEN, 71064 <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 (-) Hi, Digging the still-open-issue-almost-ready, I hit this one. :-) On Wed, 16 Jul 2025 at 23:46, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: >> From: Picnoir <picnoir@HIDDEN> >> >> Add nsncd optional support for nscd-configuration. >> >> * gnu/services/base.scm (<nscd-configuration>): Add implementation field. >> (nscd-shepherd-service-type)[start]: Update forkexec-constructor >> accordingly. >> >> Change-Id: I73d03bd149ff005130e1ed2532e1b4b0e3d572f5 > > I think the two patches can be squashed (with you as co-author, > Nicolas). > > It LGTM, except for two things: > > 1. The =E2=80=98implementation=E2=80=99 field should be documented. > > 2. The =E2=80=98glibc=E2=80=99 field should probably be renamed to =E2= =80=98package=E2=80=99 (the name > conventionally used for fields like this), with a compatibility > shim (info "(guix) Deprecation Policy"). > > Are you willing/able to help with this? What this? Cheers, simon
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 16 Jul 2025 21:46:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 16 17:46:45 2025
Received: from localhost ([127.0.0.1]:50799 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uc9xd-00082i-Bq
for submit <at> debbugs.gnu.org; Wed, 16 Jul 2025 17:46:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:42158)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uc9xZ-00082P-5l
for 71064 <at> debbugs.gnu.org; Wed, 16 Jul 2025 17:46:43 -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 1uc9xJ-0000Vx-3C; Wed, 16 Jul 2025 17:46:26 -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=RL6GkQuXeLolVQN9iMCvHIUpo7NiRDjoDPi347NEo04=; b=ZWgqEVrrChQfSuhtNWNB
decfEuj+oJczC2hvPFw8xGEgELDT1je0KrzuaAjhQ2+nfbYcb7uJErP1zUsKrxkLXSl/HETTR6cbw
DP5lbed2U1/EXp6aYaMxnNPATyIU0glHY2kp3GBMc3PuBq0gvst9Da0NNNEa3USKnEP7HUdF84zHl
N6j0C5Ceuh/wWmy3uSE/LrmwGLLB4okJV+n9QKMOXiY9VeIVOVSKKRu7BfWc4t+A6D+oOSv1Oa2dl
udj+gDHl0uvQ935XDs6HyMUEWhHefNPHl3nRkJ3WGjd2Lp97wytvROV1yC5gdJUXNSx+RDarNZr/l
C4oi7RM+VxKeUA==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Nicolas Graves <ngraves@HIDDEN>
Subject: Re: [PATCH v2 1/2] gnu: services: nscd: Add nsncd optional support.
In-Reply-To: <20250629115447.16729-2-ngraves@HIDDEN> (Nicolas Graves's
message of "Sun, 29 Jun 2025 13:52:40 +0200")
References: <20250629115447.16729-1-ngraves@HIDDEN>
<20250629115447.16729-2-ngraves@HIDDEN>
User-Agent: mu4e 1.12.11; emacs 30.1
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: Octidi 28 Messidor an 233 de la =?utf-8?Q?R=C3=A9vol?=
=?utf-8?Q?ution=2C?= jour de la Vesce
Date: Wed, 16 Jul 2025 23:46:11 +0200
Message-ID: <87o6tjg670.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: 71064
Cc: picnoir@HIDDEN, 71064 <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 (---)
Hi Nicolas and Picnoir,
Apologies for the long delay.
Nicolas Graves <ngraves@HIDDEN> writes:
> From: Picnoir <picnoir@HIDDEN>
>
> Add nsncd optional support for nscd-configuration.
>
> * gnu/services/base.scm (<nscd-configuration>): Add implementation field.
> (nscd-shepherd-service-type)[start]: Update forkexec-constructor
> accordingly.
>
> Change-Id: I73d03bd149ff005130e1ed2532e1b4b0e3d572f5
I think the two patches can be squashed (with you as co-author,
Nicolas).
It LGTM, except for two things:
1. The =E2=80=98implementation=E2=80=99 field should be documented.
2. The =E2=80=98glibc=E2=80=99 field should probably be renamed to =E2=80=
=98package=E2=80=99 (the name
conventionally used for fields like this), with a compatibility
shim (info "(guix) Deprecation Policy").
Are you willing/able to help with this?
I=E2=80=99m about to be offline for summer vacation but let me know if you=
=E2=80=99d
rather share the workload.
Thanks,
Ludo=E2=80=99.
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 29 Jun 2025 11:55:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 29 07:55:42 2025
Received: from localhost ([127.0.0.1]:55290 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uVqdK-00041p-E5
for submit <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:42 -0400
Received: from 7.mo563.mail-out.ovh.net ([46.105.59.58]:40835)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <ngraves@HIDDEN>)
id 1uVqdI-00041a-RQ
for 71064 <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:41 -0400
Received: from director1.derp.mail-out.ovh.net
(director1.derp.mail-out.ovh.net [51.68.80.175])
by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4bVSRH4YzFz6TrD;
Sun, 29 Jun 2025 11:55:39 +0000 (UTC)
Received: from director1.derp.mail-out.ovh.net
(director1.derp.mail-out.ovh.net. [127.0.0.1])
by director1.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP
for <picnoir@HIDDEN>; Sun, 29 Jun 2025 11:55:39 +0000 (UTC)
Received: from mta11.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.54.44])
by director1.derp.mail-out.ovh.net (Postfix) with ESMTPS id
4bVSRH1f3Yz5wGg; Sun, 29 Jun 2025 11:55:39 +0000 (UTC)
Received: from ngraves.fr (unknown [10.1.6.3])
by mta11.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id 681CA263D11;
Sun, 29 Jun 2025 11:55:33 +0000 (UTC)
Authentication-Results: garm.ovh; auth=pass
(GARM-110S00497ba67b2-c6b9-4813-9b95-cd0307621424,
544AAD86FD78221F2F1F74AC97A45D17BD07B043) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 37.167.86.100
From: Nicolas Graves <ngraves@HIDDEN>
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: services: nscd: Sanitize nscd-configuration's
implementation.
Date: Sun, 29 Jun 2025 13:52:41 +0200
Message-ID: <20250629115447.16729-3-ngraves@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250629115447.16729-1-ngraves@HIDDEN>
References: <20250629115447.16729-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 3006997178605363938
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdefjedrudeijedrkeeirddutddtnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepgedprhgtphhtthhopehpihgtnhhoihhrsegrlhhtvghrnhgrthhivhgvsghithdrfhhrpdhrtghpthhtohepjedutdeigeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=dI51hLHqMP29ONQzx+Vj/Z7iJ+4jS8CpOmx30NIsdKU=;
c=relaxed/relaxed; d=ngraves.fr; h=From;
s=ovhmo4487190-selector1; t=1751198139; v=1;
b=FHVgIunZzEwlxyZy6WGjevIDfOEFLK/1Txli4P6CRA5etRZqsdNgKmSia9qpFwRR8UNSVp7l
lV2FUEdZeS8GD6ElANrpYNjtRBUQ8cbuINWjO1OvIsYnp/RHAJFUfAgT3BkEB4YgskAKGbz51DM
DCJhO7RaUS6MPAjQdx5Hh6faErBNXAEofj88PtSCnckcmdLhFJfNXUUHjPo6CTO9MdqCoIwQN4V
Sy0R0h5nN7cQYvz6l3IGm6Glnrlb/8amJyCgjfvj3QNbqGRlicAFoYd8zqDWsboBPalmCPl42sg
cVeQvUIx662Mw41bZYaa2phcJCdMftEDZPykcjxDbEz4w==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 71064
Cc: picnoir@HIDDEN, ludo@HIDDEN,
Nicolas Graves <ngraves@HIDDEN>
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 (-)
* gnu/services/base.scm (<nscd-configuration>): Sanitize
nscd-configuration's implementation field with ...
(warn-unexpected-nscd-implementation): New procedure.
---
gnu/services/base.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index a81bdf809c..0c5b26ccb1 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1363,11 +1363,20 @@ (define-deprecated (mingetty-service config)
the tty to run, among other things."
(service mingetty-service-type config))
+(define-with-syntax-properties (warn-unexpected-nscd-implementation
+ (value properties))
+ (unless (member value '(glibc nsncd))
+ (leave (source-properties->location properties)
+ (G_ "The nscd-configuration object's implementation field supports \
+only 'glibc and 'nsncd values.")))
+ value)
+
(define-record-type* <nscd-configuration> nscd-configuration
make-nscd-configuration
nscd-configuration?
(implementation nscd-implementation
- (default 'glibc)) ;'glibc or 'nsncd
+ (default 'glibc) ;'glibc or 'nsncd
+ (sanitize warn-unexpected-nscd-implementation))
(log-file nscd-configuration-log-file ;string
(default #f))
(debug-level nscd-debug-level ;integer
--
2.49.0
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 29 Jun 2025 11:55:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 29 07:55:36 2025
Received: from localhost ([127.0.0.1]:55286 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1uVqdD-00040z-Bk
for submit <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:36 -0400
Received: from 9.mo563.mail-out.ovh.net ([46.105.73.201]:33283)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <ngraves@HIDDEN>)
id 1uVqd8-0003zv-5y
for 71064 <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:33 -0400
Received: from director2.derp.mail-out.ovh.net
(director2.derp.mail-out.ovh.net [79.137.60.36])
by mo563.mail-out.ovh.net (Postfix) with ESMTPS id 4bVSR42d5Vz6TSr;
Sun, 29 Jun 2025 11:55:28 +0000 (UTC)
Received: from director2.derp.mail-out.ovh.net
(director2.derp.mail-out.ovh.net. [127.0.0.1])
by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP
for <picnoir@HIDDEN>; Sun, 29 Jun 2025 11:55:28 +0000 (UTC)
Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.113.38])
by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id
4bVSR41T6yz1xwC; Sun, 29 Jun 2025 11:55:28 +0000 (UTC)
Received: from ngraves.fr (unknown [10.1.6.4])
by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id DF9F4BA41DA;
Sun, 29 Jun 2025 11:55:21 +0000 (UTC)
Authentication-Results: garm.ovh; auth=pass
(GARM-97G002ecae3bd8-1905-4665-972d-1d0ddb9771ff,
544AAD86FD78221F2F1F74AC97A45D17BD07B043) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 37.167.86.100
From: Nicolas Graves <ngraves@HIDDEN>
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: services: nscd: Add nsncd optional support.
Date: Sun, 29 Jun 2025 13:52:40 +0200
Message-ID: <20250629115447.16729-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.49.0
In-Reply-To: <20250629115447.16729-1-ngraves@HIDDEN>
References: <20250629115447.16729-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 3003900952829616861
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdefjedrudeijedrkeeirddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepfedprhgtphhtthhopehpihgtnhhoihhrsegrlhhtvghrnhgrthhivhgvsghithdrfhhrpdhrtghpthhtohepjedutdeigeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeifegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=KXjnjvxHi7asuwckgN31JZ2mQgWm0yk/eBL7H87lvZ8=;
c=relaxed/relaxed; d=ngraves.fr; h=From;
s=ovhmo4487190-selector1; t=1751198128; v=1;
b=wmfVaVIt0WVhRR8wCZrBsRXQJ8vAIP9w8Pr+ZH2+0z3iPnkBYwTYq/SDfWgMaW8D7yTtirjy
CnD0VytZ2xCBc3C9iA7Y/dCfGeBLI/QQtV5Go6o7TAoxnsfva82pfbAGPwvvVW+PZ9xcoxSpRH/
Qf4eI6rwmYJa1OGrtq64NarEvJtN5MBxc5o0KkioRXOs48nQ/4vgMwnAIKAyXdy2RQyvy+xoxtS
Li8Kn0a0Lk2FCmxMG9P0kZ/N77grkuRhp9L3GrZwzam/tKIdgl2j1YXK6rjSnemo479+RLuk9/y
yGQN73gus6DH2ctUHEFnfzz1npNr3rR+X1l420Mzy7mug==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 71064
Cc: picnoir@HIDDEN, ludo@HIDDEN
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 (-)
From: Picnoir <picnoir@HIDDEN>
Add nsncd optional support for nscd-configuration.
* gnu/services/base.scm (<nscd-configuration>): Add implementation field.
(nscd-shepherd-service-type)[start]: Update forkexec-constructor
accordingly.
Change-Id: I73d03bd149ff005130e1ed2532e1b4b0e3d572f5
---
gnu/services/base.scm | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 88dbcbf72a..a81bdf809c 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -84,6 +84,7 @@ (define-module (gnu services base)
#:select (bcachefs-tools exfat-utils jfsutils zfs))
#:use-module (gnu packages fonts)
#:use-module (gnu packages terminals)
+ #:use-module (gnu packages nss)
#:use-module ((gnu packages wm) #:select (sway))
#:use-module ((gnu build file-systems)
#:select (mount-flags->bit-mask
@@ -1365,6 +1366,8 @@ (define-deprecated (mingetty-service config)
(define-record-type* <nscd-configuration> nscd-configuration
make-nscd-configuration
nscd-configuration?
+ (implementation nscd-implementation
+ (default 'glibc)) ;'glibc or 'nsncd
(log-file nscd-configuration-log-file ;string
(default #f))
(debug-level nscd-debug-level ;integer
@@ -1543,12 +1546,20 @@ (define (nscd-shepherd-service config)
(requirement '(user-processes syslogd))
(start #~(make-forkexec-constructor
- (list #$nscd "-f" #$nscd.conf "--foreground")
+ #$(match (nscd-implementation config)
+ ('glibc
+ #~(list #$nscd "-f" #$nscd.conf "--foreground"))
+ ('nsncd
+ #~(list #$(file-append nsncd "/bin/nsncd"))))
- ;; Wait for the PID file. However, the PID file is
- ;; written before nscd is actually listening on its
- ;; socket (XXX).
- #:pid-file "/var/run/nscd/nscd.pid"
+ #$@(match (nscd-implementation config)
+ ('glibc
+ ;; Wait for the PID file. However, the PID file is
+ ;; written before nscd is actually listening on its
+ ;; socket (XXX).
+ #~(#:pid-file "/var/run/nscd/nscd.pid"))
+ ('nsncd
+ #~()))
#:environment-variables
(list (string-append "LD_LIBRARY_PATH="
--
2.49.0
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.Received: (at 71064) by debbugs.gnu.org; 29 Jun 2025 11:55:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 29 07:55:19 2025 Received: from localhost ([127.0.0.1]:55281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uVqcw-0003vH-LD for submit <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:19 -0400 Received: from 1.mo562.mail-out.ovh.net ([178.33.109.175]:57279) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>) id 1uVqcr-0003sD-MP for 71064 <at> debbugs.gnu.org; Sun, 29 Jun 2025 07:55:16 -0400 Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net [79.137.60.36]) by mo562.mail-out.ovh.net (Postfix) with ESMTPS id 4bVSQl2RbGz2GWQ; Sun, 29 Jun 2025 11:55:11 +0000 (UTC) Received: from director2.derp.mail-out.ovh.net (director2.derp.mail-out.ovh.net. [127.0.0.1]) by director2.derp.mail-out.ovh.net (inspect_sender_mail_agent) with SMTP for <picnoir@HIDDEN>; Sun, 29 Jun 2025 11:55:11 +0000 (UTC) Received: from mta2.priv.ovhmail-u1.ea.mail.ovh.net (unknown [10.110.178.248]) by director2.derp.mail-out.ovh.net (Postfix) with ESMTPS id 4bVSQl14fvz1xwh; Sun, 29 Jun 2025 11:55:11 +0000 (UTC) Received: from ngraves.fr (unknown [10.1.6.6]) by mta2.priv.ovhmail-u1.ea.mail.ovh.net (Postfix) with ESMTPSA id CB827BA41DA; Sun, 29 Jun 2025 11:55:01 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-107S00185644d14-615f-4168-88eb-314ce4762ef1, 544AAD86FD78221F2F1F74AC97A45D17BD07B043) smtp.auth=ngraves@HIDDEN X-OVh-ClientIp: 37.167.86.100 From: Nicolas Graves <ngraves@HIDDEN> To: 71064 <at> debbugs.gnu.org Subject: [PATCH v2 0/2] nscd: Add nsncd optional support. Date: Sun, 29 Jun 2025 13:52:39 +0200 Message-ID: <20250629115447.16729-1-ngraves@HIDDEN> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2999115878959604450 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdefjedrudeijedrkeeirddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepgedprhgtphhtthhopehpihgtnhhoihhrsegrlhhtvghrnhgrthhivhgvsghithdrfhhrpdhrtghpthhtohepjedutdeigeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehluhguohesghhnuhdrohhrghdprhgtphhtthhopehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpoffvtefjohhsthepmhhoheeivdgmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=2DvNp2MkQkSXxT/kayoKQWX/h+F7JkI8uZCiT79G95w=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1751198111; v=1; b=Ew3wSQDfQHqx8XB18oP9AnqULjsEF11F8TW3BT6XlURnzbdv2VV5kPidxrHjsYUjLctJKFtt 2yMyOgUTN0gFbgLN4odcYVYFEJbShNrcW21uGH16KfOihUrLgGTbpMVNXnXtBinfouHQaJ83c21 SvYXtR6T/aMFkZjyOHoaUGVY0n3IGRLRyhPwy7ae/xr7XmZNJ2eLUfGPYkHFpzHM08JjsHT992l /LNagnutH8aHAtZg6eB9q2QWjbPoQ+S8XRpOgbB5t66aZn8g3W6E3hH5xeo6RppBFoPTwFtlxgj tuXGyMEcEoS0vMpJlx4pNIq4XD8EzJUXWNLKPqKf285lQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71064 Cc: picnoir@HIDDEN, ludo@HIDDEN, Nicolas Graves <ngraves@HIDDEN> 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 (-) I met picnoir recently and we finished the patch series. I added some sanitizer to ensure only 'glibc and 'nsncd are accepted on <nscd-configuration> definitions. I can rework it further if there's a need to. Nicolas Graves (1): gnu: services: nscd: Sanitize nscd-configuration's implementation. Picnoir (1): gnu: services: nscd: Add nsncd optional support. gnu/services/base.scm | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) -- 2.49.0
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.Received: (at 71064-quiet) by debbugs.gnu.org; 13 Feb 2025 15:54:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 10:54:47 2025 Received: from localhost ([127.0.0.1]:45052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tibY7-0001YE-Es for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 10:54:47 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:38940) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <steve@HIDDEN>) id 1tibY4-0001Xv-13 for 71064-quiet <at> debbugs.gnu.org; Thu, 13 Feb 2025 10:54:45 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <steve@HIDDEN>) id 1tibXv-002mrK-C0; Thu, 13 Feb 2025 16:54:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector2; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date; bh=I31cu9DVgzDedJgmqAusYWb4aNz/PASXK+dMhz50REw=; b=lL5a/QfTntGn6CzuEnFGcLUoGc 3TGxkLbGzTgpQwO3WoEwVnCy/yZslQPl51ujKkJxuOyHV3SKPY8GVkrmZHWsnbqxuZEHSlJOZ48ei 9m5IwXUnS6AFg1uR5g/x7i6DzbRHdMc9hKGWSQ8cv6B8CFAKBdk4/3Xb7ibxNqzgdCKwOz6ISlCOr 4qOzc4BEJKewmCxoRlcVR13n495bYMU+ycRGNMYSBH7sOKd45IN+KxA+mTboJqtJ+3lx1grS+LqgF CgnkmoFeuurPjlKfJbyJrE6PgvKlNU+coh4x7o2Uti0FKGWfvCOlcqNEGTBD9vPorH8cxOuVsCwBd tmGgqB0g==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from <steve@HIDDEN>) id 1tibXp-0001iD-SE; Thu, 13 Feb 2025 16:54:30 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1tibXh-009wi9-SA; Thu, 13 Feb 2025 16:54:21 +0100 Date: Thu, 13 Feb 2025 15:54:21 +0000 From: Steve George <steve@HIDDEN> To: Picnoir <picnoir@HIDDEN> Subject: Re: bug#71064: Bumping final part of Nsncd (#71064) Message-ID: <Z64VrSkrbhjNymH4@dragon2> References: <Z6z5zwTbdkdrAgxA@dragon2> <242acb32-fa6f-4d42-8213-3654bf7ceb8a@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <242acb32-fa6f-4d42-8213-3654bf7ceb8a@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064-quiet Cc: 71064-quiet <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.7 (-) On 13 Feb, Picnoir wrote: > Hey Steve, > > To be fully honest, I did not really use Guix since last May. > > I'll give a go at updating my Guix setup, figure out how to send a second > revision and close this issue next weekend (February 15, 16). > > If folks don't hear from my by then, feel free to take over this patch serie > and push it to the finish line. (...) Hi Picnoir - hopefully I'm encouraging you to 'get back to Guix' then ;-)) Understood, I'll keep it on my watch list! Steve / Futurile
Received: (at 71064-quiet) by debbugs.gnu.org; 13 Feb 2025 12:01:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 07:01:14 2025 Received: from localhost ([127.0.0.1]:41083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tiXu5-00037k-R2 for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 07:01:14 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:52276) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <picnoir@HIDDEN>) id 1tiXtz-00036y-Jj for 71064-quiet <at> debbugs.gnu.org; Thu, 13 Feb 2025 07:01:12 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Ytv086wGVz9tgD; Thu, 13 Feb 2025 13:00:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr; s=MBO0001; t=1739448057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i8n14MxDacpkyuIpxlt0FkMmPU+LtHyg9ZWP+awHPWQ=; b=NW+2cCvzz3D4rRyGJWMUAWKSbzrgZxmUvc3L0hCbE8GxvWuEklu+UNqFLa152qk3DCya8g faIny1XFrKfO3fd8q04rCLzt3r66XsBsGBwd3X1QGOb1OayBnKECjPPX+x849oUKC/EZ9n h2/N/nLcPHCoIxJnFe3WbSzCX7NYURSlpxTGqPIzTsYypCS4dRWe8rG91cf1SQDdpqj4r2 G+waKqcwqEs9D3yJv+7xiPXPHaKuUtii3wx/jxCnL6WZXo1vU6nFWER4De8og+hIMKfKYv rAU2sVcW18E5pSpclFwyY1u6/wmMMu9Rm77JOesXL+eb4VaGVYidDqWAD0ZhUQ== Message-ID: <242acb32-fa6f-4d42-8213-3654bf7ceb8a@HIDDEN> Date: Thu, 13 Feb 2025 13:00:49 +0100 MIME-Version: 1.0 Subject: Re: bug#71064: Bumping final part of Nsncd (#71064) To: Steve George <steve@HIDDEN>, 71064-quiet <at> debbugs.gnu.org References: <Z6z5zwTbdkdrAgxA@dragon2> Content-Language: en-US From: Picnoir <picnoir@HIDDEN> In-Reply-To: <Z6z5zwTbdkdrAgxA@dragon2> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Ytv086wGVz9tgD X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064-quiet 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.7 (-) Hey Steve, To be fully honest, I did not really use Guix since last May. I'll give a go at updating my Guix setup, figure out how to send a second revision and close this issue next weekend (February 15, 16). If folks don't hear from my by then, feel free to take over this patch serie and push it to the finish line.
Received: (at 71064-submitter) by debbugs.gnu.org; 12 Feb 2025 19:43:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 14:43:46 2025 Received: from localhost ([127.0.0.1]:38379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tiIeA-0004Ww-Fb for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 14:43:46 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:32800) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <steve@HIDDEN>) id 1tiIe2-0004WP-UL; Wed, 12 Feb 2025 14:43:40 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <steve@HIDDEN>) id 1tiIdw-000UO5-DT; Wed, 12 Feb 2025 20:43:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector2; h=Content-Type:MIME-Version:Message-ID:Subject: To:From:Date; bh=hStADhdaYzqA3ct4F62bHQH7ZBEEdB/3POoaZoTjE4g=; b=VTS3ejW12jvh A2jxfhGidU4Tw1jDBuKZ3kjIbb7RjxKSYynJwo3Vy75Mee+8NQbyCJUAFkGTfF1kdAasELFZzRUVq qiYQvVO0aZgZatoy5LhDTBv1SK0uzaQ3GCBcC5XI4+WDhgg/GMX0C5wfp9N5Klv8Ut26TSRSapnZ2 O6/rSDG+696BaehxroUvhulqOABAxv2u8W3+wf+QPM0wk5h/p6hyiXaXj/e+1jt7wyVjeThybe7WP OAvbtB2N5J2DAX9dY8Xj8dnYcXhffuh1y5dy/22ZFGaEXCARst+yJuZdHaWojpaJQrnmHe1xWwVtP N+ORQxHmPRxJhIyYh4Pr8g==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from <steve@HIDDEN>) id 1tiIdt-00033I-JJ; Wed, 12 Feb 2025 20:43:32 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1tiIdc-002er6-Gm; Wed, 12 Feb 2025 20:43:12 +0100 Date: Wed, 12 Feb 2025 19:43:11 +0000 From: Steve George <steve@HIDDEN> To: 71064 <at> debbugs.gnu.org, 71064-submitter <at> debbugs.gnu.org Subject: Bumping final part of Nsncd (#71064) Message-ID: <Z6z5zwTbdkdrAgxA@dragon2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064-submitter 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.7 (-) Hi, It seems there's just a small bit left on this Nsncd service update. Picnoir - Will you be able to respond to the comments: https://issues.guix.gnu.org/issue/71064#9 Thanks, Steve / Futurile
picnoir@HIDDEN:Received: (at 71064) by debbugs.gnu.org; 12 Feb 2025 19:43:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 12 14:43:42 2025 Received: from localhost ([127.0.0.1]:38377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tiIe6-0004Wi-3S for submit <at> debbugs.gnu.org; Wed, 12 Feb 2025 14:43:42 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:32800) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <steve@HIDDEN>) id 1tiIe2-0004WP-UL; Wed, 12 Feb 2025 14:43:40 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <steve@HIDDEN>) id 1tiIdw-000UO5-DT; Wed, 12 Feb 2025 20:43:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector2; h=Content-Type:MIME-Version:Message-ID:Subject: To:From:Date; bh=hStADhdaYzqA3ct4F62bHQH7ZBEEdB/3POoaZoTjE4g=; b=VTS3ejW12jvh A2jxfhGidU4Tw1jDBuKZ3kjIbb7RjxKSYynJwo3Vy75Mee+8NQbyCJUAFkGTfF1kdAasELFZzRUVq qiYQvVO0aZgZatoy5LhDTBv1SK0uzaQ3GCBcC5XI4+WDhgg/GMX0C5wfp9N5Klv8Ut26TSRSapnZ2 O6/rSDG+696BaehxroUvhulqOABAxv2u8W3+wf+QPM0wk5h/p6hyiXaXj/e+1jt7wyVjeThybe7WP OAvbtB2N5J2DAX9dY8Xj8dnYcXhffuh1y5dy/22ZFGaEXCARst+yJuZdHaWojpaJQrnmHe1xWwVtP N+ORQxHmPRxJhIyYh4Pr8g==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from <steve@HIDDEN>) id 1tiIdt-00033I-JJ; Wed, 12 Feb 2025 20:43:32 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1tiIdc-002er6-Gm; Wed, 12 Feb 2025 20:43:12 +0100 Date: Wed, 12 Feb 2025 19:43:11 +0000 From: Steve George <steve@HIDDEN> To: 71064 <at> debbugs.gnu.org, 71064-submitter <at> debbugs.gnu.org Subject: Bumping final part of Nsncd (#71064) Message-ID: <Z6z5zwTbdkdrAgxA@dragon2> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 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.7 (-) Hi, It seems there's just a small bit left on this Nsncd service update. Picnoir - Will you be able to respond to the comments: https://issues.guix.gnu.org/issue/71064#9 Thanks, Steve / Futurile
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.Received: (at 71064) by debbugs.gnu.org; 2 Jun 2024 18:56:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 02 14:56:17 2024 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sDqNM-0007gb-MP for submit <at> debbugs.gnu.org; Sun, 02 Jun 2024 14:56:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1sDqNL-0007gQ-GS for 71064 <at> debbugs.gnu.org; Sun, 02 Jun 2024 14:56:16 -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 1sDqN3-0000Tz-DV; Sun, 02 Jun 2024 14:55:57 -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=nDBkRgKZQtrIIq+mAUKmOOXJxHWLhB16mPWOBbcX4J0=; b=DEfq/ScOjAjFpDRtlF2l dMC4Anqbr7xqlF2Ay8ywY5As+N0eekHxPOOt8vyey9cbH67u2RveiW9HsGioxXtS61+HeOjci110S uqAIcvUmnrB2ldel92Aa9ajX66eHrh2OmQEvz9nKgELKR0cSUDo0kCXti0E8N5w2Tup7In49ycQO5 0TrHXia5NPfJOrAddH1dM+Pv++zr4ORoGQqjlsx1+LTj7wTNTtWUEwQbxPnyqNOzaFcT69NxeV0Jz fP2yWJiL8dfwezlCZw3/SoTdjSboKFEWMj8huv8hXnWqVk+7zacUl5+EvuuvaIHxNugWt/2K57BnB iUGj5HihOtiouw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: picnoir@HIDDEN Subject: Re: [bug#71064] [PATCH 7/7] gnu: services: nscd: add Nsncd optional support. In-Reply-To: <cb8c3c48fb9affbab0a748be01f4afa743ad6ff2.1716121731.git.picnoir@HIDDEN> (picnoir@HIDDEN's message of "Sun, 19 May 2024 14:46:27 +0200") References: <cover.1716121730.git.picnoir@HIDDEN> <cb8c3c48fb9affbab0a748be01f4afa743ad6ff2.1716121731.git.picnoir@HIDDEN> Date: Sun, 02 Jun 2024 20:55:54 +0200 Message-ID: <87zfs3jhs5.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 71064 Cc: 71064 <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 (---) Hi, picnoir@HIDDEN skribis: > From: Picnoir <picnoir@HIDDEN> > > * gnu/services/base.scm (services: nscd: add Nsncd optional support): Add= a > new nscd-use-nscd? field in the Nscd configuration record. When set to #t= , the > nscd service will use Nsncd in place of the Glibc's Nscd. I'm not 100% su= re > adding this to the existing Nscd service is a good idea, it's however the= most > convenient option for now. Or is it? :) Well, there needs to be a flag somehow. :-) Nitpick: could you describe the changes at a syntactic level in the commit log? I know our conventions aren=E2=80=99t common today, so whoever commits it can eventually tweak it on your behalf if needed. > + (use-nsncd? nscd-use-nsncd? ;boolean > + (default #t)) I=E2=80=99m tempted to make it: (implementation nscd-implementation (default 'glibc)) And thus 'nsncd would be the other supported value. Do you think that makes sense? Anyhow, could you adjust doc/guix.texi to mention the new field? Apart from that, the patch looks good to me. Could you send an updated version? Thanks! Ludo=E2=80=99.
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.Received: (at 71064) by debbugs.gnu.org; 2 Jun 2024 18:52:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 02 14:52:26 2024 Received: from localhost ([127.0.0.1]:60275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sDqJe-0007b8-16 for submit <at> debbugs.gnu.org; Sun, 02 Jun 2024 14:52:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1sDqJa-0007av-PM for 71064 <at> debbugs.gnu.org; Sun, 02 Jun 2024 14:52:23 -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 1sDqJH-0008R6-QS; Sun, 02 Jun 2024 14:52:03 -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=sZD6fG9HTj04U5bd6mCQNfVyGN+cPgg0Jy3NI+sa9uU=; b=oFOdNELu8cnOM5pq1iac sOJ6B81CSRhY3VQJFzl9kXFUT7lOaeZYgYbWN0X+cHz2s2r0t6U9Dw7tcrt4YPY3MWk1k9/dq8htG qRILPC7yIH9ktc/F8a/D66sjL2OWtTzeGvcyED+zSCns000k48QvqQZyltGcn5uVTbsASXCoxFZ7h /h+B4Ifq7CjNfnBGXk/dGtCS4yJMlk7Ei9ZXQr3CPgPEKTcel3bTO6UnlfvfG7gr3TvRXmpUNwRUm riMmqyWcMGtNQefZcx6xoaZHJ90Ga0UT7N6XeWjHmqMY+Enn+U6cxviUFY+XetX5yciqoHj8f8Itf lxAoLvkVbRVnag==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: picnoir@HIDDEN Subject: Re: [bug#71064] [PATCH 0/7] Nsncd: Introduce package + nscd service update In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN> (picnoir@HIDDEN's message of "Sun, 19 May 2024 14:34:47 +0200") References: <cover.1716121730.git.picnoir@HIDDEN> Date: Sun, 02 Jun 2024 20:52:00 +0200 Message-ID: <874jabkwj3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) 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: 71064 Cc: 71064 <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 (---) Howdy Picnoir, Thanks for the patch set! As you write, nsncd is going to be very useful for Nix and Guix, so this is a much welcome addition. picnoir@HIDDEN skribis: > gnu: Add rust-libc-0.2.153. > gnu: Add rust-nix-0.28. > gnu: Add rust-dns-lookup-2. > gnu: Add rust-temp-env-0.3. > gnu: Add rust-slog-async-2-8. > gnu: Add nsncd. > gnu: services: nscd: add Nsncd optional support. I applied everything but the last patch. I took the liberty to tweak descriptions as per our guidelines=C2=B9, adding me as co-author. I also changed the =E2=80=98version=E2=80=99 field of nsncd to remove the =E2=80= =9Cunstable-=E2=80=9D prefix. Let me know if anything=E2=80=99s amiss. As for the last patch, I=E2=80=99ll comment separately. Thanks, Ludo=E2=80=99. =C2=B9 https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descript= ions.html
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:47:26 2024
Received: from localhost ([127.0.0.1]:36244 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwk-0008TJ-Hn
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:26 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:52193)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwj-0008Su-9E
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:25 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6FAE91C0003;
Sun, 19 May 2024 12:46:55 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122815;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=NQPy59AV5DQdAgUNdPho2T/vv7ULsniYcwvpHyOxE5A=;
b=RIqiT0Mp9VRnbAeLSjBZOR6lp8nfXl2ivhRY78StA+MbYn5xRjB+OrZMXdZDNWbS2VZ4Up
6IbzNeXfeauOsxh1LJntRRqOJdIP1RSUU2B+MxXrjA51yu7WtvGMJlAkdQkbztmgrMhjR/
ZGRCLTRZxuJViV7I9pb4dR/TiyI05CvybpiilptqCYKaaVbwv/kVV8CF1ihC4nNctTRJh+
/zpm7NuHQxJ6kaWLoJnDPX/AESp9WtFPYbRVGDYqeoCqdgT5DXMEBl5HRFd88OZg7zlM4W
9eHQIVqJlkMRS5Bvj0evmKHgYhXCnqMcBaLcSyd3ffGnDmr/qKbHd4F+qver0Q==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 7/7] gnu: services: nscd: add Nsncd optional support.
Date: Sun, 19 May 2024 14:46:27 +0200
Message-ID: <cb8c3c48fb9affbab0a748be01f4afa743ad6ff2.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/services/base.scm (services: nscd: add Nsncd optional support): Add a
new nscd-use-nscd? field in the Nscd configuration record. When set to #t, the
nscd service will use Nsncd in place of the Glibc's Nscd. I'm not 100% sure
adding this to the existing Nscd service is a good idea, it's however the most
convenient option for now. Or is it? :)
Change-Id: I73d03bd149ff005130e1ed2532e1b4b0e3d572f5
---
gnu/services/base.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 85160bd3ab..66306384c0 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -79,6 +79,7 @@ (define-module (gnu services base)
#:select (bcachefs-tools exfat-utils jfsutils zfs))
#:use-module (gnu packages fonts)
#:use-module (gnu packages terminals)
+ #:use-module (gnu packages nss)
#:use-module ((gnu packages wm) #:select (sway))
#:use-module ((gnu build file-systems)
#:select (mount-flags->bit-mask
@@ -1284,6 +1285,8 @@ (define-deprecated (mingetty-service config)
(define-record-type* <nscd-configuration> nscd-configuration
make-nscd-configuration
nscd-configuration?
+ (use-nsncd? nscd-use-nsncd? ;boolean
+ (default #t))
(log-file nscd-configuration-log-file ;string
(default "/var/log/nscd.log"))
(debug-level nscd-debug-level ;integer
@@ -1447,12 +1450,14 @@ (define (nscd-shepherd-service config)
(requirement '(user-processes syslogd))
(start #~(make-forkexec-constructor
- (list #$nscd "-f" #$nscd.conf "--foreground")
+ #$(if (nscd-use-nsncd? config)
+ #~(list #$(file-append nsncd "/bin/nsncd"))
+ #~(list #$nscd "-f" #$nscd.conf "--foreground"))
;; Wait for the PID file. However, the PID file is
;; written before nscd is actually listening on its
;; socket (XXX).
- #:pid-file "/var/run/nscd/nscd.pid"
+ #$@(if (nscd-use-nsncd? config) '() '(#:pid-file "/var/run/nscd/nscd.pid"))
#:environment-variables
(list (string-append "LD_LIBRARY_PATH="
--
2.41.0
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:47:26 2024
Received: from localhost ([127.0.0.1]:36242 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwk-0008TH-5E
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:26 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:34425)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwh-0008Sm-5k
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:23 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 626AD1BF205;
Sun, 19 May 2024 12:46:53 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122813;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=zJ1R31A6AQc5rz+A+GB/sVL0EWfQIV5MHE+Y3zcpwhk=;
b=ArPSE8uRqj6rsI6190uNoMepamYyJk9XOzZnlD2zXVQ1bEw1Vto2etdrkykRA1/FUIEOT1
LoHozUmkoC8ZM6l0sJxyYo6V4ob5EqZYJbY6tCfrgHGIY20w3pSfhIvED0dvNitIg9fNtD
Upa6UEQWNeIQtcA/oOOQeSIjyl04ENH5PQhMKb0QaD9HdlrRZhRs5URWC4Wt6J0OOr/SBr
4Lou2q7u5lwLzXXZrgmHI2f9LDYHblhNcvtb35/uB2BzGoKzsS3b/L+2Bl+iohDcoX7L/f
ZVP9lfVd+wXzWlKHUvNBr6xNecn+rQTdGIiw0irR5n5h4hokd1nVZT/l1VE+cQ==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 6/7] gnu: Add nsncd.
Date: Sun, 19 May 2024 14:46:26 +0200
Message-ID: <cce059070b36f3007fa8db1003930b8fea980314.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/nss.scm (nsncd): New variable. Introducing Nsncd, a non-caching
alternative of Glibc Nscd.
Change-Id: I18ba7ffbb6fb59c4928829bb98a8da4e6963e587
---
gnu/packages/nss.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/nss.scm b/gnu/packages/nss.scm
index 162e748094..492b5ef3bd 100644
--- a/gnu/packages/nss.scm
+++ b/gnu/packages/nss.scm
@@ -28,6 +28,8 @@ (define-module (gnu packages nss)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module (guix build-system cargo)
#:use-module (guix build-system gnu)
#:use-module (guix build-system mozilla)
#:use-module ((guix licenses) #:prefix license:)
@@ -35,6 +37,7 @@ (define-module (gnu packages nss)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages check)
+ #:use-module (gnu packages crates-io)
#:use-module (gnu packages compression)
#:use-module (gnu packages perl)
#:use-module (gnu packages sqlite))
@@ -286,3 +289,44 @@ (define-public nss/fixed
;; work around that, set the time to roughly the release date.
(invoke "faketime" "2024-01-23" "./nss/tests/all.sh"))
(format #t "test suite not run~%"))))))))))))
+
+(define-public nsncd
+ (package
+ (name "nsncd")
+ (version "unstable-2024-04-09")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/twosigma/nsncd")
+ (commit "7605e330d5a313a8656e6fcaf1c10cd6b5cdd427")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hk8bh2a02nyk3rpzbjx1a2iiz15d0vx3ysa180wmr8gsc9ymph5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--"
+ ; These tests fail with the current builder network setup
+ "--skip=ffi::test_gethostbyaddr_r"
+ "--skip=ffi::test_gethostbyname2_r")
+ #:cargo-inputs
+ (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-atoi" ,rust-atoi-2)
+ ("rust-slog" ,rust-slog-2)
+ ("rust-slog-async" ,rust-slog-async-2-8)
+ ("rust-slog-term" ,rust-slog-term-2)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-nix" ,rust-nix-0.28)
+ ("rust-num-derive" ,rust-num-derive-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-sd-notify" ,rust-sd-notify-0.4)
+ ("rust-static-assertions" ,rust-static-assertions-1)
+ ("rust-dns-lookup" ,rust-dns-lookup-2))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.5)
+ ("rust-temp-env" ,rust-temp-env-0.3))))
+ (home-page "https://github.com/twosigma/nsncd")
+ (synopsis "The name service non-caching daemon")
+ (description "The name service non-caching daemon")
+ (license (list license:asl2.0))))
--
2.41.0
guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:47:22 2024
Received: from localhost ([127.0.0.1]:36236 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwf-0008T0-Qt
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:22 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38795)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwe-0008Sg-3q
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:20 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 0520F1BF203;
Sun, 19 May 2024 12:46:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122810;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=OxGfQWfFgaatTWXnmBnQJeQUm4REJz/3TUsJ55uUxwI=;
b=LXwj4T2AVOFmydzNnA22MUJBMSbYh2NbDXo7ufAMfrIsdMyStpCj9IbJHggyvVypKSS80c
H6ovOcKsBDNPg1SJzzHe5SCawqZr1k9JtE2mXZuJEUkO8hA9Wcoe0VBgcCqokuXRKoM9JS
SK8CuigQVQg8mscbZKTTyTcHVY90jrQpDh9Nn/lVePg2rzqw8UebLTQfXnHh+0SAByr3Dh
9ZJCGuJedMVnvsRxZXW1CWx6Q1ockXl7kd3Yh6wj2PgmlVIlAgmJNkeGF2trQTmO5wy5+K
br9KxerLl+1weyabC2Oap5/uD34MFitmImalcNc5ylV8uicw4P0ZIGqcm4v3Fg==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 5/7] gnu: Add rust-slog-async-2-8.
Date: Sun, 19 May 2024 14:46:25 +0200
Message-ID: <980baf17bbca36e2e5dfc7e1fbc1c14e87e9fdbf.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/crates-io.scm (rust-slog-async-2-8): New variable. Required by
Nsncd.
Change-Id: I9f1a6041c92760b481acc30c0bddd28330b98b2c
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b71e1d588..2f574ee255 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62944,6 +62944,28 @@ (define-public rust-slog-async-2
(description "This package provides an asynchronous drain for slog.")
(license (list license:mpl2.0 license:expat license:asl2.0))))
+(define-public rust-slog-async-2-8
+ (package
+ (name "rust-slog-async")
+ (version "2.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "slog-async" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "113b17aw7jx7mr68vwfq2yiv6mb4702hz6a0g587jb4ai67h7j3j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-slog" ,rust-slog-2)
+ ("rust-take-mut" ,rust-take-mut-0.2)
+ ("rust-thread-local" ,rust-thread-local-1))))
+ (home-page "https://github.com/slog-rs/slog")
+ (synopsis "Asynchronous drain for slog-rs")
+ (description "Asynchronous drain for slog-rs")
+ (license (list license:mpl2.0 license:expat license:asl2.0))))
+
(define-public rust-slog-kvfilter-0.7
(package
(name "rust-slog-kvfilter")
--
2.41.0
efraim@HIDDEN, guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:47:18 2024
Received: from localhost ([127.0.0.1]:36232 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwc-0008Sn-Cz
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:18 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35271)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwZ-0008SR-CY
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:16 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 0515220002;
Sun, 19 May 2024 12:46:44 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122805;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=FR+XIn3400MNJIik7MYKK0QFJlrnKSp8jVsjSnakagI=;
b=R3Rtgi+TABrZ4hC3qlzryjk7sl+q/ra+OCBZFe9L/IlO3FGI+gAaCgTusbsNSHxdHs6gZL
XGA+F8m7BG0OVkXzZshQey0ZMCt9zbJ0Y7rRbwv0e73WjND8JHEmXFO2o67d1n8rx5i9lD
EDI+d9Z7SAbod69A3wgIXjhOu/NjfgOp5g9qdkcLtkPw8KRKpERNpaQZ5HKUQ2K6uTAHkF
l2nWvRBNUe/mf+/+mm1J5V4h+iUL9jO8HJg7kgwIITiLQqoEI8VQM27ONkledAplGfvoqN
GC3VaXh0YF7P7AP7VPbOL0cXSnICQx2N0tCA/x5j+NiLY8cLrzzqxkiTDwQaXg==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 3/7] gnu: Add rust-dns-lookup-2.
Date: Sun, 19 May 2024 14:46:23 +0200
Message-ID: <8e7a44e03a7a7ddedf6068287ef58471b7689732.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/crates-io.scm (rust-dns-lookup-2): New variable. Required by
Nsncd.
Change-Id: I66a8488c93cc0c119417270db93733424a791069
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ecae320792..1753dc0ac8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19942,6 +19942,31 @@ (define-public rust-dns-parser-0.8
not support network, only raw protocol parser.")
(license (list license:expat license:asl2.0))))
+(define-public rust-dns-lookup-2
+ (package
+ (name "rust-dns-lookup")
+ (version "2.0.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dns-lookup" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z74n2zij2gahycabm0gkmkyx574h76gwk7sz93yqpr3qa3n0xp5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-socket2" ,rust-socket2-0.5)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))))
+ (home-page "https://github.com/keeperofdakeys/dns-lookup/")
+ (synopsis
+ "A simple dns resolving api, much like rust's unstable api. Also includes getaddrinfo and getnameinfo wrappers for libc variants.")
+ (description
+ "This package provides a simple dns resolving api, much like rust's unstable api.
+ Also includes getaddrinfo and getnameinfo wrappers for libc variants.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-dns-sd-0.1
(package
(name "rust-dns-sd")
--
2.41.0
efraim@HIDDEN, guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:47:14 2024
Received: from localhost ([127.0.0.1]:36228 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwY-0008SZ-10
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:14 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34967)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwW-0008SQ-84
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:47:12 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 010A21C0002;
Sun, 19 May 2024 12:46:41 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122802;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=7t42KM9Pzx9x4J4DIcfTvHjF6FpujkXMOvHGqd6XSXQ=;
b=c2ltkBA/Oidgp34fY3gxy7ahe188ZGRjVUZD6ndBiMotdEFqwdU/bik+Cr1qt4Uw2TMEhE
hLZRufJlux+RRWYb8vadaMnLmEyN3Bl0wBmv64dY+ulsUxHIuMhhRSoJ51rt03p+ZuKi8+
uGfj0d0wf8B1iLGwm0sgxrCUjXlVM52umm4HbTfSbZjkE45vS5Mszr+rcJrDIigmdV3f/U
2Jrxts5ofGMeCEb3zvFSiInBCcdjOGVBtiKUjBUXd81Ho6YyLjC/hPJfozVvh+U/iS3xzF
+VWfX1pRDmDITqF2Ipz4/ds+LAuhwY0malqPdD7iwLpj6vWBr44ReCqAduoqqg==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 2/7] gnu: Add rust-nix-0.28.
Date: Sun, 19 May 2024 14:46:22 +0200
Message-ID: <5faf20cbe9f32a93fbe28ae55f66ec94ac11bdf4.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable. Required by Nsncd.
Change-Id: I51964d3be9cfb5e78b727a1a9e400fb61e57321f
---
gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e8e643589a..ecae320792 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41005,6 +41005,37 @@ (define-public rust-nispor-1
(description "Unified interface for Linux network state querying.")
(license license:asl2.0)))
+(define-public rust-nix-0.28
+ (package
+ (name "rust-nix")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
+ ("rust-libc" ,rust-libc-0.2.153)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/nix-rust/nix")
+ (synopsis "Rust friendly bindings to *nix APIs")
+ (description "Rust friendly bindings to *nix APIs")
+ (license license:expat)))
+
(define-public rust-nix-0.27
(package
(name "rust-nix")
--
2.41.0
efraim@HIDDEN, guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:46:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:46:59 2024
Received: from localhost ([127.0.0.1]:36220 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwI-0008RX-LV
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:46:58 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:47543)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fwG-0008RN-VE
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:46:57 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 3578660002;
Sun, 19 May 2024 12:46:47 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122807;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=JY1/cpVlJiTOMiyEAvO9y/JaZkH+gLhfWFG9QBsvY7c=;
b=UoshXgn47/cHIEGKfS4jF2cIMMymyMZSgDWGBzqbRZg4g8D3fdMGYnUOUYlwhHJWRYrnfm
ssh+loE1YpqqSaFrCFu1wgs7U/ijTE+x9IZT98iTDpgGijTE8PGpYPenNdQ5Warybkcivy
JolEPAQ/KYzBj3hO/i1iRvCRwM4wGauqnX3Or7BR7QajlkQIqi3cJXxVgpqOFSr0+GwEkP
Ojh/inF+8uyIMps7xLXJTsVCPgzB2biwKPZZwbpZzm0e6L7Ieidosh48U8uBodTigPS4/Q
iPKzaOMJMSZJ2bPpcCJGbod8FDcaZoNa9A2OxRiUOgGoWnh2Xogaz6Z5Ycu1mA==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 4/7] gnu: Add rust-temp-env-0.3.
Date: Sun, 19 May 2024 14:46:24 +0200
Message-ID: <032dbe64894d0187026e9e7fc52ace0947222b16.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/crates-io.scm (rust-temp-env-0.3): New variable. Required by
Nsncd.
Change-Id: I0cf5084339b889aa6fdaeeeca7b6be2ffcdcb48c
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1753dc0ac8..2b71e1d588 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68736,6 +68736,27 @@ (define-public rust-tectonic-xetex-layout-0.2
a C API.")
(license license:expat)))
+(define-public rust-temp-env-0.3
+ (package
+ (name "rust-temp-env")
+ (version "0.3.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "temp-env" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l7hpkd0nhiy4w70j9xbygl1vjr9ipcfxii164n40iwg0ralhdwn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-parking-lot" ,rust-parking-lot-0.12))
+ #:cargo-development-inputs (("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/vmx/temp-env")
+ (synopsis "Set environment variables temporarily.")
+ (description "Set environment variables temporarily.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-temp-testdir-0.2
(package
(name "rust-temp-testdir")
--
2.41.0
efraim@HIDDEN, guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:46:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:46:50 2024
Received: from localhost ([127.0.0.1]:36216 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1s8fwA-0008RG-B7
for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:46:50 -0400
Received: from relay3-d.mail.gandi.net ([217.70.183.195]:54793)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <*@alternativebit.fr>) id 1s8fw9-0008RA-Cx
for 71064 <at> debbugs.gnu.org; Sun, 19 May 2024 08:46:49 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 5003A60004;
Sun, 19 May 2024 12:46:38 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr;
s=gm1; t=1716122798;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=gVayYYf2WBkh2JSmE+Qgf52uLknDnJz9s2qibPuYSzw=;
b=UZuoG0GinNKweHZxcc1hQGq/5I5Y8gcJFtVRsl2FMmGuQ9tESRN7/g0TU9KrNJrRY/nUic
2d81WOVcfxjsivD1Kn9XesEWcqpZ/7enz0BudZ3ZZUXJwnpA0DT6uH1cD7XmcjrHRfmRAX
1JJ80xCiw5S6Ql9FSDqDy9J4bR5CKHmIn0nx6LkksZ2/izjygofQelQAavhw4bGRBlsDuQ
LLWN3a/yWijCKOeQuYF+ALqyh+clGBjA6bmRDk6qMxniE+2sb9JkU78L02NyRCp0q3zRCK
kMCUTWEELpl8I0wlq0qCmMfFHATCtz09UmF8fFGD25n1n/nlVBbRKq3IwxBWMA==
From: picnoir@HIDDEN
To: 71064 <at> debbugs.gnu.org
Subject: [PATCH 1/7] gnu: Add rust-libc-0.2.153.
Date: Sun, 19 May 2024 14:46:21 +0200
Message-ID: <e846dd7100eca991df76b4928b6de98b467b0775.1716121731.git.picnoir@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1716121730.git.picnoir@HIDDEN>
References: <cover.1716121730.git.picnoir@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>
Content-Transfer-Encoding: 8bit
X-GND-Sasl: felix@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 71064
Cc: Picnoir <picnoir@HIDDEN>
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.7 (-)
From: Picnoir <picnoir@HIDDEN>
* gnu/packages/crates-io.scm (rust-libc-0.2.153): New variable. Required by
rust-nix 0.18.
Change-Id: I95c6663b0262f3e893c38ed51c34176144e4f750
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cce3e8b0b1..e8e643589a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33597,6 +33597,19 @@ (define-public rust-libc-0.2
(license (list license:expat
license:asl2.0))))
+(define-public rust-libc-0.2.153
+ (package
+ (inherit rust-libc-0.2)
+ (name "rust-libc")
+ (version "0.2.153")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gg7m1ils5dms5miq9fyllrcp0jxnbpgkx71chd2i0lafa8qy6cw"))))))
+
(define-public rust-libc-print-0.1
(package
(name "rust-libc-print")
--
2.41.0
efraim@HIDDEN, guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 May 2024 12:41:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 19 08:41:31 2024 Received: from localhost ([127.0.0.1]:36155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s8fr0-0008JF-VK for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:41:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:44974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <*@alternativebit.fr>) id 1s8fqy-0008J7-Rw for submit <at> debbugs.gnu.org; Sun, 19 May 2024 08:41:29 -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 <*@alternativebit.fr>) id 1s8fom-0006jA-Si for guix-patches@HIDDEN; Sun, 19 May 2024 08:39:13 -0400 Received: from mslow1.mail.gandi.net ([217.70.178.240]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <*@alternativebit.fr>) id 1s8fol-0004Jr-4A for guix-patches@HIDDEN; Sun, 19 May 2024 08:39:12 -0400 Received: from relay8-d.mail.gandi.net (unknown [217.70.183.201]) by mslow1.mail.gandi.net (Postfix) with ESMTP id BEEAEC3DCC for <guix-patches@HIDDEN>; Sun, 19 May 2024 12:35:14 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4D38B1BF204; Sun, 19 May 2024 12:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alternativebit.fr; s=gm1; t=1716122107; 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: content-transfer-encoding:content-transfer-encoding; bh=hddpfv17G1bEo2+9RaSJX7VXIqtfxmQxD7w7WeRto7E=; b=SDm8PE/Dd6maF7iZOppO+HqD3bQM7z6oqkbs1ZbNR3YywasG0sLoqr29e1ep37fdoVFFpi /HqccOerCLJLUt00d7nhVlAABpI9rB7OxYooG99y9i1XtqJ9IKudhIbU32VDX8/mKFl3iu yoEDFQmVvjJ4l4gZzuD5/aXRzdh8Kfg4ZVPkU5x+20Gut3OsyAj+KEp5VQ+VtZj9QHdirK ySAbqDi48iVsqRGS2nHxUlgr0TnoOi7PvJhzGmO+Qt/q+s+6Aa1ro4LfgPj/+ot7u2z+v8 M9WzP6ILzNGwhsHhGijMxK4lEMsu5Ez70G4IlxwVFon5+JfJY9Tlxdc7bnXDuA== From: picnoir@HIDDEN To: guix-patches@HIDDEN Subject: [PATCH 0/7] Nsncd: Introduce package + nscd service update Date: Sun, 19 May 2024 14:34:47 +0200 Message-ID: <cover.1716121730.git.picnoir@HIDDEN> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@HIDDEN Received-SPF: pass client-ip=217.70.178.240; envelope-from=*@alternativebit.fr; helo=mslow1.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: Picnoir <picnoir@HIDDEN> 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 (--) From: Picnoir <picnoir@HIDDEN> Hey Guix, Some context first. Nscd is a daemon distributed through Glibc originally used to cache the potentially expensive NSS requests. NSS modules are usually distributed as shared libraries that are DL-opened at runtime by the programs linked against glibc. This interface is unstable, Glibc advise to always build the NSS modules with the same Glibc version the host system uses. This is obviously an issue for us: a single system closure can contain programs built against different Glibc versions. In Guix, we're mis-using Nscd to provide a ABI compatibility layer to load NSS modules for programs built against a different GLIBC version than the system one. Nscd is set with a TTL to 0 to disable the caching feature of the original tool. While this works fine most of the times, it sometimes still caches failed domain names resolution. It happens quite often While switching between wifi networks for instance. Nsncd is a non-caching Nscd replacement. It was originally written NixOS adopted this Nscd replacement last year. This migration solved the unwanted caching issues there. This patch introduces the Nsnncd package and modifies the current Nscd service adding a flag to use Nsncd instead of Nscd. This flag is disabled by default. Package-wise: I had to introduce a bunch of packages to please the Cargo version resolver. I'm a upstream contributor, I can probably relax those later on. I was a bit shy to bump rust-nix for all the packages, I just introduced a new version of it. Service-wise: I introduced a new flag in the Nscd service instead of creating a new Nsncd service from scratch to keep the existing service dependency graph. It does not make 100% sense because Nsncd does not share the same CLI API with Nscd. Nsncd actually does not support any configuration file. 🤷 Picnoir (7): gnu: Add rust-libc-0.2.153. gnu: Add rust-nix-0.28. gnu: Add rust-dns-lookup-2. gnu: Add rust-temp-env-0.3. gnu: Add rust-slog-async-2-8. gnu: Add nsncd. gnu: services: nscd: add Nsncd optional support. gnu/packages/crates-io.scm | 112 +++++++++++++++++++++++++++++++++++++ gnu/packages/nss.scm | 44 +++++++++++++++ gnu/services/base.scm | 9 ++- 3 files changed, 163 insertions(+), 2 deletions(-) base-commit: cf5f7a8bf9ca2288700fcf351bbca0fc341ec969 -- 2.41.0
picnoir@HIDDEN:guix-patches@HIDDEN.
Full text available.guix-patches@HIDDEN:bug#71064; Package guix-patches.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.