The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/3541

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
The Standard output type "syslog" is obsolete, causing a warning since systemd
version 246 [1].

Please consider using "journal" or "journal+console"

[1] https://github.com/systemd/systemd/blob/master/NEWS#L202

Signed-off-by: Mingli Yu <mingli...@windriver.com>
From a7a92a06a47322dee45664db5c7bfa68b2b95edb Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli...@windriver.com>
Date: Wed, 23 Sep 2020 07:03:02 +0000
Subject: [PATCH] Remove obsolete setting regarding the Standard Output

The Standard output type "syslog" is obsolete, causing a warning since systemd
version 246 [1].

Please consider using "journal" or "journal+console"

[1] https://github.com/systemd/systemd/blob/master/NEWS#L202

Signed-off-by: Mingli Yu <mingli...@windriver.com>
---
 config/init/systemd/lxc-monitord.service.in | 2 --
 config/init/systemd/l...@.service.in         | 2 --
 2 files changed, 4 deletions(-)

diff --git a/config/init/systemd/lxc-monitord.service.in 
b/config/init/systemd/lxc-monitord.service.in
index f528a60995..9036cf46c7 100644
--- a/config/init/systemd/lxc-monitord.service.in
+++ b/config/init/systemd/lxc-monitord.service.in
@@ -6,8 +6,6 @@ Documentation=man:lxc
 [Service]
 Type=simple
 ExecStart=@LIBEXECDIR@/lxc/lxc-monitord --daemon
-StandardOutput=syslog
-StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target
diff --git a/config/init/systemd/l...@.service.in 
b/config/init/systemd/l...@.service.in
index a2aa2211f0..21ce64aefe 100644
--- a/config/init/systemd/l...@.service.in
+++ b/config/init/systemd/l...@.service.in
@@ -14,8 +14,6 @@ ExecStop=@BINDIR@/lxc-stop -n %i
 # Environment=BOOTUP=serial
 # Environment=CONSOLETYPE=serial
 Delegate=yes
-StandardOutput=syslog
-StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to