* [pve-devel] [PATCH corosync-pve] start corosync.service after syslog
@ 2020-09-15 8:36 Alexandre Derumier
0 siblings, 0 replies; only message in thread
From: Alexandre Derumier @ 2020-09-15 8:36 UTC (permalink / raw)
To: pve-devel
Currently we don't have any log at shutdown
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
...-start-corosync.service-after-syslog.patch | 25 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 26 insertions(+)
create mode 100644 debian/patches/0003-start-corosync.service-after-syslog.patch
diff --git a/debian/patches/0003-start-corosync.service-after-syslog.patch b/debian/patches/0003-start-corosync.service-after-syslog.patch
new file mode 100644
index 0000000..eb44346
--- /dev/null
+++ b/debian/patches/0003-start-corosync.service-after-syslog.patch
@@ -0,0 +1,25 @@
+From 673fbb667b5ab85089b6a977322109ef13a8b43c Mon Sep 17 00:00:00 2001
+From: Alexandre Derumier <aderumier@odiso.com>
+Date: Tue, 15 Sep 2020 10:31:33 +0200
+Subject: [PATCH] start corosync.service after syslog
+
+Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
+---
+ init/corosync.service.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/init/corosync.service.in b/init/corosync.service.in
+index adf7080..f0aefbe 100644
+--- a/init/corosync.service.in
++++ b/init/corosync.service.in
+@@ -5,6 +5,7 @@ ConditionKernelCommandLine=!nocluster
+ ConditionPathExists=/etc/corosync/corosync.conf
+ Requires=network-online.target
+ After=network-online.target
++After=syslog.service
+
+ [Service]
+ EnvironmentFile=-@INITCONFIGDIR@/corosync
+--
+2.20.1
+
diff --git a/debian/patches/series b/debian/patches/series
index fd3a2f0..1b4a4c9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Enable-PrivateTmp-in-the-systemd-service-files.patch
0002-only-start-corosync.service-if-conf-exists.patch
+0003-start-corosync.service-after-syslog.patch
--
2.20.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-15 8:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-15 8:36 [pve-devel] [PATCH corosync-pve] start corosync.service after syslog Alexandre Derumier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.