From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E665161B93 for ; Tue, 15 Sep 2020 10:45:39 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DBD7017C35 for ; Tue, 15 Sep 2020 10:45:09 +0200 (CEST) Received: from kvmformation1.odiso.net (globalOdiso.M6Lille.odiso.net [89.248.211.242]) by firstgate.proxmox.com (Proxmox) with ESMTP id F151617C24 for ; Tue, 15 Sep 2020 10:45:08 +0200 (CEST) Received: by kvmformation1.odiso.net (Postfix, from userid 0) id 9EE69D661B; Tue, 15 Sep 2020 10:36:43 +0200 (CEST) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Tue, 15 Sep 2020 10:36:42 +0200 Message-Id: <20200915083642.968437-1-aderumier@odiso.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 1 AWL -0.940 Adjusted score from AWL reputation of From: address HEADER_FROM_DIFFERENT_DOMAINS 0.249 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods KHOP_HELO_FCRDNS 0.399 Relay HELO differs from its IP's reverse DNS NO_DNS_FOR_FROM 0.379 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [service.in, network-online.target] Subject: [pve-devel] [PATCH corosync-pve] start corosync.service after syslog X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Sep 2020 08:45:40 -0000 Currently we don't have any log at shutdown Signed-off-by: Alexandre Derumier --- ...-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 +Date: Tue, 15 Sep 2020 10:31:33 +0200 +Subject: [PATCH] start corosync.service after syslog + +Signed-off-by: Alexandre Derumier +--- + 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