From 1c90e2bcfcb388e3d0e37e2b831e10d3d11cadfa Mon Sep 17 00:00:00 2001 From: gebidelidaye Date: Mon, 15 Mar 2021 10:19:08 +0800 Subject: [PATCH 1/3] add ExecStartPost in sm-client.service fix https://gitee.com/src-openeuler/sendmail/issues/I3A8Z8?from=project-issue; --- sm-client.service | 1 + 1 file changed, 1 insertion(+) diff --git a/sm-client.service b/sm-client.service index a450b16..e4d467d 100644 --- a/sm-client.service +++ b/sm-client.service @@ -15,6 +15,7 @@ ExecStartPre=/bin/chown smmsp:smmsp /run/sm-client.pid ExecStartPre=-/sbin/restorecon /run/sm-client.pid ExecStartPre=-/etc/mail/make ExecStart=/usr/sbin/sendmail -L sm-msp-queue -Ac $SENDMAIL_OPTS $SENDMAIL_OPTARG +ExecStartPost=/usr/bin/sleep 0.1 [Install] WantedBy=multi-user.target From 0ec51d3eaafa0ff909e7b2ff3a9d500b54cd5662 Mon Sep 17 00:00:00 2001 From: gebidelidaye Date: Mon, 15 Mar 2021 10:36:06 +0800 Subject: [PATCH 2/3] add ExecStartPost in sm-client.service add ExecStartPost in sm-client.service --- sendmail.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sendmail.spec b/sendmail.spec index 0ac6844..44f58fe 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.16.1 -Release: 3 +Release: 4 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -466,6 +466,12 @@ exit 0 %changelog +* Mon Mar 15 2021 Aichun Li - 8.16.1-4 +- Type:NA +- ID:NA +- SUG:NA +- DESC:add ExecStartPost in sm-client.service + * Thu Sep 03 2020 zengwefeng - 8.16.1-3 - Type:NA - ID:NA From 2fd5c9e19de2cddbae4fbf289a4252407c0eb519 Mon Sep 17 00:00:00 2001 From: gebidelidaye Date: Mon, 15 Mar 2021 11:33:23 +0800 Subject: [PATCH 3/3] add ExecStartPost in sm-client.service --- sendmail.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendmail.spec b/sendmail.spec index 44f58fe..7cf08fb 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -467,7 +467,7 @@ exit 0 %changelog * Mon Mar 15 2021 Aichun Li - 8.16.1-4 -- Type:NA +- Type:bugfix - ID:NA - SUG:NA - DESC:add ExecStartPost in sm-client.service