From debbugs-submit-bounces@debbugs.gnu.org Sun May 09 16:08:09 2021 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----- --=-=-=--