From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iA8iMhRaN2QQCAEASxT56A (envelope-from ) for ; Thu, 13 Apr 2023 03:25:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gCImMhRaN2QlqwAA9RJhRA (envelope-from ) for ; Thu, 13 Apr 2023 03:25:40 +0200 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 7E2E43AE64 for ; Thu, 13 Apr 2023 03:25:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmli0-0007pu-FY; Wed, 12 Apr 2023 21:25:08 -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 1pmlhz-0007ns-4y for guix-patches@gnu.org; Wed, 12 Apr 2023 21:25:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmlhv-0004Zs-D2 for guix-patches@gnu.org; Wed, 12 Apr 2023 21:25:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pmlhv-0008Fk-94 for guix-patches@gnu.org; Wed, 12 Apr 2023 21:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62802] [PATCH 3/4] services/syslog: Strip leading white space indent in syslog.conf. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Apr 2023 01:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62802 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62802@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 62802-submit@debbugs.gnu.org id=B62802.168134908131664 (code B ref 62802); Thu, 13 Apr 2023 01:25:03 +0000 Received: (at 62802) by debbugs.gnu.org; 13 Apr 2023 01:24:41 +0000 Received: from localhost ([127.0.0.1]:42140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmlhZ-0008Ee-IG for submit@debbugs.gnu.org; Wed, 12 Apr 2023 21:24:41 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:44869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmlhX-0008E7-NS for 62802@debbugs.gnu.org; Wed, 12 Apr 2023 21:24:40 -0400 Received: by mail-qt1-f173.google.com with SMTP id cg4so4977220qtb.11 for <62802@debbugs.gnu.org>; Wed, 12 Apr 2023 18:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681349074; x=1683941074; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SN+J/ZlWLAFtrbldkmME74Nw70ZO4SBPficaocjB9v4=; b=djrglG3LAChzk1KMds77K9fWoD9GcYYG6SWSWDuyiCix91UPUDQkykNR9sFj+0jILw 7aaIz1Pngjit6iixEP8Ly1Oe7X6vsk3tLTqU2AJiSO78z5944FK6SVwl+rdgdgen0lLf u1FfyPZPnCBQ4JJzUzWcehqN5pWM1ly3b8Kf2DC12TQyVPE8tERFoP/glgWKoONr96yL meyYPgDsBeq5IFC150Bf+ubdqjx/rAcxyXbQjT72xtGnzgqKB9TFkW/3x39hj/du6Px9 Yu8pAT7t93IKmcnSuJX//SCy7R3Em5ddi943+E1LvpIcgeIttGPwTJkvlmAyuo5kX+Xm Alkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681349074; x=1683941074; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SN+J/ZlWLAFtrbldkmME74Nw70ZO4SBPficaocjB9v4=; b=IUy+S3eL+M1jUcMwdiVdWYj67mLr3DX8Dc2v9UPI1QK4E1G+nn4uZmHrUSwK5wI5wn uOh8urYC+hsad7VA2s2XJKUECVn9sx23YnYYfgSuBkWchWLgnmrsJNA4fhrVjucBaAlX rzGUnF2SC+zmyL1KaWQx2zzEbqu+/qqGBy17P0Mz6KvZ/ozohcr91D6tioN9f7NChYFr e5IH+3iCR5iFVjOYtLMFnOB6MZY6HxJnWdXuJ+/8PEXxr6plk3aQ1ZG6iJP92BTTuoYh ixdyiAhee56Mcj92I/0DQv5UywiuG/2d+KVchPkr/jxA7YRTMeiM+FohJ8NejiF7nXAl ULwQ== X-Gm-Message-State: AAQBX9eJGU1aiK1it5yzTBvQXG7Sjl0JCcdjiE4NwzLPPhxRT2cKEeG9 rnFlAVXWrSZS5L8zH/lfjihIqI0oC7I= X-Google-Smtp-Source: AKy350b2YnduisSXBBfdkQZwg61evGb6qh43khaR01Qpt64y+6/+o3TJj/PAdtRQxX3+m/EIoli+DA== X-Received: by 2002:a05:622a:4:b0:3e3:5ac8:c17f with SMTP id x4-20020a05622a000400b003e35ac8c17fmr944257qtw.4.1681349074086; Wed, 12 Apr 2023 18:24:34 -0700 (PDT) Received: from localhost.localdomain (dsl-152-224.b2b2c.ca. [66.158.152.224]) by smtp.gmail.com with ESMTPSA id l22-20020ac81496000000b003e4c6b2cc35sm142505qtj.24.2023.04.12.18.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 18:24:33 -0700 (PDT) From: Maxim Cournoyer Date: Wed, 12 Apr 2023 21:24:06 -0400 Message-Id: <20230413012408.2759-3-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230413012408.2759-1-maxim.cournoyer@gmail.com> References: <20230413012408.2759-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681349140; a=rsa-sha256; cv=none; b=Yq7aqNd8ilfUX1QwSusSOZA5OQPLti3MUAK7caYl/OpC/VVO63TDVQbXz9b8FWEpDJP5SD zU8YTJhhTjMx+7BcCIkLEkRAQck1Q6YCPNeMom3jqnJcOChI2xEftEbyl01UfmnjvDlYVw G/mioqiH4Z8FV6H9Fonu6BdrTrEfFlLRr09rXLidyydQmO0sqgrZXD8YZXw4MMNz274uCf hefWYjlcD79j59T0vyBIzFWnOLsWJS8c8QJaEPby3DZGM0uk688GPSeYgQzdA1RZojop0R 5cA6SEjrPk8oKhLwSOfKRenJRKCpgjjvB0NQEHq4gYhHocbrD1Khbyp6tWrT7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=djrglG3L; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681349140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=SN+J/ZlWLAFtrbldkmME74Nw70ZO4SBPficaocjB9v4=; b=Styl76PCUd8sbHDxSQ78be0ZACDWGI1vm5uNufiXZjwrk1jMM+em85a31/cxeKj6wXp1uI i4at00u/uyMQ5NSV0nQeNr0BYoq7tod7xnZu0Bws40M+Iq2rIiXhZ91lTVqbb8GkniCvoa wfwRtxMLqVUUjp2f/2f5jc8jIe6oK6x3qjYjQiaDEHs/wgaZ/7qLv+Ev4jEU3jalMjvaLf 3OVJdRC7Wjru5iOb9CYi99e/DcZezc/QjXmkw0+0brRbbksY343Y+/uHxGO85P8bee+daL 6XLe26hKz72bomK/zhnnqmbW/vAzjVYBqgoh3l0egrMlwFPlZI7ISjeXCJ/Sqw== X-Migadu-Queue-Id: 7E2E43AE64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=djrglG3L; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: 4.98 X-Spam-Score: 4.98 X-TUID: q/z8+cUVAtq1 This is a cosmetic change. * gnu/services/base.scm (%default-syslog.conf): Add a comment referencing the documentation. Strip the extraneous leading trailing white space indent. --- gnu/services/base.scm | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index db7a0bbc56..0cde151e1a 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1491,31 +1491,34 @@ (define-deprecated (nscd-service #:optional (config (nscd-configuration))) Service Switch}, for an example." (service nscd-service-type config)) -;; Snippet adapted from the GNU inetutils manual. +;;; Snippet adapted from the GNU inetutils manual. (define %default-syslog.conf - (plain-file "syslog.conf" " - # Log all error messages, authentication messages of - # level notice or higher and anything of level err or - # higher to the console. - # Don't log private authentication messages! - *.alert;auth.notice;authpriv.none -/dev/console + (plain-file "syslog.conf" "\ +# See info '(inetutils) syslogd invocation' for the documentation +# of the syslogd configuration syntax. - # Log anything (except mail) of level info or higher. - # Don't log private authentication messages! - *.info;mail.none;authpriv.none -/var/log/messages +# Log all error messages, authentication messages of +# level notice or higher and anything of level err or +# higher to the console. +# Don't log private authentication messages! +*.alert;auth.notice;authpriv.none -/dev/console - # Log \"debug\"-level entries and nothing else. - *.=debug -/var/log/debug +# Log anything (except mail) of level info or higher. +# Don't log private authentication messages! +*.info;mail.none;authpriv.none -/var/log/messages - # Same, in a different place. - *.info;mail.none;authpriv.none -/dev/tty12 +# Log \"debug\"-level entries and nothing else. +*.=debug -/var/log/debug - # The authpriv file has restricted access. - # 'fsync' the file after each line (hence the lack of a leading dash). - authpriv.* /var/log/secure +# Same, in a different place. +*.info;mail.none;authpriv.none -/dev/tty12 - # Log all the mail messages in one place. - mail.* -/var/log/maillog +# The authpriv file has restricted access. +# 'fsync' the file after each line (hence the lack of a leading dash). +authpriv.* /var/log/secure + +# Log all the mail messages in one place. +mail.* -/var/log/maillog ")) (define-record-type* -- 2.39.2