guix-daemon.service and guix-publish.service use deprecated StandardError/StandardOutput features

OpenSubmitted by Vagrant Cascadian.
Details
2 participants
  • Ludovic Courtès
  • Vagrant Cascadian
Owner
unassigned
Severity
important
V
V
Vagrant Cascadian wrote on 9 May 22:07 +0200
(address . bug-guix@gnu.org)
87tunbr7qt.fsf@yucca
Both guix-daemon.service and guix-publish.service make use ofStandardError=syslog and StandardOutput=syslog.
When building a guix 1.2.0 or 1.3.0rc* on Debian, I get the followingwarnings when checking with lintian:
W: guix: systemd-service-file-uses-deprecated-syslog-facility lib/systemd/system/guix-daemon.service StandardError=syslogN:W: systemd-service-file-uses-deprecated-syslog-facilityN:N: The specified systemd service file specifies StandardOutput= orN: StandardError= that references syslog or syslog-console.N:N: This is discouraged, and systemd versions 246 and above will log aN: warning about this.N:N: Refer toN: https://github.com/systemd/systemd/blob/6706384a89ae0c462e7172588c80667190c4d9e2/NEWS#L724N: for details.N:N: Severity: warningN: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 amnot sure what implications that would have for installing guix on aforeign distro, such as minimum systemd version, or if anything needssignificant changes.
Presumably at some point support for this Standard*=syslog will bedropped entirely from systemd...

live well, vagrant
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYJhBCgAKCRDcUY/If5cWqsO3AQD3X1GtTyZ0UOUXXa2jCZEDXFv2xArBoxWY3mDl+Pv8bwD+MqdjYR8uRS7fbQbZFsa0TiOQluK/Q3J3r+3Zx2x0WQY==zXXv-----END PGP SIGNATURE-----
L
L
Ludovic Courtès wrote on 11 May 23:12 +0200
control message for bug #48323
(address . control@debbugs.gnu.org)
87r1idug8e.fsf@gnu.org
severity 48323 importantquit
?