Hello community,

here is the log from the commit of package cronie for openSUSE:Factory checked 
in at 2019-04-02 09:17:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cronie (Old)
 and      /work/SRC/openSUSE:Factory/.cronie.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cronie"

Tue Apr  2 09:17:18 2019 rev:71 rq:690292 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/cronie/cronie.changes    2019-03-24 
14:57:02.499201807 +0100
+++ /work/SRC/openSUSE:Factory/.cronie.new.25356/cronie.changes 2019-04-02 
09:17:22.156471712 +0200
@@ -1,0 +2,9 @@
+Fri Mar 29 13:50:01 UTC 2019 - KristĂ˝na Streitová <[email protected]>
+
+- update to 1.5.4
+  * crond: Fix regression from previous release. Only first job
+    from a crontab was being run [bsc#1130746]
+- add cronie-1.5.4-dont_abort_loading_crontab.patch to not abort
+  loading crontab prematurely in case of error
+
+-------------------------------------------------------------------

Old:
----
  cronie-1.5.3.tar.gz

New:
----
  cronie-1.5.4-dont_abort_loading_crontab.patch
  cronie-1.5.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cronie.spec ++++++
--- /var/tmp/diff_new_pack.QFWOOo/_old  2019-04-02 09:17:22.744472373 +0200
+++ /var/tmp/diff_new_pack.QFWOOo/_new  2019-04-02 09:17:22.748472378 +0200
@@ -23,7 +23,7 @@
 
 %define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab 
%{_sysconfdir}/cron.deny
 Name:           cronie
-Version:        1.5.3
+Version:        1.5.4
 Release:        0
 Summary:        Cron Daemon
 License:        BSD-3-Clause AND GPL-2.0-only AND MIT
@@ -51,6 +51,7 @@
 # PATCH-FIX-SUSE the first occurance of "/etc/anacrontab" was replaced by 
"/etc/crontab"
 # in manpage file because the /etc/crontab is still used in SUSE.
 Patch13:        fix-manpage-replace-anacrontab-with-crontab.patch
+Patch14:        cronie-1.5.4-dont_abort_loading_crontab.patch
 BuildRequires:  audit-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -110,6 +111,7 @@
 cp %{SOURCE7} ./cron_to_cronie.README
 %patch12 -p1
 %patch13 -p1
+%patch14 -p1
 
 %build
 # fill macro CRON_VERSION it is used in top three lines of crontab file,should 
be reworked

++++++ cronie-1.5.4-dont_abort_loading_crontab.patch ++++++
>From 425b2da28d61b701b6016e57a690c6c55d2b8d4a Mon Sep 17 00:00:00 2001
From: Tomas Mraz <[email protected]>
Date: Mon, 18 Mar 2019 11:38:36 +0100
Subject: [PATCH] crond: Do not abort loading crontab prematurely in case of
 error

---
 src/user.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/user.c b/src/user.c
index 9e12271..c34d271 100644
--- a/src/user.c
+++ b/src/user.c
@@ -116,9 +116,10 @@ load_user (int crontab_fd, struct passwd *pw, const char 
*uname,
 #endif
        /* load the crontab
        */
-       while (status >= TRUE) {
+       while (status >= OK) {
                if (!skip_comments(file) && !u->system) {
                        log_error("too many garbage characters");
+                        status = TRUE;
                        break;
                }
                status = load_env (envstr, file);
@@ -135,7 +136,6 @@ load_user (int crontab_fd, struct passwd *pw, const char 
*uname,
                                if (e) {
                                        e->next = u->crontab;
                                        u->crontab = e;
-                                       status = TRUE;
                                }
                                break;
                        case TRUE:
++++++ cronie-1.5.3.tar.gz -> cronie-1.5.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cronie-cronie-1.5.3/ChangeLog 
new/cronie-cronie-1.5.4/ChangeLog
--- old/cronie-cronie-1.5.3/ChangeLog   2019-03-15 11:20:30.000000000 +0100
+++ new/cronie-cronie-1.5.4/ChangeLog   2019-03-18 11:19:06.000000000 +0100
@@ -1,3 +1,12 @@
+2019-03-18  Tomas Mraz <[email protected]>
+
+       * crond: Fix regression from last release
+         Only first job from a crontab was being run.
+
+2019-03-15  Tomas Mraz <[email protected]>
+
+       * Release new version 1.5.3
+
 2019-03-15  Tomas Mraz <[email protected]>
 
        * Fix warnings in anacron and crond code.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cronie-cronie-1.5.3/NEWS new/cronie-cronie-1.5.4/NEWS
--- old/cronie-cronie-1.5.3/NEWS        2019-03-15 11:20:30.000000000 +0100
+++ new/cronie-cronie-1.5.4/NEWS        2019-03-18 11:19:06.000000000 +0100
@@ -1,5 +1,9 @@
 cronie NEWS -- history of user-visible changes.
 
+Release 1.5.4
+* crond: Fix regression from previous release. Only first job from a crontab
+  was being run.
+
 Release 1.5.3
 * Fix CVE-2019-9704 and CVE-2019-9705 to avoid local DoS of the crond.
 * crontab: Make crontab without arguments fail.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cronie-cronie-1.5.3/configure.ac 
new/cronie-cronie-1.5.4/configure.ac
--- old/cronie-cronie-1.5.3/configure.ac        2019-03-15 11:20:30.000000000 
+0100
+++ new/cronie-cronie-1.5.4/configure.ac        2019-03-18 11:19:06.000000000 
+0100
@@ -1,4 +1,4 @@
-AC_INIT([cronie],[1.5.3],[[email protected],[email protected]])
+AC_INIT([cronie],[1.5.4],[[email protected],[email protected]])
 AC_CONFIG_HEADER([config.h])
 AC_PREREQ(2.60)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cronie-cronie-1.5.3/src/user.c 
new/cronie-cronie-1.5.4/src/user.c
--- old/cronie-cronie-1.5.3/src/user.c  2019-03-15 11:20:30.000000000 +0100
+++ new/cronie-cronie-1.5.4/src/user.c  2019-03-18 11:19:06.000000000 +0100
@@ -135,6 +135,7 @@
                                if (e) {
                                        e->next = u->crontab;
                                        u->crontab = e;
+                                       status = TRUE;
                                }
                                break;
                        case TRUE:


Reply via email to