From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:41:31 2024 Received: (at submit) by debbugs.gnu.org; 19 May 2024 12:41:31 +0000 Received: from localhost ([127.0.0.1]:36155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fr0-0008JF-VK for submit@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@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@gnu.org; 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@gnu.org; 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 ; 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@alternativebit.fr To: guix-patches@gnu.org Subject: [PATCH 0/7] Nsncd: Introduce package + nscd service update Date: Sun, 19 May 2024 14:34:47 +0200 Message-ID: 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@alternativebit.fr 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) From: Picnoir 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:46:50 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:46:50 +0000 Received: from localhost ([127.0.0.1]:36216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwA-0008RG-B7 for submit@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@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@alternativebit.fr To: 71064@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: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:46:59 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:46:59 +0000 Received: from localhost ([127.0.0.1]:36220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwI-0008RX-LV for submit@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@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@alternativebit.fr To: 71064@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@alternativebit.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:47:14 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:14 +0000 Received: from localhost ([127.0.0.1]:36228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwY-0008SZ-10 for submit@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@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@alternativebit.fr To: 71064@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@alternativebit.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:47:18 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:18 +0000 Received: from localhost ([127.0.0.1]:36232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwc-0008Sn-Cz for submit@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@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@alternativebit.fr To: 71064@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@alternativebit.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:47:22 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:22 +0000 Received: from localhost ([127.0.0.1]:36236 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwf-0008T0-Qt for submit@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@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@alternativebit.fr To: 71064@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@alternativebit.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Efraim Flashner Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:47:26 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:26 +0000 Received: from localhost ([127.0.0.1]:36242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwk-0008TH-5E for submit@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@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@alternativebit.fr To: 71064@debbugs.gnu.org Subject: [PATCH 6/7] gnu: Add nsncd. Date: Sun, 19 May 2024 14:46:26 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 From debbugs-submit-bounces@debbugs.gnu.org Sun May 19 08:47:26 2024 Received: (at 71064) by debbugs.gnu.org; 19 May 2024 12:47:27 +0000 Received: from localhost ([127.0.0.1]:36244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s8fwk-0008TJ-Hn for submit@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@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@alternativebit.fr To: 71064@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: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: felix@alternativebit.fr X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064 Cc: Picnoir X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) From: Picnoir * 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 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 14:52:26 2024 Received: (at 71064) by debbugs.gnu.org; 2 Jun 2024 18:52:26 +0000 Received: from localhost ([127.0.0.1]:60275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDqJe-0007b8-16 for submit@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 ) id 1sDqJa-0007av-PM for 71064@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 ) 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?= To: picnoir@alternativebit.fr Subject: Re: [bug#71064] [PATCH 0/7] Nsncd: Introduce package + nscd service update In-Reply-To: (picnoir@alternativebit.fr's message of "Sun, 19 May 2024 14:34:47 +0200") References: Date: Sun, 02 Jun 2024 20:52:00 +0200 Message-ID: <874jabkwj3.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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@alternativebit.fr 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 14:56:17 2024 Received: (at 71064) by debbugs.gnu.org; 2 Jun 2024 18:56:17 +0000 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDqNM-0007gb-MP for submit@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 ) id 1sDqNL-0007gQ-GS for 71064@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 ) 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?= To: picnoir@alternativebit.fr Subject: Re: [bug#71064] [PATCH 7/7] gnu: services: nscd: add Nsncd optional support. In-Reply-To: (picnoir@alternativebit.fr's message of "Sun, 19 May 2024 14:46:27 +0200") References: Date: Sun, 02 Jun 2024 20:55:54 +0200 Message-ID: <87zfs3jhs5.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, picnoir@alternativebit.fr skribis: > From: Picnoir > > * 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 14:43:42 2025 Received: (at 71064) by debbugs.gnu.org; 12 Feb 2025 19:43:42 +0000 Received: from localhost ([127.0.0.1]:38377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiIe6-0004Wi-3S for submit@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 ) 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 ) 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 ) 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 To: 71064@debbugs.gnu.org, 71064-submitter@debbugs.gnu.org Subject: Bumping final part of Nsncd (#71064) Message-ID: 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 13 07:01:14 2025 Received: (at 71064-quiet) by debbugs.gnu.org; 13 Feb 2025 12:01:14 +0000 Received: from localhost ([127.0.0.1]:41083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tiXu5-00037k-R2 for submit@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 ) id 1tiXtz-00036y-Jj for 71064-quiet@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@alternativebit.fr> 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 , 71064-quiet@debbugs.gnu.org References: Content-Language: en-US From: Picnoir In-Reply-To: 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 13 10:54:47 2025 Received: (at 71064-quiet) by debbugs.gnu.org; 13 Feb 2025 15:54:47 +0000 Received: from localhost ([127.0.0.1]:45052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tibY7-0001YE-Es for submit@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 ) id 1tibY4-0001Xv-13 for 71064-quiet@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 ) 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 ) 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 To: Picnoir Subject: Re: bug#71064: Bumping final part of Nsncd (#71064) Message-ID: References: <242acb32-fa6f-4d42-8213-3654bf7ceb8a@alternativebit.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <242acb32-fa6f-4d42-8213-3654bf7ceb8a@alternativebit.fr> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 71064-quiet Cc: 71064-quiet@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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