File gdm-Remove-deprecated-StandardOutput-syslog.patch of Package gdm.22242
From 7494be38dcdd9b528c8b2636ef683a0c865665dc Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Fri, 28 Aug 2020 10:26:39 +0100
Subject: [PATCH] data: Remove deprecated StandardOutput=syslog
This is now equivalent to StandardOutput=journal, and recent versions
of systemd log a warning for it. Instead of updating it to journal,
remove it: the default if not specified is to respect the
DefaultStandardOutput setting from /etc/systemd/system.conf, which
in turn defaults to journal. Removing the explicit setting here means
gdm is included if a sysadmin edits system.conf to change the logging
destination for (almost) all system services at the same time, which
seems desirable.
Similarly, StandardError defaults to DefaultStandardError, which
in turn defaults to inherit, so we don't need to override it here.
Resolves: https://gitlab.gnome.org/GNOME/gdm/-/issues/623
Signed-off-by: Simon McVittie <smcv@debian.org>
---
data/gdm.service.in | 2 --
1 file changed, 2 deletions(-)
Index: gdm-3.34.1/data/gdm.service.in
===================================================================
--- gdm-3.34.1.orig/data/gdm.service.in
+++ gdm-3.34.1/data/gdm.service.in
@@ -25,8 +25,6 @@ KillMode=mixed
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
-StandardOutput=syslog
-StandardError=inherit
EnvironmentFile=-@LANG_CONFIG_FILE@
ExecReload=/bin/kill -SIGHUP $MAINPID
KeyringMode=shared