From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KFmnNncHTmYcdQEAe85BDQ:P1 (envelope-from ) for ; Wed, 22 May 2024 16:55:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KFmnNncHTmYcdQEAe85BDQ (envelope-from ) for ; Wed, 22 May 2024 16:55:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=SSYfCAyG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716389751; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=58PgpLji3JvoVQfDpvKQBKEmHPBVYo90p9Dtpb6fvG8=; b=kprCZ+pYOzxx2g0IipuK15E7fpsdbStNaKzufPtt3nyiU3dZRHpL0drPHdptw/Pap/pTTi 2Jd3v3VPrb1vU/5GMO0k5M3Dh/9WPfUmJ0SmRah6y3eIdZ9O/XU8eFAoxS1yxWRqrnrbmr GAYtAF6eNMFKL1DIBvu4GqpAELMg5cxMI19TQ4gQauTNBn4puNO8V5fyiRBBqeCxdSO9Sd Jvtx4RgvUnDQHwkWb4b1Uwg3futGN0Yan7TrBEKpHGhNHLSJiCNRsTpFLaOn4UxmNlMYTT Q40+7BOXHabzdUoh/cKm4Ibuun1yuFl47CzdJ394ywbjXYUljh8MX2fYYJgUFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=SSYfCAyG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716389751; a=rsa-sha256; cv=none; b=a1DnAAk2+PJT5lRKw5pIShPS7IJMe32VTEaJzS2q5KEeLgY+tcAHo7JRZsbt8dO+uCXXj7 sbcPwzM8piamnC6GR/xbqSBnlg1S0QSnuK90ldEEhCgQ4GKXrBdx/3uclZ9XKSGD/GkVhQ seM1J4rmDKDzFNBz4UABXXHsChQ+xi0ZRK9QVi2HNps1D2onTDfLm3snvFzvc/8KoQ4hgb nWlj+/ONH3jqokDZeHKKo4dmJbMILv4uAsBVLFQtXXIZLsm2UjzQEe8yiHaUnGQBGuUPJn 8rYMuO5JCleK9XLi0JfBh0G7i1LJZFffug+VBWghU4fDCk6VCeQYmot9eJINww== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A286F3FDF7 for ; Wed, 22 May 2024 16:55:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9nMr-0005T8-8x; Wed, 22 May 2024 10:55:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9nMp-0005SZ-V9 for guix-patches@gnu.org; Wed, 22 May 2024 10:55:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9nMp-0007Zi-HS; Wed, 22 May 2024 10:54:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9nMs-0003v9-A5; Wed, 22 May 2024 10:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71118] [PATCH 1/5] services: nscd: =?UTF-8?Q?=E2=80=98log-file=E2=80=99?= defaults to #f. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, ludo@gnu.org, matt@excalamus.com, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 14:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71118@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer X-Debbugs-Original-Xcc: Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer Received: via spool by 71118-submit@debbugs.gnu.org id=B71118.171638964615015 (code B ref 71118); Wed, 22 May 2024 14:55:02 +0000 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 14:54:06 +0000 Received: from localhost ([127.0.0.1]:56419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLy-0003u7-38 for submit@debbugs.gnu.org; Wed, 22 May 2024 10:54:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLw-0003t1-DZ for 71118@debbugs.gnu.org; Wed, 22 May 2024 10:54:04 -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 1s9nLk-0007Rl-GD; Wed, 22 May 2024 10:53:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=58PgpLji3JvoVQfDpvKQBKEmHPBVYo90p9Dtpb6fvG8=; b=SSYfCAyGm2s0pD03vzqH +NyN7eqr34KGRdvbiG0vUHMjO16pK4cotaATEsAQ01PcZe7v+nu+78dT2GNei7Am2FWnJf4uvIm8Y MO2lrQDcUkdv2jOrufTqtEdstEEiq6cMmWwUK60SAvLqRlc57UkYcu0nkupm0wNxD1I0aMg7uYqJ9 gVSi780icb/MIh4573B35h7+ERZ7XWw/cz3j0LhOJ7eHxQrrm9XouvGJFv32b3jtUQkGbRoCsUZ8N T8wqVVasMrcXDD+ZKoW6RSBwcXBS2rAL87U9ZVPpM4xZoKn7+Wjfvda0se2BZVE1jw+vd5i60LQec 4zNQPK8Lj3/h1g==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Wed, 22 May 2024 16:53:36 +0200 Message-ID: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.76 X-Spam-Score: -4.76 X-Migadu-Queue-Id: A286F3FDF7 X-Migadu-Scanner: mx13.migadu.com X-TUID: m6RS0ovgICNC * gnu/services/base.scm ()[log-file]: Default to #f. * doc/guix.texi (Base Services): Clarify documentation. Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4 --- doc/guix.texi | 8 +++++--- gnu/services/base.scm | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 8073e3f6d49..0055724e658 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19446,9 +19446,11 @@ Base Services Package object denoting the GNU C Library providing the @command{nscd} command. -@item @code{log-file} (default: @code{"/var/log/nscd.log"}) -Name of the nscd log file. This is where debugging output goes when -@code{debug-level} is strictly positive. +@item @code{log-file} (default: @code{#f}) +Name of the nscd log file. Debugging output goes to that file when +@code{debug-level} is strictly positive, or to standard error if it is +@code{#f}. Regular messages are written to syslog when +@code{debug-level} is zero, regardless of the value of @code{log-file}. @item @code{debug-level} (default: @code{0}) Integer denoting the debugging levels. Higher numbers mean that more diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 85160bd3abb..984670cd32c 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1285,7 +1285,7 @@ (define-record-type* nscd-configuration make-nscd-configuration nscd-configuration? (log-file nscd-configuration-log-file ;string - (default "/var/log/nscd.log")) + (default #f)) (debug-level nscd-debug-level ;integer (default 0)) ;; TODO: See nscd.conf in glibc for other options to add. -- 2.41.0