From unknown Fri Aug 15 16:21:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48323: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 09 May 2021 20:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48323 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48323@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16205908896464 (code B ref -1); Sun, 09 May 2021 20:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 May 2021 20:08:09 +0000 Received: from localhost ([127.0.0.1]:56665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfpii-0001gC-Mk for submit@debbugs.gnu.org; Sun, 09 May 2021 16:08:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:60898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfpif-0001g1-Nl for submit@debbugs.gnu.org; Sun, 09 May 2021 16:08:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfpif-0002Tp-Il for bug-guix@gnu.org; Sun, 09 May 2021 16:08:05 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:38424) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfpid-0000pW-LJ for bug-guix@gnu.org; Sun, 09 May 2021 16:08:05 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 9045C1ACAA for ; Sun, 9 May 2021 13:07:55 -0700 (PDT) From: Vagrant Cascadian Date: Sun, 09 May 2021 13:07:38 -0700 Message-ID: <87tunbr7qt.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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 (---) --=-=-= Content-Type: text/plain Both guix-daemon.service and guix-publish.service make use of StandardError=syslog and StandardOutput=syslog. When building a guix 1.2.0 or 1.3.0rc* on Debian, I get the following warnings when checking with lintian: W: guix: systemd-service-file-uses-deprecated-syslog-facility lib/systemd/system/guix-daemon.service StandardError=syslog N: W: systemd-service-file-uses-deprecated-syslog-facility N: N: The specified systemd service file specifies StandardOutput= or N: StandardError= that references syslog or syslog-console. N: N: This is discouraged, and systemd versions 246 and above will log a N: warning about this. N: N: Refer to N: https://github.com/systemd/systemd/blob/6706384a89ae0c462e7172588c80667190c4d9e2/NEWS#L724 N: for details. N: N: Severity: warning N: N: Check: systemd Following the above link has this to say: * StandardError= and StandardOutput= in unit files no longer support the "syslog" and "syslog-console" switches. They were long removed from the documentation, but will now result in warnings when used, and be converted to "journal" and "journal+console" automatically. So apparently need to switch the .service files to use "journal". I am not sure what implications that would have for installing guix on a foreign distro, such as minimum systemd version, or if anything needs significant changes. Presumably at some point support for this Standard*=syslog will be dropped entirely from systemd... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJhBCgAKCRDcUY/If5cW qsO3AQD3X1GtTyZ0UOUXXa2jCZEDXFv2xArBoxWY3mDl+Pv8bwD+MqdjYR8uRS7f bQbZFsa0TiOQluK/Q3J3r+3Zx2x0WQY= =zXXv -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 17:13:00 2021 Received: (at control) by debbugs.gnu.org; 11 May 2021 21:13:00 +0000 Received: from localhost ([127.0.0.1]:37650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgZga-0004FB-Cv for submit@debbugs.gnu.org; Tue, 11 May 2021 17:13:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgZgY-0004Ez-CW for control@debbugs.gnu.org; Tue, 11 May 2021 17:12:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38332) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgZgS-0007Cl-L8 for control@debbugs.gnu.org; Tue, 11 May 2021 17:12:52 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33414 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgZgQ-0002LS-MM for control@debbugs.gnu.org; Tue, 11 May 2021 17:12:51 -0400 Date: Tue, 11 May 2021 23:12:49 +0200 Message-Id: <87r1idug8e.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #48323 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) severity 48323 important quit From unknown Fri Aug 15 16:21:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48323: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Apr 2022 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48323 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Vagrant Cascadian Cc: 48323@debbugs.gnu.org Received: via spool by 48323-submit@debbugs.gnu.org id=B48323.165124387710118 (code B ref 48323); Fri, 29 Apr 2022 14:52:02 +0000 Received: (at 48323) by debbugs.gnu.org; 29 Apr 2022 14:51:17 +0000 Received: from localhost ([127.0.0.1]:55084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRxl-0002d6-0q for submit@debbugs.gnu.org; Fri, 29 Apr 2022 10:51:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkRxj-0002cb-Qw for 48323@debbugs.gnu.org; Fri, 29 Apr 2022 10:51:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkRxd-0001MV-GQ; Fri, 29 Apr 2022 10:51:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=y7p7/qhD10cm5VWzhoNKkHJNvpV1zMxpgt4nvR9191A=; b=nXeMmi6nHCBirim7TXE0 vRh/pJ0U06SKw/XKfhqwM6Ruj0ywL0Q2ttpqPsEkTYDm/HGz1sAafjOtOwtS8W9Incvuh4RoUbVn1 2eGgHI/RrAucA0ww3YeZ0XTzFjMfZoETxIn04MnA48HT/TA33WNUAnOzxHTFYHhbddBUCTFIqClSx 8ylPIQh2ypl8vb+w/RYsLQbgqAzCfz8tQfIvP5QxqEAKY5g1/pgEW9smiPPJsAKi1gfdf2Ydv0tAm NpD3YUbS3cgqnRaK4z4hdKYMNjszXXVFRAX6fio9xgO29SnC2Z7z9S9fLDwMJgYDaKdrFlOAoOEox BAG+eBoQvM78Gg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=48980 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkRxd-0007sp-3T; Fri, 29 Apr 2022 10:51:09 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87tunbr7qt.fsf@yucca> Date: Fri, 29 Apr 2022 16:51:06 +0200 In-Reply-To: <87tunbr7qt.fsf@yucca> (Vagrant Cascadian's message of "Sun, 09 May 2021 13:07:38 -0700") Message-ID: <87fslw6izp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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! Vagrant Cascadian skribis: > Both guix-daemon.service and guix-publish.service make use of > StandardError=3Dsyslog and StandardOutput=3Dsyslog. [...] > So apparently need to switch the .service files to use "journal". I am > not sure what implications that would have for installing guix on a > foreign distro, such as minimum systemd version, or if anything needs > significant changes. Could you confirm that setting those to =E2=80=9Cjournal=E2=80=9D works on = Debian? If it does, it=E2=80=99s probably safe now to make this change, so feel fre= e to commit it in Guix. Thanks, Ludo=E2=80=99. From unknown Fri Aug 15 16:21:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48323: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 Jul 2023 19:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48323 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48323@debbugs.gnu.org Received: via spool by 48323-submit@debbugs.gnu.org id=B48323.168988174926464 (code B ref 48323); Thu, 20 Jul 2023 19:36:01 +0000 Received: (at 48323) by debbugs.gnu.org; 20 Jul 2023 19:35:49 +0000 Received: from localhost ([127.0.0.1]:59959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMZRF-0006sl-8P for submit@debbugs.gnu.org; Thu, 20 Jul 2023 15:35:49 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:59082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMZRD-0006sU-BI for 48323@debbugs.gnu.org; Thu, 20 Jul 2023 15:35:48 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id E8AA71AD05; Thu, 20 Jul 2023 12:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1689881738; bh=6W7Qj+fkZR52rZ4qZHYsrGJvcF5zyPPK4OUIwpXX5JA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Ero9CYUmoNaQ1hlBnpBuanPtE0iObDOJnFb8J2C/JdfxcD9pSk3SbAS0SJjBvzmhf q+SQuUQOLEY7RKegkpPQddEh4Rl7ni4GGw/OcKljlKztXjg9wjCBpGHNQEmdKusXf2 /RGGYbaOXRt6+XiPlYrTYyNpUvTz/VIixUeVuZwA5BMAkZyLxrYYLHQXNld8jHyooi 4FA0t7u3wAx+fQ85MYHS6Gmrwd+COdUE/MvMLx2MbCpdUQ2fC7TPPdyKRhgJ1cOQJh QxseWuXKYNxuLEAkpi0gsmjYZH+Vq7x39g+BcXxhmN52Oa2D7iKTIdz/Vv7tD1swZv hzDcKc+VQ+8oA== From: Vagrant Cascadian In-Reply-To: <87fslw6izp.fsf@gnu.org> References: <87tunbr7qt.fsf@yucca> <87fslw6izp.fsf@gnu.org> Date: Thu, 20 Jul 2023 12:35:33 -0700 Message-ID: <87a5vq1im2.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2022-04-29, Ludovic Court=C3=A8s wrote: > Vagrant Cascadian skribis: > >> Both guix-daemon.service and guix-publish.service make use of >> StandardError=3Dsyslog and StandardOutput=3Dsyslog. > > [...] > >> So apparently need to switch the .service files to use "journal". I am >> not sure what implications that would have for installing guix on a >> foreign distro, such as minimum systemd version, or if anything needs >> significant changes. > > Could you confirm that setting those to =E2=80=9Cjournal=E2=80=9D works o= n Debian? > > If it does, it=E2=80=99s probably safe now to make this change, so feel f= ree to > commit it in Guix. So, I finally got around to testing this... Feels a little odd just pushing after testing over a year later, although the patch is fairly trivial... Patch attached! live well, vagrant --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename=0001-etc-systemd-services-switch-to-journal-for-output-an.patch Content-Transfer-Encoding: quoted-printable From=202c3a09314b0223531ab41407d619bcf300b4f422 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 20 Jul 2023 12:13:55 -0700 Subject: [PATCH] etc: systemd services: switch to "journal" for output and error logging. The "syslog" method has been deprecated for years, and issues a warning: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. Fixes: #48323 * etc/guix-daemon.service.in (StandardOutput): Use "journal" (StandardError): Likewise. * etc/guix-publish.service.in (StandardOutput): Likewise. (StandardError): Likewise. =2D-- etc/guix-daemon.service.in | 4 ++-- etc/guix-publish.service.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in index 9dbc3b5678..5e75379b5e 100644 =2D-- a/etc/guix-daemon.service.in +++ b/etc/guix-daemon.service.in @@ -9,8 +9,8 @@ Description=3DBuild daemon for GNU Guix ExecStart=3D@localstatedir@/guix/profiles/per-user/root/current-guix/bin/g= uix-daemon \ --build-users-group=3Dguixbuild --discover=3Dno Environment=3D'GUIX_LOCPATH=3D@localstatedir@/guix/profiles/per-user/root/= guix-profile/lib/locale' LC_ALL=3Den_US.utf8 =2DStandardOutput=3Dsyslog =2DStandardError=3Dsyslog +StandardOutput=3Djournal +StandardError=3Djournal =20 # Work around a nasty systemd =E2=80=98feature=E2=80=99 that kills the ent= ire process tree # (including the daemon!) if any child, such as cc1plus, runs out of memor= y. diff --git a/etc/guix-publish.service.in b/etc/guix-publish.service.in index b8fd3b4c03..0d82e73d94 100644 =2D-- a/etc/guix-publish.service.in +++ b/etc/guix-publish.service.in @@ -11,8 +11,8 @@ After=3Dguix-daemon.service [Service] ExecStart=3D@localstatedir@/guix/profiles/per-user/root/current-guix/bin/g= uix publish --user=3Dnobody --port=3D8181 Environment=3D'GUIX_LOCPATH=3D@localstatedir@/guix/profiles/per-user/root/= guix-profile/lib/locale' LC_ALL=3Den_US.utf8 =2DStandardOutput=3Dsyslog =2DStandardError=3Dsyslog +StandardOutput=3Djournal +StandardError=3Djournal =20 # Despite the name, this is rate-limited: a broken daemon will eventually = fail. Restart=3Dalways base-commit: 21b718f4d6c3ded8ef50d12f6e9ae6474f74620f =2D-=20 2.39.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZLmMhQAKCRDcUY/If5cW qu3nAP99/RzWW16Vb2dyu44npNUOSw92hqB3zQ0WbBOfdQwR8AD/Th7vhuZeY/Ya SiUYB5R3GisDwaF1Uq7Fdb77rgx6Ygs= =cPVr -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Aug 15 16:21:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vagrant Cascadian Subject: bug#48323: closed (Re: bug#48323: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features) Message-ID: References: <87v85ssag4.fsf@contorta> <87tunbr7qt.fsf@yucca> X-Gnu-PR-Message: they-closed 48323 X-Gnu-PR-Package: guix Reply-To: 48323@debbugs.gnu.org Date: Mon, 11 Mar 2024 21:54:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1710194042-5619-1" This is a multi-part message in MIME format... ------------=_1710194042-5619-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48323: guix-daemon.service and guix-publish.service use deprecated Standar= dError/StandardOutput features which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48323@debbugs.gnu.org. --=20 48323: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48323 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1710194042-5619-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48323-done) by debbugs.gnu.org; 11 Mar 2024 21:53:49 +0000 Received: from localhost ([127.0.0.1]:41413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjnaf-0001SD-15 for submit@debbugs.gnu.org; Mon, 11 Mar 2024 17:53:49 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:53730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjnab-0001Rv-II for 48323-done@debbugs.gnu.org; Mon, 11 Mar 2024 17:53:47 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 603521ADAE; Mon, 11 Mar 2024 14:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1710193952; bh=lFAsW2P8NgOZ8A2XH4ovxbybNT5ctkXGOj0gdaHs9Po=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=UGgDfzK5iJqMAx5CKuZSt+UCroZ85XpsB+8qlKPDqFky5Mneybzk2Bjaf38VQiSIL pmvgmbxke162DI2aDUQGocBSO/x7y/xG4JFzx/L2MrmNhSjoSbopzg3t2UAEkTePdQ aPcM00oOO4eydbgzg8VDCKfy47Lq2Xyz2BJrhre25gpNimdZ8x/5V5U2w61gjK+LJQ +qxIZaesJxNLHA9Ulu4rGZROhYx9D8pyGZMPiF8xbCQikpcCnbXdad5o5TUmIrwsW+ wK5m+3qdcPRc+jOmXSUGUa3XZ5APlpa8cZSEH8MSGdLcb8tgg14sD0kerNGxA0SXjP 1BS9Bl3PBMO2g== From: Vagrant Cascadian To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#48323: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features In-Reply-To: <87a5vq1im2.fsf@wireframe> References: <87tunbr7qt.fsf@yucca> <87fslw6izp.fsf@gnu.org> <87a5vq1im2.fsf@wireframe> Date: Mon, 11 Mar 2024 14:52:27 -0700 Message-ID: <87v85ssag4.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48323-done Cc: 48323-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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2023-07-20, Vagrant Cascadian wrote: > On 2022-04-29, Ludovic Court=C3=A8s wrote: >> Vagrant Cascadian skribis: >> >>> Both guix-daemon.service and guix-publish.service make use of >>> StandardError=3Dsyslog and StandardOutput=3Dsyslog. >> >> [...] >> >>> So apparently need to switch the .service files to use "journal". I am >>> not sure what implications that would have for installing guix on a >>> foreign distro, such as minimum systemd version, or if anything needs >>> significant changes. >> >> Could you confirm that setting those to =E2=80=9Cjournal=E2=80=9D works = on Debian? >> >> If it does, it=E2=80=99s probably safe now to make this change, so feel = free to >> commit it in Guix. > > So, I finally got around to testing this... > > Feels a little odd just pushing after testing over a year later, > although the patch is fairly trivial... And finally pushed the patch, as 5f100c68a4a8ef9ed5599bb99c910018869bc6f3! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZe99HAAKCRDcUY/If5cW qlXFAP9BGCX8WvcGH99FAVD8hY15IE2kzcb8WVe7jQliLoNXeQEA8BTMK6/yf34T wz2qdYHFPoL/55TMkFO4gJKFEK7bYwU= =8QW6 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1710194042-5619-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 May 2021 20:08:09 +0000 Received: from localhost ([127.0.0.1]:56665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfpii-0001gC-Mk for submit@debbugs.gnu.org; Sun, 09 May 2021 16:08:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:60898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfpif-0001g1-Nl for submit@debbugs.gnu.org; Sun, 09 May 2021 16:08:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfpif-0002Tp-Il for bug-guix@gnu.org; Sun, 09 May 2021 16:08:05 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:38424) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfpid-0000pW-LJ for bug-guix@gnu.org; Sun, 09 May 2021 16:08:05 -0400 Received: from localhost (97-120-1-76.ptld.qwest.net [97.120.1.76]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 9045C1ACAA for ; Sun, 9 May 2021 13:07:55 -0700 (PDT) From: Vagrant Cascadian To: bug-guix@gnu.org Subject: guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features Date: Sun, 09 May 2021 13:07:38 -0700 Message-ID: <87tunbr7qt.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (---) --=-=-= Content-Type: text/plain Both guix-daemon.service and guix-publish.service make use of StandardError=syslog and StandardOutput=syslog. When building a guix 1.2.0 or 1.3.0rc* on Debian, I get the following warnings when checking with lintian: W: guix: systemd-service-file-uses-deprecated-syslog-facility lib/systemd/system/guix-daemon.service StandardError=syslog N: W: systemd-service-file-uses-deprecated-syslog-facility N: N: The specified systemd service file specifies StandardOutput= or N: StandardError= that references syslog or syslog-console. N: N: This is discouraged, and systemd versions 246 and above will log a N: warning about this. N: N: Refer to N: https://github.com/systemd/systemd/blob/6706384a89ae0c462e7172588c80667190c4d9e2/NEWS#L724 N: for details. N: N: Severity: warning N: N: Check: systemd Following the above link has this to say: * StandardError= and StandardOutput= in unit files no longer support the "syslog" and "syslog-console" switches. They were long removed from the documentation, but will now result in warnings when used, and be converted to "journal" and "journal+console" automatically. So apparently need to switch the .service files to use "journal". I am not sure what implications that would have for installing guix on a foreign distro, such as minimum systemd version, or if anything needs significant changes. Presumably at some point support for this Standard*=syslog will be dropped entirely from systemd... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJhBCgAKCRDcUY/If5cW qsO3AQD3X1GtTyZ0UOUXXa2jCZEDXFv2xArBoxWY3mDl+Pv8bwD+MqdjYR8uRS7f bQbZFsa0TiOQluK/Q3J3r+3Zx2x0WQY= =zXXv -----END PGP SIGNATURE----- --=-=-=-- ------------=_1710194042-5619-1--