From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:04:53 2024 Received: (at submit) by debbugs.gnu.org; 22 May 2024 14:04:53 +0000 Received: from localhost ([127.0.0.1]:56148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9maL-0003K8-8G for submit@debbugs.gnu.org; Wed, 22 May 2024 10:04:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:56398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9maI-0003K0-KR for submit@debbugs.gnu.org; Wed, 22 May 2024 10:04:51 -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 1s9maC-0003H9-0j for guix-patches@gnu.org; Wed, 22 May 2024 10:04:44 -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 1s9maA-0006fh-Vi; Wed, 22 May 2024 10:04:42 -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:Subject:To:From:in-reply-to: references; bh=dr3RgHx2tKpP8cMpmJc34R181jWp7+tmFSIA3bGLl2Q=; b=a/JAtn78vpg0uG FCObSMyNxgn4OP+D77c2KMA330+Hc9yRtm8ggl05dAuVlifYqGwVfOToas0yMYLpJvcolRQ6LMqMI 75mOqCDm6Jzg+6rAPddXmm0Aj41cLixUx8A+2nbeyONtad1kv0UusA8JWIthaOlRFeKkyB75UmAe5 npoceTW1QxddSI+G1lC++9HDX23DDrfj55jH4+gQhzakOHUSYwedG0wvgF35w39DgebPHIAm0dwwd cm25I2pOGmpHnFp3H8XzRNNRVOShsNTRbmeAENIeM8Zp0AHMkXb9wBFoMKcG+cglgqFukPWEionP9 wn3VY2JsA+QxEQWQAhVA==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/5] More service logging to stderr Date: Wed, 22 May 2024 16:04:32 +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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) Hello, This changes a few core services to log to stderr rather than syslog, in light of the improvements made for the upcoming Shepherd 1.0: ‘herd status’ displaying recently logged messages, and built-in log rotation. Thoughts? Ludo’. Ludovic Courtès (5): services: nscd: ‘log-file’ defaults to #f. services: tor: Log to stderr rather than syslog. services: dbus: Log to stderr rather than syslog. services: avahi: Use socket activation and log to stderr. services: darkstat: Depend on ‘user-processes’. doc/guix.texi | 8 +++++--- gnu/services/avahi.scm | 14 +++++++++----- gnu/services/base.scm | 2 +- gnu/services/dbus.scm | 8 ++++---- gnu/services/monitoring.scm | 2 +- gnu/services/networking.scm | 5 +---- 6 files changed, 21 insertions(+), 18 deletions(-) base-commit: 9c3a8a380bcfebdb77af61532e7bfec523d7bde8 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:54:06 2024 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: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 71118@debbugs.gnu.org Subject: [PATCH 1/5] =?UTF-8?q?services:=20nscd:=20=E2=80=98log-file?= =?UTF-8?q?=E2=80=99=20defaults=20to=20#f.?= 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 X-Debbugs-Cc: Florian Pelz , Ludovic Courtès , Matthew Trzcinski , Maxim Cournoyer Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71118 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) * 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 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:54:10 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 14:54:10 +0000 Received: from localhost ([127.0.0.1]:56426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nM2-0003uO-Gb for submit@debbugs.gnu.org; Wed, 22 May 2024 10:54:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLw-0003t2-HA for 71118@debbugs.gnu.org; Wed, 22 May 2024 10:54:05 -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 1s9nLl-0007Rp-DK; 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=e+J93AjiklSLAX0MWVVvu5SgBaazvf4BZRDdjGbVv4I=; b=Eo+9EhXrpHhjiCKVBWyD xM3qYroHhjMVLAc3pxKZ/r1fSpXfbQBwW6Oy2fGmWaJ/AKoSuPJBV7nTpCQ2PK/l1uCKy0uk/H16O IVnun0nlYxXp1qli9HGEeE17kUlagCfdUezW86bGh+qjV7iuvYvdk9wy6CdOawqbzEgD6LrXMPePw 1H2nDvtGYGVZskMIpO3FmLdtyVDZ6hWKdlUh3vTMwHQEBQoxbYf35C5c9LE+Rwo5YQWUNHUMrvWeP dTWhpQ+GZ5YUYuxg51ky3WDQZzL8oBeT3AVPpxQmmNdfLHFkfDi6tqpe1RIGwmRnGJXZ1MC3xsHzu ynx0mxelDxdIiw==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 71118@debbugs.gnu.org Subject: [PATCH 2/5] services: tor: Log to stderr rather than syslog. Date: Wed, 22 May 2024 16:53:37 +0200 Message-ID: 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71118 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) * gnu/services/networking.scm (tor-configuration->torrc): Change ‘Log’ directive to ‘stderr’. (tor-shepherd-service): Remove /dev/log file system mapping. Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0 --- gnu/services/networking.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index 8e64e529abf..378e117a869 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -1001,7 +1001,7 @@ (define (tor-configuration->torrc config) (display "\ ### These lines were generated from your system configuration: DataDirectory /var/lib/tor -Log notice syslog\n" port) +Log notice stderr\n" port) (when (eq? 'unix '#$socks-socket-type) (display "\ SocksPort unix:/var/run/tor/socks-sock @@ -1046,9 +1046,6 @@ (define (tor-shepherd-service config) (source "/var/lib/tor") (target source) (writable? #t)) - (file-system-mapping - (source "/dev/log") ;for syslog - (target source)) (file-system-mapping (source "/var/run/tor") (target source) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:54:11 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 14:54:11 +0000 Received: from localhost ([127.0.0.1]:56428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nM2-0003uQ-RE for submit@debbugs.gnu.org; Wed, 22 May 2024 10:54:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLx-0003t3-Dw for 71118@debbugs.gnu.org; Wed, 22 May 2024 10:54:05 -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 1s9nLm-0007Ry-A1; Wed, 22 May 2024 10:53:54 -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=q90TZPyZyXCLfuaQmdmwaw24fECWOVDEZqC0O6Ka/cU=; b=XcBL37NoIyNqfdx2Op9p 6njUyHwX4UH7lzCy+HO8UgRmRKSINdDFE2tesu8l9o1dM13+6UIM1xj7IZx+S5ExBHji5CDSEEnqg Z4DIA7zCH8XQlfyCcIfuKT0cC4lON+g0Fm4sJLffCS0Pg2/fXqN7nBAnwTas8rtTftuZU5aI8O3QM 7wPCLKNR8q8v9FUBhkZbEO9PTT3SiCX/9KQt3nEz0Q12xOZajuPLxnWKMB3paxW01pJMl4his3vWl ZfzabFhqIK6YO6BtWhV6dbqA6LqapIG7s19eNzEe3Y46H+Dud9MnR/8FHb05gH9L/PTCuI/26HuVS F74xJYC1eUa8pA==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 71118@debbugs.gnu.org Subject: [PATCH 3/5] services: dbus: Log to stderr rather than syslog. Date: Wed, 22 May 2024 16:53:38 +0200 Message-ID: <9fed6be4971d5b89621dd68db2597898eecf91b1.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71118 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) * gnu/services/dbus.scm (dbus-shepherd-service): Remove ‘--syslog-only’ option and pass #:log-file unconditionally. Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d --- gnu/services/dbus.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm index 8dee91a3f7b..1e1380185a4 100644 --- a/gnu/services/dbus.scm +++ b/gnu/services/dbus.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès +;;; Copyright © 2013-2017, 2019-2021, 2024 Ludovic Courtès ;;; Copyright © 2015 Sou Bunnbu ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2021 Brice Waegeneire @@ -234,12 +234,12 @@ (define dbus-shepherd-service (requirement '(user-processes syslogd)) (start #~(make-forkexec-constructor (list (string-append #$dbus "/bin/dbus-daemon") - "--nofork" "--system" "--syslog-only") + "--nofork" "--system") + #:log-file "/var/log/dbus-daemon.log" #$@(if verbose? ;; Since the verbose output goes to the console, ;; not syslog, add a log file to capture it. - '(#:environment-variables '("DBUS_VERBOSE=1") - #:log-file "/var/log/dbus-daemon.log") + '(#:environment-variables '("DBUS_VERBOSE=1")) '()) #:pid-file "/run/dbus/pid")) (stop #~(make-kill-destructor))))))) -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:54:11 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 14:54:11 +0000 Received: from localhost ([127.0.0.1]:56430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nM3-0003uX-82 for submit@debbugs.gnu.org; Wed, 22 May 2024 10:54:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLy-0003t4-9p for 71118@debbugs.gnu.org; Wed, 22 May 2024 10:54:06 -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 1s9nLn-0007S8-5t; Wed, 22 May 2024 10:53:55 -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=GORMkBKHm0X3E7XZXTrV1X0/6lbmwHkT/NS4V/brjP8=; b=ZlgdnpGOaiPWhNPhGMKS LtBqahMdZZ7WwcfcnkydTv313BGtVRCDUd4UG1rjU2xAyI87WakjIigsRVHU2Ug6p6eV0pLPAq9iw Q2XJnd8VU4KpsrmNwX1ux+8QcjmPf015Trvf1JgfKry8TXVThpEPZOxkGxfS+pIRacHInhzyJ3cH5 2awiHQQMCMoCtnvD5TNjWqanxCkiF1hAOs6WpJiuhwwGMyxyRjX7Sy0EGeHRfD7OSYK9Ojqo8GJVN syPyeHIwr3R/AsXA3E4FciB7zuLva/ov9LkOSNXnPi7bvCYEXxukPuoW2XIewOxVcQITCVlwPG7XE /5AJRg1p2jTJcQ==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 71118@debbugs.gnu.org Subject: [PATCH 4/5] services: avahi: Use socket activation and log to stderr. Date: Wed, 22 May 2024 16:53:39 +0200 Message-ID: <4c2a4c6f80531b1e051c00c9d2f12cfec8dcf85b.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71118 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) * gnu/services/avahi.scm (avahi-shepherd-service): Change to systemd style. Remove ‘--daemonize’ option and #:pid-file. Add #:lazy-start? and #:log-file. Change-Id: I1915243f057ff3bbe281f46f17826f24b124f659 --- gnu/services/avahi.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/services/avahi.scm b/gnu/services/avahi.scm index 1c4220e490b..9352492bbda 100644 --- a/gnu/services/avahi.scm +++ b/gnu/services/avahi.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014-2020, 2022 Ludovic Courtès +;;; Copyright © 2014-2020, 2022, 2024 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -131,13 +131,17 @@ (define (avahi-shepherd-service config) (provision '(avahi-daemon)) (requirement '(user-processes dbus-system networking)) - (start #~(make-forkexec-constructor + (start #~(make-systemd-constructor (list #$(file-append avahi "/sbin/avahi-daemon") - "--daemonize" #$@(if debug? #~("--debug") #~()) "-f" #$config) - #:pid-file "/run/avahi-daemon/pid")) - (stop #~(make-kill-destructor)) + (list (endpoint + (make-socket-address + AF_UNIX + "/run/avahi-daemon/socket"))) + #:lazy-start? #f + #:log-file "/var/log/avahi-daemon.log")) + (stop #~(make-systemd-destructor)) (actions (list (shepherd-configuration-action config))))))) (define avahi-service-type -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 10:54:12 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 14:54:12 +0000 Received: from localhost ([127.0.0.1]:56432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nM3-0003ue-Pj for submit@debbugs.gnu.org; Wed, 22 May 2024 10:54:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9nLz-0003tC-CX for 71118@debbugs.gnu.org; Wed, 22 May 2024 10:54:07 -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 1s9nLo-0007SK-8a; Wed, 22 May 2024 10:53:56 -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=/gLFltWKIMgKe5qFzpn/hvW75+DR3i5Kf+l1pBDetLQ=; b=evkzVbeh/pGvJQhikdtw PFw3OuQlYhgc9YL2VzaxtkfLR+R0Txpo4oAJH6f365IHQQiaxP7Qxc2JpnFRLNfCi58ttN6KGbCNg 95l9kqz9hIXuKtmPuh4xnu3exg15OavRBZ6FT/VN+UgWuSoFn+/cww75XNaQqZ2mjSLJkasKUgCgs yAS8zbbiAmGoBQJ9NrQbbeMxnZq7lchTU7tHorpwp9utrMFNYLFRI+mOWEKSfcPcOox2QrAEUOss0 ZWj2LStotmIORaKi9dfbSXmxb7bIkox2EDJgX46yvmmioj8KW7dkjo7I/d3AvsjodJK8oXNdsqHYv 822CuG+2/UtxpQ==; From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 71118@debbugs.gnu.org Subject: [PATCH 5/5] =?UTF-8?q?services:=20darkstat:=20Depend=20on=20?= =?UTF-8?q?=E2=80=98user-processes=E2=80=99.?= Date: Wed, 22 May 2024 16:53:40 +0200 Message-ID: <04823875cab4d8bc0277827abbc3e511dee04c4a.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71118 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= 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 (---) * gnu/services/monitoring.scm (darkstat-shepherd-service): Add ‘user-processes’ to ‘requirement’. Change-Id: I6abaefd88c6075a0379e5867838653765dfaa08e --- gnu/services/monitoring.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm index e698040078e..0a93c907eea 100644 --- a/gnu/services/monitoring.scm +++ b/gnu/services/monitoring.scm @@ -132,7 +132,7 @@ (define darkstat-shepherd-service (shepherd-service (documentation "Network statistics gatherer.") (provision '(darkstat)) - (requirement '(networking)) + (requirement '(user-processes networking)) (start #~(make-forkexec-constructor (list #$(file-append package "/sbin/darkstat") "-i" #$interface -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 13:23:29 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:23:29 +0000 Received: from localhost ([127.0.0.1]:57157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pgX-0005Pg-7h for submit@debbugs.gnu.org; Wed, 22 May 2024 13:23:29 -0400 Received: from mail-vk1-f171.google.com ([209.85.221.171]:58490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pgU-0005Pa-PZ for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:23:28 -0400 Received: by mail-vk1-f171.google.com with SMTP id 71dfb90a1353d-4df400d6875so407012e0c.0 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716398535; x=1717003335; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JSZnC0pIX3ZRnP+dl7yzkzxY9ylXqLvyYOnQ92LKNIc=; b=j35kXBD2Z7fa7zS8VRObWaA3X/KxnBwjxO1BZ5ZEdGWOFSE7/RExaMKTKwQgxl0LKd nDzNkknQZ3Kl5H3ea5IrTbnw09RthaEi1B+0mpYTNqo61816UuHaIvSPcfhasWnkpKeU WxF4T5kj/xT6rQaxkaRsWfqqiVuUBuuedsFqPK3wavYMi50x4wKA/l6m88eoBQ7WWSw/ RSJU4QSyXzw0XiEor4sbZkGks16g1G6IwkexYn/k/7eh6VcVJnnoTmzPmNVF8CilUB6I dSy8+dVjxQSALDNSlLyZ8mNMT7LegxYcadf+QJ4wVG/LY08awG4ynhbCGhsXwcpOuiFt G9sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716398535; x=1717003335; h=content-transfer-encoding:mime-version:user-agent: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=JSZnC0pIX3ZRnP+dl7yzkzxY9ylXqLvyYOnQ92LKNIc=; b=o8ThQDWDFu7nhh/uLbYvBLXqeCN2nyeJB0+IxYdrMAa8J93k0Gmlod9j7mCaV6eQc9 9dLtzf+EJWK1E698kFlnf+pgACCOT0dY/SpVJbU33TOZRXHroVitZ7RVAj+r+fL8ixFp uea+moaeJ+hZ4e8vyjBf1VqC0Pw/lcOE50L3JyAM7lQeZkIncQiPQ3Rofok8c2mI1FQY CPhsR50Kl+xBXqUCngAtnpu1koseC/hsO5Oey7VgMwRTSVw2gt+rMu0D1L0ieydPZaVb HfP4MR8CyhQdDt7UTskgd6IaLxdCuhj7M8jsftG5DhR7zA0ntQZINegRNveRHBDb13R1 859Q== X-Gm-Message-State: AOJu0YwarFOVm4ZqEkrcNjiNfx01Hw4pMuI8BnZVpYd0z5xrgC27G/j4 f3hjw9gHkno1FpfFO4thwaHhxY3KRyWOSYrO/Q7Y3KjJcOiV8EmZ X-Google-Smtp-Source: AGHT+IFfk9PXexq39sVxVmnU//mNqAJU6JW43rjUFinK0JZTTSeja/kPCrN+izr8lF81uOON8P5rSw== X-Received: by 2002:a05:6122:368b:b0:4dc:d7aa:ccf9 with SMTP id 71dfb90a1353d-4e2185ee013mr2882952e0c.12.1716398535173; Wed, 22 May 2024 10:22:15 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a16068cee4sm133969876d6.8.2024.05.22.10.22.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:22:14 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 1/5] services: nscd: =?utf-8?B?4oCYbG9n?= =?utf-8?B?LWZpbGXigJk=?= defaults to #f. In-Reply-To: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Wed, 22 May 2024 16:53:36 +0200") References: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> Date: Wed, 22 May 2024 13:22:13 -0400 Message-ID: <871q5t4v96.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz 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.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > * 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. >=20=20 > -@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}. Is it not a bit counter-intuitive, to have a 'log-file' field that users can set, but debug logs not going there? Perhaps we should get rid of it entirely instead? --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 13:27:08 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:27:08 +0000 Received: from localhost ([127.0.0.1]:57176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pk3-0005RS-Rw for submit@debbugs.gnu.org; Wed, 22 May 2024 13:27:08 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:43297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pk0-0005R4-W2 for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:27:06 -0400 Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-43fa6d92b4eso267701cf.1 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716398753; x=1717003553; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1Lj+64Th3Ydx3Ls82vZANf6bLpSchUhw9+gNdxdCnQo=; b=K08fZV7STvtR3/f2NHeP8iV//BX4dqPE4HulHSXbG4fzdQIMy7qS+zqnNZHF+MZaMY JYDOUYgpTX6tgLfuuypxenc9s7Zibn+tH8JSpxX8A0bBhi8eOk8qePICMxZ8EMg2f+hn rWxumdF+Bo44H5oNRY3nf4DwXc4FQxN6JsMJ7SpPSY5QqiUkrvMX26RBd3VuhzqaWL7G aFT1zgD/Xs7SSIRR9ietflNl5obNkC+VkBxhjG2wfCK3/4V0rLIQXEoPvN0qDr4IHwnv aBVVUvuNeMOZ7tDAtz8xWQH7zsJLhLh4bBM9lzsw7jK9hZkCDHXlqpkQIAveE2kyRMVO t8JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716398753; x=1717003553; h=content-transfer-encoding:mime-version:user-agent: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=1Lj+64Th3Ydx3Ls82vZANf6bLpSchUhw9+gNdxdCnQo=; b=YmPNG0i1hLL3AItJTx/fBLzmulZK3cI9bmq3kRxcd7nH9DWJLf7ggzZD2MvvPDPr9G I3rPZnd/EeMQ0h5Clqov+m/OBTy90K32DijYJ0aBrB/zxyqDrCsFlpiVxwgGX3PUHYWv /S/HPv0/Y9Jr8N7SUMgfdrbiiBBOHsezh13t8F3+/kK/qOP/KwjMcMFTg1BUsPQPniA0 I+4VHhbl0XvvytNZn1jXoqVNnTBxDdQlCQLgicp8ALiuoCFMWT9DQi2AhSLKJDq0f4UC YJwFKurclGStgEczNwW2VNdn+AO/+YpIYQjrc60vbt/et/qxJURMe8subBoVs8GIR1Mz xP5g== X-Gm-Message-State: AOJu0Yz+7ik7ylL3mQws4F0w+OF41ZgSpJtzpR1XPNmDLSj+cgvvR76g gy90huC4/Ftyzu/TjokngXsK9bTRWFzYf+IT8++Z6T8lzanjflX3 X-Google-Smtp-Source: AGHT+IFrmI0lEJs32w92ekHzLOdTXXjrPTf6jWa5LSVKCMRGcSojxEu7kBS9w2iRywL/kVGN5ZOAEA== X-Received: by 2002:a05:6214:568e:b0:6ab:6d0e:be2 with SMTP id 6a1803df08f44-6ab7c96204bmr46061306d6.22.1716398753274; Wed, 22 May 2024 10:25:53 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a35c7e4cbbsm72133006d6.128.2024.05.22.10.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:25:52 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 1/5] services: nscd: =?utf-8?B?4oCYbG9n?= =?utf-8?B?LWZpbGXigJk=?= defaults to #f. In-Reply-To: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Wed, 22 May 2024 16:53:36 +0200") References: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> Date: Wed, 22 May 2024 13:25:51 -0400 Message-ID: <87wmnl3gio.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz 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.0 (-) Hi Ludo, Ludovic Court=C3=A8s writes: > * 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. >=20=20 > -@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}. My initial reading of the above was wrong. I guess it's fine, though I find the special case logging to /dev/error when debug-level =3D=3D 0 despite log-file being set a bit surprising still. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 13:29:26 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:29:26 +0000 Received: from localhost ([127.0.0.1]:57188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pmI-0005SW-BQ for submit@debbugs.gnu.org; Wed, 22 May 2024 13:29:26 -0400 Received: from mail-ot1-f44.google.com ([209.85.210.44]:56731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pmG-0005SP-FZ for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:29:24 -0400 Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-6f12171523eso2986082a34.1 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716398892; x=1717003692; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JAmC7tIrcdhGexwnXXQuE07DWJBpXlvTujNrYe+FELo=; b=PMlt51tjSoNULqWCej3XkNYEJKjlNt3tFfnybWWL7V3cRM2WMU3DcuUmwm0MDoXDIf 4Dy6up4zZOP6uxe9qmUwyxxjK+G0fYdjxhR2ecy9ibO7m4KuZSrPZHyS6ET4BouoRZGW cJ5Ycao2j8mdqf/Di99lMnTYIobi5j+PETXGX+DPJEv9ZOu3LjHSkofrODuLDZ1+7ipb QO9zMeqhGj7Z8jzyd5uePod8fMG71kZI/jVMF5FpC6cph8wCrkgNUeM1o5tLp2Ke/CXL q9VOLEiV6Hzg1lggsHPgs0FS1zPEljjMnsT2P8Tfc8usTc0keLhcQGYB/c/c4GCQZCyc YWQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716398892; x=1717003692; h=content-transfer-encoding:mime-version:user-agent: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=JAmC7tIrcdhGexwnXXQuE07DWJBpXlvTujNrYe+FELo=; b=uisBIL/yAeLgkgaVtlyqifawEtgpsSViEkRsMj5ml1G01hXpRpSBYht6txOvj3jLZF Q/FIRx7HzgL85xrTZS8P88JMmyRQTbRNS39NqtyKjI13wX27UBx8biG2qyv/tI4CSMJS QY6XHDOYuItFXgQkGOAPFbJp46/bZNWYcJAVJchaP8VUxpzO3usutuJa9Nl3Yetgum87 idBetMqPkUJEbpw6/2q4w8//a552QpwxRXRBElanMGbUtqC8o9km61KcIC8YJGQ4CR4t YUBf6d+0r60BLx6VYyWIg4iBAD0cmbnKc0/tguz24aFjq2r7sCyJH4z9TARQ6oeT7cqR bq0A== X-Gm-Message-State: AOJu0YxEzKQOeUmG2L2eRuHy2PS1VzXxsI97OCxh+Yw03ObX893XkeAA ZnXA4Hc1Tsdr9SbL1fcfUVe6Pcuw0BuyUDiUFC7VY7cfi+KPtqMAj/KqoeU9 X-Google-Smtp-Source: AGHT+IGuvyzFOFlgPdSYZAWRSGSf31komtpyy25mZi/ESHVCkfzAuaEEj1dsoLUtFBQAnCCa+rbCtQ== X-Received: by 2002:a9d:4d91:0:b0:6ee:636f:7e1d with SMTP id 46e09a7af769-6f6666c1901mr2803052a34.9.1716398892030; Wed, 22 May 2024 10:28:12 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43e15b37e83sm135291621cf.1.2024.05.22.10.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:28:11 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 2/5] services: tor: Log to stderr rather than syslog. In-Reply-To: ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Wed, 22 May 2024 16:53:37 +0200") References: Date: Wed, 22 May 2024 13:28:10 -0400 Message-ID: <87sey93get.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@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.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > * gnu/services/networking.scm (tor-configuration->torrc): Change =E2=80= =98Log=E2=80=99 > directive to =E2=80=98stderr=E2=80=99. > (tor-shepherd-service): Remove /dev/log file system mapping. > > Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0 > --- > gnu/services/networking.scm | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm > index 8e64e529abf..378e117a869 100644 > --- a/gnu/services/networking.scm > +++ b/gnu/services/networking.scm > @@ -1001,7 +1001,7 @@ (define (tor-configuration->torrc config) > (display "\ > ### These lines were generated from your system configuration: > DataDirectory /var/lib/tor > -Log notice syslog\n" port) > +Log notice stderr\n" port) > (when (eq? 'unix '#$socks-socket-type) > (display "\ > SocksPort unix:/var/run/tor/socks-sock > @@ -1046,9 +1046,6 @@ (define (tor-shepherd-service config) > (source "/var/lib/tor") > (target source) > (writable? #t)) > - (file-system-mapping > - (source "/dev/log") ;for syslog > - (target source)) I see no functional change here; do I understand that Shepherd 1.0 will now log (by default?) to /dev/error (stderr) instead of /dev/log (syslog)? What is the rationale for such change? --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 13:31:21 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:31:21 +0000 Received: from localhost ([127.0.0.1]:57199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9po8-0005VY-Ru for submit@debbugs.gnu.org; Wed, 22 May 2024 13:31:21 -0400 Received: from mail-qt1-f180.google.com ([209.85.160.180]:42199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9po6-0005VO-PE for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:31:19 -0400 Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-43df751b5b8so8485371cf.0 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:31:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716399006; x=1717003806; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jjG6rXpeAEFNkohotDJ382XW2c3JQJWDB4UHe5dZPh4=; b=Fx3M0Kfee45HKWtd62U9QKeYXcZQGJ/9T+6CrnIaZ/wBk3MZI4N3h6ALR3JRly/tMV YXNyhjfPxkraIQM+DvkE53NWYIrPQ9j4WiNH9E4xkG4OZR2pw285y28esDbcvYMsOUZR XfVUhxQa5YQZJoShPynD1E+1jYZSg/u3I3XvlKGgkj3yGUzTnMQlNh39HdaO11rYgTsW vQxHvRprj6P/VrM1DbxPc08n9AhC2UfdiFIuoMLrT+V9b9I0yrEqLc2RVwk5n5DIeRQt BddRQv75GNo9coLsqTlsCxb/hq8bXcLiU4RwN/ZQmwXk3mth6X9c3K5HpbIZn4fJ17r7 NzgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716399006; x=1717003806; h=content-transfer-encoding:mime-version:user-agent: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=jjG6rXpeAEFNkohotDJ382XW2c3JQJWDB4UHe5dZPh4=; b=BQihSVskQiZCd03DSkinmOmkP5gWixFdzNbzemEYv0nC0D+bRb3FfAA1WeyKO+OM1b X5Sgz9XXIWp80S2JMsPjF2x9NoXRnwz4MwtTRO6xRxEWtsmsHvR1UBupPipn6KlBq9Kq wRV7s6JJHIMrCQvsGEb/9cli9RaymlaXbSRQPN9Mha1t5t0tIuICOrlk3QQ4SR53nHdN xH1v9VmHDit6sGCm8Ka0pY83sedrFQye7YuktHUhqPBmr/j42PjpwRHgzVeredZaeO/9 zsEkAHydDRdEB7ih4ikNLhMjOVHovhux1P/GHsbDel8SXusyFuVhQ+Uuwql+6HVvlKhK oncg== X-Gm-Message-State: AOJu0YyKp+wckr0GR9HPej6KiOP1ZgIvuMxzxEakOc0IxLT9BukB6avi +rYNnFbyTTIt0iG1bB+DDhfbVbrezvNLNA4nyvZEW60f/heKc9dTo+COQwwF X-Google-Smtp-Source: AGHT+IHDjLtLGA/OnG1rp3Nulr0DL7d2yaHDZCNtW8SOU5owcfDSDT/bUEmTa1CzbA97vR8tWgvvIQ== X-Received: by 2002:a05:622a:512:b0:43a:7886:eca7 with SMTP id d75a77b69052e-43f7a121b81mr221632741cf.0.1716399006428; Wed, 22 May 2024 10:30:06 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43f99073d12sm17120911cf.15.2024.05.22.10.30.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:30:05 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 3/5] services: dbus: Log to stderr rather than syslog. In-Reply-To: <9fed6be4971d5b89621dd68db2597898eecf91b1.1716386553.git.ludo@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Wed, 22 May 2024 16:53:38 +0200") References: <9fed6be4971d5b89621dd68db2597898eecf91b1.1716386553.git.ludo@gnu.org> Date: Wed, 22 May 2024 13:30:04 -0400 Message-ID: <87o78x3gbn.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@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.0 (-) Hello, Ludovic Court=C3=A8s writes: > * gnu/services/dbus.scm (dbus-shepherd-service): Remove =E2=80=98--syslog= -only=E2=80=99 > option and pass #:log-file unconditionally. > > Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d > --- > gnu/services/dbus.scm | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/gnu/services/dbus.scm b/gnu/services/dbus.scm > index 8dee91a3f7b..1e1380185a4 100644 > --- a/gnu/services/dbus.scm > +++ b/gnu/services/dbus.scm > @@ -1,5 +1,5 @@ > ;;; GNU Guix --- Functional package management for GNU > -;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021 Ludo= vic Court=C3=A8s > +;;; Copyright =C2=A9 2013-2017, 2019-2021, 2024 Ludovic Court=C3=A8s > ;;; Copyright =C2=A9 2015 Sou Bunnbu > ;;; Copyright =C2=A9 2021 Maxime Devos > ;;; Copyright =C2=A9 2021 Brice Waegeneire > @@ -234,12 +234,12 @@ (define dbus-shepherd-service > (requirement '(user-processes syslogd)) > (start #~(make-forkexec-constructor > (list (string-append #$dbus "/bin/dbus-daemon") > - "--nofork" "--system" "--syslog-only") > + "--nofork" "--system") > + #:log-file "/var/log/dbus-daemon.log" > #$@(if verbose? > ;; Since the verbose output goes to the con= sole, > ;; not syslog, add a log file to capture it. > - '(#:environment-variables '("DBUS_VERBOSE= =3D1") > - #:log-file "/var/log/dbus-daemon.log") > + '(#:environment-variables '("DBUS_VERBOSE= =3D1")) > '()) > #:pid-file "/run/dbus/pid")) > (stop #~(make-kill-destructor))))))) How does logging to a file instead of to /dev/log help Shepherd producing better output? Does it read the log file? If so, couldn't it re= ad syslog as well? --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed May 22 13:32:00 2024 Received: (at 71118) by debbugs.gnu.org; 22 May 2024 17:32:00 +0000 Received: from localhost ([127.0.0.1]:57205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9pom-0005Vx-Jj for submit@debbugs.gnu.org; Wed, 22 May 2024 13:32:00 -0400 Received: from mail-yb1-f171.google.com ([209.85.219.171]:56727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9poj-0005Vq-Bx for 71118@debbugs.gnu.org; Wed, 22 May 2024 13:31:58 -0400 Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-dcd7c526cc0so6130363276.1 for <71118@debbugs.gnu.org>; Wed, 22 May 2024 10:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716399045; x=1717003845; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c0c/GxjJtW3ARslR3hHZH5ZSj/2/CdL1aF2tBpEHUM0=; b=FrWM4M93OZxgKBb01XzbImxWsXru/b0Wy4YcQcAV9RvFqrj1HagUGQJ5MeNXLxpqFx eUell69e6nFGecUJyrdIeRr13sQuSzFUSF+QMvGDEVmSIv2wLsLt0Owa/4IGq4VwTaAN pX6s1MrVNt73ACw4NS6mgNJFyfiUhe+pjS07bHDbdNqbu98aj/Tn48evW9Yyd94WISgy U7uEVh64MNOU0ylmHAaWj4LWN+rgqjtwiYUELm2mw14vvuG2GVu2UO3zommWJ/sgZyDJ 5msQWya6/mv67zwuGkrh7fRaQXsUL4EX+/JgygcrUTNUb09ogD7CXhlMOUmBVcCB7jDl eGfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716399045; x=1717003845; h=content-transfer-encoding:mime-version:user-agent: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=c0c/GxjJtW3ARslR3hHZH5ZSj/2/CdL1aF2tBpEHUM0=; b=W0PqQ9a8WwZrkiu+P1gwAcPuYapzSwuw581+nti1El2+ZFsc05UYgZ6zorAvI+nHer uYCjJysT5EsC/cy9UJAeQxOEP+Y86Mfp2ekEWZMya4XsW4cxJflMOIWODH9ADT8IfnDu CAF3wH/zLP7A5w051kXzZtBmx/XabsrC+ySTKM/zDwfMJ4Tigc+PKRSQpbz7axg4qA9k VTKkir3zbJiZIc3hs+nD01LpJ6JwT7A5Ll2MJ+nNdmf67iK+Rfocrkz+aFczZUXxXvu8 DOlS85ibUMfRQ/BpbBc3zG2fI/a70sBx9KP+h0NGK74h08etFhIyg47q+pM2NRE4aHkO sY2Q== X-Gm-Message-State: AOJu0YxmzyqhsmCWBZxcRgg3A7COy83n1psIwm/D9Y5txJlVdmkMMBcb t31uW0/OXrueZzdW5p8LS2h2+mgEknkLFVotT7ifhkGwH62q90KLTCwy1V8O X-Google-Smtp-Source: AGHT+IHeQJF5tUsDcSVQbCERlVmY34RdAxCsrQ4ugrbIJA5O8fmL2T2YIQtUeJmOvRpMpKtVnj0xOA== X-Received: by 2002:a25:af10:0:b0:df1:cf91:954d with SMTP id 3f1490d57ef6-df4e0da79bemr2900722276.43.1716399045484; Wed, 22 May 2024 10:30:45 -0700 (PDT) Received: from hurd (dsl-148-133.b2b2c.ca. [66.158.148.133]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43fa6c5e657sm401871cf.88.2024.05.22.10.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 10:30:44 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 5/5] services: darkstat: Depend on =?utf-8?Q?=E2=80=98user-processes=E2=80=99=2E?= In-Reply-To: <04823875cab4d8bc0277827abbc3e511dee04c4a.1716386553.git.ludo@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22's?= message of "Wed, 22 May 2024 16:53:40 +0200") References: <04823875cab4d8bc0277827abbc3e511dee04c4a.1716386553.git.ludo@gnu.org> Date: Wed, 22 May 2024 13:30:43 -0400 Message-ID: <87jzjl3gak.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@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.0 (-) Ludovic Court=C3=A8s writes: > * gnu/services/monitoring.scm (darkstat-shepherd-service): Add > =E2=80=98user-processes=E2=80=99 to =E2=80=98requirement=E2=80=99. > > Change-Id: I6abaefd88c6075a0379e5867838653765dfaa08e Reviewed-by: Maxim Cournoyer --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 05:25:06 2024 Received: (at 71118) by debbugs.gnu.org; 23 May 2024 09:25:06 +0000 Received: from localhost ([127.0.0.1]:58779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4h7-0000Ud-K1 for submit@debbugs.gnu.org; Thu, 23 May 2024 05:25:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4h4-0000U7-14 for 71118@debbugs.gnu.org; Thu, 23 May 2024 05:25: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 1sA4gs-0005Ac-9L; Thu, 23 May 2024 05:24:50 -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=MH5+jLPwQxys0zD288FpVqx053Gwb2JVTo8lTEAjuFc=; b=hKtyyy4Zl8mqeSZs6+IW Qa3mNDB68VgK8ajwbMP95Na2k7ScnBO4SHm9YJJPMVy2OHIfoqJ8w7CA/p2x5WYCV5s2ENhJjtSOi f5yMaR9DLVPOn+PTt+q0Sbk3jEs2eDFzO8xQTglc4waMlxD0Oiv0t9Ze6d26MI89bLE5RViEhk+rl kPqpyEhnrEeT9Ohd8SH/GVDPmoDCJVwUF3DAU/hzjL1wnzQugzhIsWqUAjUA9N9RSLhx2J/pNE63x q1RXlZ8Zt2k4XCm4lYl8OGqxIo31FtwMOPvbKAuCdNdGX+qTXW5cb9H2xBtHLxVEaMVyHuFZbI8lk IRg7PCdy8zGCwQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: [bug#71118] [PATCH 2/5] services: tor: Log to stderr rather than syslog. In-Reply-To: <87sey93get.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 22 May 2024 13:28:10 -0400") References: <87sey93get.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Prairial an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Canard X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 23 May 2024 11:24:43 +0200 Message-ID: <8734q8c23o.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: 71118 Cc: 71118@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, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > >> * gnu/services/networking.scm (tor-configuration->torrc): Change =E2=80= =98Log=E2=80=99 >> directive to =E2=80=98stderr=E2=80=99. >> (tor-shepherd-service): Remove /dev/log file system mapping. >> >> Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0 [...] > I see no functional change here; do I understand that Shepherd 1.0 will > now log (by default?) to /dev/error (stderr) instead of /dev/log > (syslog)? What is the rationale for such change? Shepherd by itself doesn=E2=80=99t make any decision; it=E2=80=99s up to th= e service to choose whether to log to stdout/stderr or to syslog. As I wrote in the cover letter at , Shepherd 0.10 already does a good job at handling logs, which makes gives less of an incentive to use syslogd; on top of that, 1.0 (current =E2=80=98devel=E2=80=99 branch) can display messages logged to stderr/stdou= t directly at the command line: --8<---------------cut here---------------start------------->8--- $ sudo /run/current-system/profile/bin/herd status guix-publish Status of guix-publish: It is running since Tue 21 May 2024 08:44:57 AM CEST (2 days ago). PID 518 running: /gnu/store/12jb83hlngklkymn52yzaw7kldr2qiwp-guix-1.4.0-2= 0.37719d3/bin/guix publish -u guix-publish -p 8123 -C zstd:3 -C gzip:3 --na= r-path=3Dnar --listen=3D0.0.0.0 --advertise It is enabled. Provides (guix-publish). Requires (user-processes guix-daemon avahi-daemon). Will be respawned. Log file: /var/log/guix-publish.log. Recent messages: 2024-05-21 10:56:10 In web/request.scm: 2024-05-21 10:56:10 205:32 4 (read-request # _) 2024-05-21 10:56:10 In web/http.scm: 2024-05-21 10:56:10 1158:12 3 (read-request-line _) 2024-05-21 10:56:10 1066:2 2 (parse-request-uri _ _ _) 2024-05-21 10:56:10 In ice-9/boot-9.scm: 2024-05-21 10:56:10 1685:16 1 (raise-exception _ #:continuable? _) 2024-05-21 10:56:10 1685:16 0 (raise-exception _ #:continuable? _) 2024-05-21 10:56:10 .Bad request: Invalid URI: 85.94.204.153:31204 2024-05-21 10:56:10=20 --8<---------------cut here---------------end--------------->8--- It=E2=80=99s a slight quality-of-life improvement. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu May 23 05:26:19 2024 Received: (at 71118) by debbugs.gnu.org; 23 May 2024 09:26:19 +0000 Received: from localhost ([127.0.0.1]:58784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4iJ-0000VT-3l for submit@debbugs.gnu.org; Thu, 23 May 2024 05:26:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sA4iH-0000VN-Sh for 71118@debbugs.gnu.org; Thu, 23 May 2024 05:26:18 -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 1sA4i5-0005YU-Gp; Thu, 23 May 2024 05:26:05 -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=R2UgzncmWUBb1b9stctX+bn5bAfP1uA0Tc8CCe+DSxo=; b=HYGR+jEl/E/ioFoKeW0a ipCH+fD1wdOOR4eDJk7mwuXNyp0hsdBbcrkof0aYJF6dQCt14PrABN0UVM7om4HhjT9k29aS6YZ2B xDPxQyJxSsStuqacLwkTjNsbojATCssWNtN4URQTIbX7XziQlfaUW4xlvb16K9f22T9GSSwJaCRLl 5K61Mds+obdIy9K0QrI1y44x8OBuMgRL/s5F80r4lkSH2wGVIf3Lh76OEnC+C8Jd3h1QRztDVuZmE X3QeiOd8yqAodEVyJXaq67aKKSv6owVjNjUHTHS8shCu1UJQcFSInmaK6P8pZFF9+dxZWyVZX+tG4 GWSC8WQTtiShSw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: [bug#71118] [PATCH 1/5] services: nscd: =?utf-8?B?4oCYbG9n?= =?utf-8?B?LWZpbGXigJk=?= defaults to #f. In-Reply-To: <871q5t4v96.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 22 May 2024 13:22:13 -0400") References: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> <871q5t4v96.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quintidi 5 Prairial an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Canard X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 23 May 2024 11:26:03 +0200 Message-ID: <87y180anh0.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: 71118 Cc: 71118@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz 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, Maxim Cournoyer skribis: > Ludovic Court=C3=A8s writes: > >> * gnu/services/base.scm ()[log-file]: Default to #f. >> * doc/guix.texi (Base Services): Clarify documentation. >> >> Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4 [...] >> +@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}. > > Is it not a bit counter-intuitive, to have a 'log-file' field that users > can set, but debug logs not going there? Yeah, I had to check the code of nscd in libc, and it=E2=80=99s this weird. > Perhaps we should get rid of it entirely instead? I=E2=80=99d rather keep it to avoid gratuitous breakage and also because it= =E2=80=99s occasionally useful when one needs to debug NSS/nscd issues. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 24 08:45:51 2024 Received: (at 71118) by debbugs.gnu.org; 24 May 2024 12:45:51 +0000 Received: from localhost ([127.0.0.1]:36974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUIw-0004pv-Ne for submit@debbugs.gnu.org; Fri, 24 May 2024 08:45:51 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:57455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUIu-0004pp-IT for 71118@debbugs.gnu.org; Fri, 24 May 2024 08:45:49 -0400 Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-794ad6d2884so35423685a.2 for <71118@debbugs.gnu.org>; Fri, 24 May 2024 05:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716554675; x=1717159475; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eYIyTApNOJ14veeF1MDPI2KBkPxpdzDTIXBT2GICN2k=; b=jeoe+eFI/YsQOPDH8rc/8UTUm75XdfTRUTeewEDd5qJ+ITBJ1uzAAPfomHpxFjyQYp xc3kZOjpOicf6dxdbXcL4jQRNh3yNyozAX9O3yBTwADdaT5yztNP3ngvFp6HnhjJRYE+ 7bPoRldOk537+TjX0wXVTUtPdqjINhitZIcw20TENhoAf1eEuiyCi9a7HOxuwIgayfUy No98oT3/xqF46b5viK+R7GCF6GJkrJX0wto2Jf3G1IBrPy3sIyl9voFUBbeMJBxq7cXr 425w/2RA5P4aCGwNwC31+62Ix7+FYn9NfmoBlpJ8WCmRCZ8Vxq7Qgt/nHamhT+n6Vxt6 UZow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716554675; x=1717159475; h=content-transfer-encoding:mime-version:user-agent: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=eYIyTApNOJ14veeF1MDPI2KBkPxpdzDTIXBT2GICN2k=; b=RW+sk8pKRp2t6s2hkA9rjALCEsioOogJveKRwb+x2klNgkEtv894ZfKN15pqUktdqg OC3C1fxvue0M/IP2bpfjjlZc19m3Ye5ktLuTVkx4qyezrRPhF/HYqXhkv0H0iQEKlLI3 2v7PJ4l7acvuv0gSx+trSG6wAlirQbIJoFE5nA6oo8sdS5+uGwGFcX5GtR+/rTG9Jjo6 S019bj5uMbQLCMNX7O11CpbK8I6dPfa2U9Glwoa69DXdIKUE6+iB9LP/3U6mids8cLnH kPq7/gtPllj5+SqyYp2r778vU1MZ/iTK0RXP8ozVUsnkN0WzetiaBiZODXJxpHrYbY1r kkRg== X-Gm-Message-State: AOJu0YxFbj/skomxDIuEJRxYZJ7XKf3jEzZklqTqKL27ErDg2+4uH9b8 u89fOjlOgsGSo13c5gL4r3zNiyY5bo85N1q/y7HzzAorJ1Dnm8hGaelOVA== X-Google-Smtp-Source: AGHT+IFeS2FWgj7lzyk/0TZrnbtecSccocX1kHxNsBSW72OVmLoknTc3+K0W+xe7hH0I6s2O29L2WQ== X-Received: by 2002:ae9:f44b:0:b0:794:8103:4eaa with SMTP id af79cd13be357-794ab052b74mr226074585a.1.1716554675098; Fri, 24 May 2024 05:44:35 -0700 (PDT) Received: from hurd (dsl-10-130-164.b2b2c.ca. [72.10.130.164]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794abca63desm61560785a.5.2024.05.24.05.44.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 05:44:34 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 2/5] services: tor: Log to stderr rather than syslog. In-Reply-To: <8734q8c23o.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 23 May 2024 11:24:43 +0200") References: <87sey93get.fsf@gmail.com> <8734q8c23o.fsf@gnu.org> Date: Fri, 24 May 2024 08:44:33 -0400 Message-ID: <87zfsfidla.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@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.0 (-) Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: >> >>> * gnu/services/networking.scm (tor-configuration->torrc): Change =E2=80= =98Log=E2=80=99 >>> directive to =E2=80=98stderr=E2=80=99. >>> (tor-shepherd-service): Remove /dev/log file system mapping. >>> >>> Change-Id: I2e33ad8033f884ce59d929a4181172325331efe0 > > [...] > >> I see no functional change here; do I understand that Shepherd 1.0 will >> now log (by default?) to /dev/error (stderr) instead of /dev/log >> (syslog)? What is the rationale for such change? > > Shepherd by itself doesn=E2=80=99t make any decision; it=E2=80=99s up to = the service to > choose whether to log to stdout/stderr or to syslog. I see. > As I wrote in the cover letter at , > Shepherd 0.10 already does a good job at handling logs, which makes > gives less of an incentive to use syslogd; on top of that, 1.0 (current > =E2=80=98devel=E2=80=99 branch) can display messages logged to stderr/std= out directly at > the command line: > > $ sudo /run/current-system/profile/bin/herd status guix-publish > Status of guix-publish: > It is running since Tue 21 May 2024 08:44:57 AM CEST (2 days ago). > PID 518 running: /gnu/store/12jb83hlngklkymn52yzaw7kldr2qiwp-guix-1.4.0= -20.37719d3/bin/guix publish -u guix-publish -p 8123 -C zstd:3 -C gzip:3 --= nar-path=3Dnar --listen=3D0.0.0.0 --advertise > It is enabled. > Provides (guix-publish). > Requires (user-processes guix-daemon avahi-daemon). > Will be respawned. > Log file: /var/log/guix-publish.log. > > Recent messages: > 2024-05-21 10:56:10 In web/request.scm: > 2024-05-21 10:56:10 205:32 4 (read-request # _) > 2024-05-21 10:56:10 In web/http.scm: > 2024-05-21 10:56:10 1158:12 3 (read-request-line _) > 2024-05-21 10:56:10 1066:2 2 (parse-request-uri _ _ _) > 2024-05-21 10:56:10 In ice-9/boot-9.scm: > 2024-05-21 10:56:10 1685:16 1 (raise-exception _ #:continuable? _) > 2024-05-21 10:56:10 1685:16 0 (raise-exception _ #:continuable? _) > 2024-05-21 10:56:10 .Bad request: Invalid URI: 85.94.204.153:31204 > 2024-05-21 10:56:10=20 > > It=E2=80=99s a slight quality-of-life improvement. I agree that's more convenient than grepping /var/log/messages. Thanks for explaining and for the Shepherd improvements! --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri May 24 08:47:01 2024 Received: (at 71118) by debbugs.gnu.org; 24 May 2024 12:47:01 +0000 Received: from localhost ([127.0.0.1]:36982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUK5-0004ql-7O for submit@debbugs.gnu.org; Fri, 24 May 2024 08:47:01 -0400 Received: from mail-ot1-f47.google.com ([209.85.210.47]:46433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUK3-0004qf-Tx for 71118@debbugs.gnu.org; Fri, 24 May 2024 08:47:00 -0400 Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6f1016f41e2so3508775a34.1 for <71118@debbugs.gnu.org>; Fri, 24 May 2024 05:46:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716554747; x=1717159547; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oNESyR3Fee2gSRlOluAPw6ejaHtSf5xa3NlWa/bJEeQ=; b=UGyEVxpWj1ne7bZCz2EO8ZPYTSgE21fFsEy3Mzw6c4g5vyEFyp29tilheXVsVu5PLI ryJIEwywNfSSlgrm8RIWM153kBy6OwqybG9c7+VENHXL8VJbbYSw4JT4AOcL6m/hkaPP Tq4j/IoX2NiMZKghQSC/8njOyptWDBiInXzOHhv8y9IEORuGDqoQK4FAreDINpjgx+zg lmdYoae/LiV0Q8oDTLacXjbVbrtKDugVGBgRBluN1rfA4C+3f1BzY29KpY+CnVuoQQv0 +hesMts/FoWUtHCGUlJliQqGTsv4ZM2TkHmNe40lu2MDFRf+dfsDWJg73+glulFpPxH2 XLwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716554747; x=1717159547; h=content-transfer-encoding:mime-version:user-agent: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=oNESyR3Fee2gSRlOluAPw6ejaHtSf5xa3NlWa/bJEeQ=; b=UM+DfEwLe5mclpkV0+ELBBL5VeDHs06laBGDFj9GMDLs9IDrTwZDA1jkO5hhYkEtDD 98/69RlouDKSuINaFftfPYMD5AFT5/nh8LJ1RV10EFUjZMUboEGa5ldx+n8njFQYH5mz qMMzOrpU28sfWKy4vwdflGKojaZfWM7D5yP//QXqgd2PMKmcqGZPmlr/bNhp4aUsQwPZ yp5BU8zdIXF0yHX/JH4aNw7oP9d6wxFncq1VGHIui/dskp3oS5rOE1Z7QhHSwrQ5X3yn Gd6dqM90/vmS9lmK05NauKeftAv87I+mjjPG02hjgHLP+Ptw38egdupvjEjN1k2QMB7w NkpA== X-Gm-Message-State: AOJu0YzsvL6ViZ6t3HwY6Obk2E6ICDHcPaKFnmSNu31sTLxoX0XueEVf t+pQvwhmXkN66LTRb9KCSZ1+Q5EVcwS2zcQOboHOeLWMnH8KOSu3 X-Google-Smtp-Source: AGHT+IFJnegruS+uDfEJp2+mdfhpMb2lkbFopzNGzoAf+bAGdfBOwoTONq9WP1D4U6rfembd1khwxg== X-Received: by 2002:a05:6870:14ca:b0:23b:27:b103 with SMTP id 586e51a60fabf-24ca12e31f2mr2271497fac.29.1716554747015; Fri, 24 May 2024 05:45:47 -0700 (PDT) Received: from hurd (dsl-10-130-164.b2b2c.ca. [72.10.130.164]) by smtp.gmail.com with ESMTPSA id af79cd13be357-794abca84dcsm61708685a.14.2024.05.24.05.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 05:45:46 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 1/5] services: nscd: =?utf-8?B?4oCYbG9n?= =?utf-8?B?LWZpbGXigJk=?= defaults to #f. In-Reply-To: <87y180anh0.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 23 May 2024 11:26:03 +0200") References: <91683e6a6059df7816833d4e4d1e3bfc43aa74e7.1716386553.git.ludo@gnu.org> <871q5t4v96.fsf@gmail.com> <87y180anh0.fsf@gnu.org> Date: Fri, 24 May 2024 08:45:45 -0400 Message-ID: <87v833idja.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@debbugs.gnu.org, Matthew Trzcinski , Florian Pelz 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.0 (-) Hi, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: >> >>> * gnu/services/base.scm ()[log-file]: Default to #f. >>> * doc/guix.texi (Base Services): Clarify documentation. >>> >>> Change-Id: Ia75914fc2665db13bef688d53659083a615ebef4 > > [...] > >>> +@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}. >> >> Is it not a bit counter-intuitive, to have a 'log-file' field that users >> can set, but debug logs not going there? > > Yeah, I had to check the code of nscd in libc, and it=E2=80=99s this weir= d. Haha! >> Perhaps we should get rid of it entirely instead? > > I=E2=80=99d rather keep it to avoid gratuitous breakage and also because = it=E2=80=99s > occasionally useful when one needs to debug NSS/nscd issues. OK. Sounds reasonable. I didn't know the weirdness was carried from the underlying software rather than our own. --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri May 24 08:47:24 2024 Received: (at 71118) by debbugs.gnu.org; 24 May 2024 12:47:25 +0000 Received: from localhost ([127.0.0.1]:36987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUKS-0004rP-LR for submit@debbugs.gnu.org; Fri, 24 May 2024 08:47:24 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:50462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAUKQ-0004rH-W9 for 71118@debbugs.gnu.org; Fri, 24 May 2024 08:47:23 -0400 Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-43e09dab877so43802121cf.1 for <71118@debbugs.gnu.org>; Fri, 24 May 2024 05:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716554770; x=1717159570; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2fLU+YmZ2zpnggQ0In1tHiPNYfqJSSM2QTjYHfDu/l4=; b=Gg/UpqHOy5wc1LhYAj4zcPiGVQ9SLZfUVYrUCTpi4CDBo/4m/+4PQrVzrK0p6bLxAO 18ojMcvS63kmYp9F/TU0u4dWBP7HItJ2MjP97wmHqfX+KpXYQyTpwAeLDkzGDtQW5akK tRivcmxbSBP3UXku3cr3z1O2wW4a+jAxUeKUXge+kY61tHY5d4qxPTSklXk5KxPdAlFT TG0E0qfZXnS6lgSuOgJ/yaSWRw4TEo5VdPcRbQYSzxr/INhlMShmU04lKenBLbpfP4N6 RwzZEl4IMhKOHS7ePK3A7AIHqakj1DMjmVg6/wCsh9pELn6xOpiRWlwFdl+QGt1AaMHN KJug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716554770; x=1717159570; h=content-transfer-encoding:mime-version:user-agent: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=2fLU+YmZ2zpnggQ0In1tHiPNYfqJSSM2QTjYHfDu/l4=; b=I2UkMpfXcSZP/kGCtog1CHVF4CaNxIcOKTPgij+xp0nF3BbHqVPciChSqKt2VIgC2c cr7HnbDPC2jpws6E2o/vpf4mZZTxaBUJKFkyJ4/XL/sWGps+HkKReyklQWiw3f8HyEtJ mibg8wWE3Rg2IUuy2WDraMLTg3gPNBgQNwuAXhyRwXfg0c9760iin+GVQPgq6nKeqW4o KWOg3Z+CYQryrotw/n7VcdMmFtx3fkMN3x3KG3MCLPHZKUJSNQj4SPRU5BxcNUY3JyWD 8RpB+zV3p/vhlA1ggy95VZilgHfralUm14fdc114K6XMgl4oWNYfmStmlV20V0WeQReO 49IA== X-Gm-Message-State: AOJu0YxCeM1ttgu8z3Tra1Ierh4YQXY/Q9tVu7BCfEW5EvCgxowrs0yv iCkxD48WIvrGlSQ28Nnc4ZwNlB/rFwTbMNuHoFaOgx9vLlh4VR8gP5RdxA== X-Google-Smtp-Source: AGHT+IFAQYSAfoAzJkDpCMGJlrEdAbsVxoNYc2C+4RKoI2eAvLPBc+tPI4Zuj2U7PX8YprLj2qJaOA== X-Received: by 2002:a05:622a:493:b0:43a:dede:73b8 with SMTP id d75a77b69052e-43fb0f0d277mr19432551cf.57.1716554769826; Fri, 24 May 2024 05:46:09 -0700 (PDT) Received: from hurd (dsl-10-130-164.b2b2c.ca. [72.10.130.164]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-43fb17cad8dsm7438671cf.28.2024.05.24.05.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 05:46:09 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#71118] [PATCH 0/5] More service logging to stderr In-Reply-To: ("Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s=22's?= message of "Wed, 22 May 2024 16:04:32 +0200") References: Date: Fri, 24 May 2024 08:46:08 -0400 Message-ID: <87r0dridin.fsf@gmail.com> 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: 0.0 (/) X-Debbugs-Envelope-To: 71118 Cc: 71118@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.0 (-) Hello, Ludovic Court=C3=A8s writes: > Hello, > > This changes a few core services to log to stderr rather than > syslog, in light of the improvements made for the upcoming > Shepherd 1.0: =E2=80=98herd status=E2=80=99 displaying recently logged me= ssages, > and built-in log rotation. > > Thoughts? > > Ludo=E2=80=99. > > Ludovic Court=C3=A8s (5): > services: nscd: =E2=80=98log-file=E2=80=99 defaults to #f. > services: tor: Log to stderr rather than syslog. > services: dbus: Log to stderr rather than syslog. > services: avahi: Use socket activation and log to stderr. > services: darkstat: Depend on =E2=80=98user-processes=E2=80=99. > Reviewed-by: Maxim Cournoyer --=20 Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 02 14:57:57 2024 Received: (at 71118-done) by debbugs.gnu.org; 2 Jun 2024 18:57:57 +0000 Received: from localhost ([127.0.0.1]:60285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDqOz-0007iy-6I for submit@debbugs.gnu.org; Sun, 02 Jun 2024 14:57:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDqOw-0007im-Th for 71118-done@debbugs.gnu.org; Sun, 02 Jun 2024 14:57:56 -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 1sDqOf-0000j6-0J; Sun, 02 Jun 2024 14:57:37 -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=MmHuDZSJQKrFoOMn9nhPcMeKd2NQmAEviEN3UkfpbX8=; b=HML7I1WRMlgxjv/vVO8Z MxN4zSeeZ/PwXN7YjtvZ0UJWIK5Sv9hAGU+CLuDnoh2ei9CrtJ8jWQC+Is28011q7lg5h734+07ik 5OO+oDXD97Dbh+WlImcukg3F2hTEVn1GD1LDoML1Jp/jlT5W1QefXC/6cNChHddSRSo7mQEuX4GoR SSxlhPi9PkxWR9EtbS9vJNVehXeyNnvXELQ/e9Gz0Zu3iBVOsbBZm9yNUeCDZGkJSseDq7jrP0pzK EWawCvFB5ixgyYbpQNPDMWMZAoDqNfzhQU8dlAStEZplOe3Tvw1aUndDUWPqzmcIVQd6Vkh/DlxZZ 1bboS2xyB4llBQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Subject: Re: [bug#71118] [PATCH 0/5] More service logging to stderr In-Reply-To: <87r0dridin.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 24 May 2024 08:46:08 -0400") References: <87r0dridin.fsf@gmail.com> Date: Sun, 02 Jun 2024 20:57:34 +0200 Message-ID: <87v82rjhpd.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: 71118-done Cc: 71118-done@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, Pushed: 20e7b892189 * services: darkstat: Depend on =E2=80=98user-processes=E2=80= =99. 3298ec0200a * services: avahi: Use socket activation and log to stderr. b9b0f0a995e * services: dbus: Log to stderr rather than syslog. 49e9c9ec3e8 * services: tor: Log to stderr rather than syslog. 8f0878da8d1 * services: nscd: =E2=80=98log-file=E2=80=99 defaults to #f. Thanks for reviewing! Ludo=E2=80=99. From unknown Thu Jun 19 14:20:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Jul 2024 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator