From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 12:14:51 2024 Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 17:14:51 +0000 Received: from localhost ([127.0.0.1]:38681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQUyB-0006gT-0c for submit@debbugs.gnu.org; Wed, 25 Dec 2024 12:14:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:53394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <45mg.writes@gmail.com>) id 1tQUyA-0006gM-0E for submit@debbugs.gnu.org; Wed, 25 Dec 2024 12:14:50 -0500 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 <45mg.writes@gmail.com>) id 1tQUy8-0006dd-MX for guix-patches@gnu.org; Wed, 25 Dec 2024 12:14:49 -0500 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <45mg.writes@gmail.com>) id 1tQUy7-0008Dg-4u; Wed, 25 Dec 2024 12:14:48 -0500 Received: by mail-pl1-x642.google.com with SMTP id d9443c01a7336-2165cb60719so65920955ad.0; Wed, 25 Dec 2024 09:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735146885; x=1735751685; darn=gnu.org; 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=RcGhaXv81wkEcvqOTwgUJIxelHHlu8O0tw1Er3/SAgE=; b=ZaR9ZJ6KEWNZt4A0wiRx92Yd/14yUOIzHXxXSF0DezjCsvKfvPi6IriBgSsd+UQWmz 6nOXD0dnjP5UFDeRqBWfMF+CIAGnArhNNQ4IvQt5BUSqUBKxxliAr79ZFJiJ0NupiyIq xUamIP9doIxqE/1244cojg4V4SuBf56CN8M9qjLqtO9wpEK/7YtUHgkdJgNDDuWaavSP 5hULUkNwh91slDnsRp72bag0Dg0mx+YFWBo7fX9eTHItXOowD9gCMcDSayELZetQ5VBG 3p2Tlu7Y7n9S5BAOJWg4UhvjyFCyi2w042iy07V1h/sj4Koz5OSPn87RMtZFN33q4k1b MPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735146885; x=1735751685; 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=RcGhaXv81wkEcvqOTwgUJIxelHHlu8O0tw1Er3/SAgE=; b=cPTWPzAnvBSYnE09ctvv+UGwF0Ch/ZabUn5suwfkJDslbgk60eDl76gT3zK1LSYMl/ 37TvCyhIm25e5N1Arfe15dSdY/9Ii37rLveEeB8rTZpyWPtKFqIUUI96gbj5J/YqR/bN V40uVAbyFp3I2vem+00DfhDvlwSgFBrcoVuc5A3Z5lYn2tyzMdfNZIpgSZdwOrzx4w0C hwCwqI6WLSINySmMF2GFbJ99I2NxvXCAKYcV7sLHW8v52IzQiiSyFI5foLKfY1oCrWIq fP59H6Ou74/bT2vyQKNQ5mUEtVIWd4xqB3SQX9+IjYxhuYboauBcLKYIQlA0ry/cI/mx fO6A== X-Gm-Message-State: AOJu0YzG4Ae09IHReQDLXa6VlFKch1me7bXjw9EM6Oy9AHsSZZqtm162 mVnkFlv1QkR6nE0Yc63ON8XE3vKIORRtegsgryKc7nyxyAysSVdNckdQc26c X-Gm-Gg: ASbGncs1um2a7RRhYS/qcXqmRBhogLkFDmP7tnC7HIThJP9B+r4PRuRS5Mk9A4yLiK2 WmEKc9M84TR/q53mzwIPVcif/76aRP+TQ21I1zQRtTVoHAT+wz+XGqDe0nLj5B2I1ih+Rh6l6Hh 2I03jhB2E1CfFZWAzMpNtenh0JbBWCeBh5Dmj2TEjvymgVWObe5JHqcSA9rEUwTpubaCXYNkR2S tSA7dIv2S3w6qAlgskGUfsn1q07TclUQF1ap24/fCMhsY5sWiKWKmJgPFu6Ge9WO9wdEEy7 X-Google-Smtp-Source: AGHT+IFAIrbiaOV5zlCywCacSLCMVnV9rjm/eRT5wWp1YI/H0PT4Q+4qhqqM83Wp52V6BqoLcoSfPg== X-Received: by 2002:a17:903:234f:b0:216:4b6f:ddda with SMTP id d9443c01a7336-219e6f0e6c3mr268299795ad.35.1735146884747; Wed, 25 Dec 2024 09:14:44 -0800 (PST) Received: from localhost.localdomain ([2406:7400:63:dc0d:b65c:e03:5bcb:5d04]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962c31sm106508685ad.47.2024.12.25.09.14.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Dec 2024 09:14:44 -0800 (PST) From: 45mg <45mg.writes@gmail.com> To: guix-patches@gnu.org Subject: [PATCH] services: syslog: fix configuration file argument Date: Wed, 25 Dec 2024 12:14:23 -0500 Message-ID: <397cb53b5bda9e78b811a7bb385255b0fd8e13bc.1735146863.git.45mg.writes@gmail.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <87jzbqxc3t.fsf@m4x.org> References: <87jzbqxc3t.fsf@m4x.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::642; envelope-from=45mg.writes@gmail.com; helo=mail-pl1-x642.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: ludo@gnu.org, 45mg <45mg.writes@gmail.com>, jean-baptiste.note@m4x.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: -2.3 (--) * gnu/services/base.scm (syslog-shepherd-service): Separate incorrectly combined arguments which resulted in an argument like "-f /etc/syslog.conf" being passed to syslogd, leading it to ignore the argument and execute without a configuration file. Effects of this included no log files being written, though the Shepherd service ran successfully. Ref: https://issues.guix.gnu.org/70677#4-lineno7 Change-Id: I3dbe00eabd4a10804e554c12e1466483c0b185b7 --- gnu/services/base.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index fc604f029a..75ce4e8fe5 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1679,7 +1679,7 @@ (define (syslog-shepherd-service config) (start #~(make-forkexec-constructor (list #$(syslog-configuration-syslogd config) ;; the -f option here is compatible with rsyslog - #$(string-append "-f " syslog.conf) + "-f" #$syslog.conf #$@(syslog-configuration-extra-options config)) #:file-creation-mask #o137 #:pid-file "/var/run/syslog.pid")) base-commit: 3ada4796e9adcea6fce621e639ddbfb181ab6689 -- 2.47.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 25 16:49:34 2024 Received: (at 75091-done) by debbugs.gnu.org; 25 Dec 2024 21:49:34 +0000 Received: from localhost ([127.0.0.1]:39207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQZG2-0002cU-1e for submit@debbugs.gnu.org; Wed, 25 Dec 2024 16:49:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQZG0-0002cD-9n for 75091-done@debbugs.gnu.org; Wed, 25 Dec 2024 16:49:32 -0500 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 1tQZFt-0007QT-WA; Wed, 25 Dec 2024 16:49:26 -0500 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=nLKW81byK6ZWsBicXb7d3bOIzHr6LCe9IZzgsSOsCWg=; b=LBGRCuRmnxpMOIt6xAuN bNBMHJzLM27qaICOt+OrzigM/Cc9PdeCZK5XEcL6A+CXi5Y4KvYaKlBzqrbEYG6fKRaG8Sdga6sf1 wmZP4qaUB9lddL469Sb3NdISyJsE4PeBsqFTfBBKXF3shre7cdlu7Cj6pOcqsEisRbUcXqH7viRWT bM/TGfJ/k9rZoWi44POfllNXAVo6Mw/8MVcF3fZuOQ3jJT212BFASWgN0KiGIHuJU+1pf7PfgGPmu bC2mmCkSwGBdmP9eNDONwnSNOqbLXj24pqiekNSy39GFZ6dRNbY5A5nuAUFcjf+io/h3pWcMVjF3r JCQrUaTl3/Yt3A==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 45mg <45mg.writes@gmail.com> Subject: Re: [bug#75091] [PATCH] services: syslog: fix configuration file argument In-Reply-To: <397cb53b5bda9e78b811a7bb385255b0fd8e13bc.1735146863.git.45mg.writes@gmail.com> (45mg.writes@gmail.com's message of "Wed, 25 Dec 2024 12:14:23 -0500") References: <87jzbqxc3t.fsf@m4x.org> <397cb53b5bda9e78b811a7bb385255b0fd8e13bc.1735146863.git.45mg.writes@gmail.com> Date: Wed, 25 Dec 2024 22:49:23 +0100 Message-ID: <87v7v7302k.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: 75091-done Cc: jean-baptiste.note@m4x.org, 75091-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 (---) 45mg <45mg.writes@gmail.com> skribis: > * gnu/services/base.scm (syslog-shepherd-service): Separate incorrectly > combined arguments which resulted in an argument like "-f > /etc/syslog.conf" being passed to syslogd, leading it to ignore the > argument and execute without a configuration file. Effects of this > included no log files being written, though the Shepherd service ran > successfully. > > Ref: https://issues.guix.gnu.org/70677#4-lineno7 > Change-Id: I3dbe00eabd4a10804e554c12e1466483c0b185b7 Oops, my bad, I overlooked that. Applied, thanks! Ludo=E2=80=99. From unknown Sat Jun 14 14:27:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Jan 2025 12:24:27 +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