diff --git a/Revert-Avoid-creating-pid-files.patch b/Revert-Avoid-creating-pid-files.patch deleted file mode 100644 index 090d056..0000000 --- a/Revert-Avoid-creating-pid-files.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 04d556ba1f3c18508c51231fa12a6d8f0bddf36c Mon Sep 17 00:00:00 2001 -From: root -Date: Tue, 23 Jul 2019 07:54:07 -0400 -Subject: [PATCH] Revert "Avoid creating pid files when crond doesn't fork" -Reason: The PID file is useful to avoid running multiple crond instances -at once. -Source: https://github.com/cronie-crond/cronie/commit/0570c2cd979bc9ce1da6a873089e89dbca900a1f - -Signed-off-by: root ---- - src/misc.c | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/src/misc.c b/src/misc.c -index 4efab64..587c761 100644 ---- a/src/misc.c -+++ b/src/misc.c -@@ -315,9 +315,6 @@ void acquire_daemonlock(int closeflag) { - return; - } - -- if (NoFork == 1) -- return; //move along, nothing to do here... -- - if (fd == -1) { - pidfile = _PATH_CRON_PID; - /* Initial mode is 0600 to prevent flock() race/DoS. */ --- -2.19.1 - diff --git a/cronie-1.5.4.tar.gz b/cronie-1.5.4.tar.gz deleted file mode 100644 index ca66cde..0000000 Binary files a/cronie-1.5.4.tar.gz and /dev/null differ diff --git a/cronie-1.5.5.tar.gz b/cronie-1.5.5.tar.gz new file mode 100644 index 0000000..52081ef Binary files /dev/null and b/cronie-1.5.5.tar.gz differ diff --git a/cronie.spec b/cronie.spec index 47f6ae9..161bcd6 100644 --- a/cronie.spec +++ b/cronie.spec @@ -1,12 +1,11 @@ Name: cronie -Version: 1.5.4 -Release: 5 +Version: 1.5.5 +Release: 1 Summary: Standard UNIX daemon crond License: GPLv2+ and ISC URL: https://github.com/cronie-crond/cronie Source0: https://github.com/cronie-crond/cronie/releases/download/cronie-%{version}-final/cronie-%{version}.tar.gz -Patch6000: Revert-Avoid-creating-pid-files.patch Patch9000: bugfix-cronie-systemd-alias.patch @@ -119,6 +118,9 @@ systemctl try-restart crond.service >/dev/null 2>&1 || : %changelog +* Mon May 11 2020 openEuler Buildteam - 1.5.5-1 +- update to 1.5.5-1 + * Sat Mar 21 2020 openEuler Buildteam - 1.5.4-5 - Type:bugfix - ID:NA