Accepting request 483103 from home:kstreitova:branches:Base:System
- update to 1.5.1 * crontab: Use temporary file name that is ignored by crond. * crond: Inherit PATH from the crond environment if -P option is used. * crond: Remove hardcoded "system_u" SELinux user, use the SELinux user of the running crond. * anacron: Small cleanups and fixes. * crond: Fix longstanding race condition on repeated crontab modification. - refresh cronie-pam_config.diff - get rid of %{name} macros in the patch names - use %{ext_man} macro for anacron man pages OBS-URL: https://build.opensuse.org/request/show/483103 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=154
This commit is contained in:
parent
723a0cdea5
commit
a04815083f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9cf0e3f4f5042a9c09413d62c8e0c055e12401f70b112465f0f81f2c84ebfb3f
|
||||
size 242072
|
3
cronie-1.5.1.tar.gz
Normal file
3
cronie-1.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c73666102a6b5d35e2eaf1bd06925f2d4b0cef8d3323c37286dda3089a85338
|
||||
size 243384
|
@ -1,16 +1,16 @@
|
||||
Index: cronie-1.4.8/pam/crond
|
||||
Index: cronie-1.5.1/pam/crond
|
||||
===================================================================
|
||||
--- cronie-1.4.8.orig/pam/crond
|
||||
+++ cronie-1.4.8/pam/crond
|
||||
@@ -3,8 +3,10 @@
|
||||
--- cronie-1.5.1.orig/pam/crond
|
||||
+++ cronie-1.5.1/pam/crond
|
||||
@@ -4,8 +4,10 @@
|
||||
#
|
||||
#
|
||||
# No PAM authentication called, auth modules not needed
|
||||
# Although no PAM authentication is called, auth modules
|
||||
# are used for credential setting
|
||||
-auth include password-auth
|
||||
-account required pam_access.so
|
||||
-account include password-auth
|
||||
-session required pam_loginuid.so
|
||||
-session include password-auth
|
||||
-auth include password-auth
|
||||
+auth sufficient pam_rootok.so
|
||||
+account sufficient pam_listfile.so item=user sense=allow file=/etc/cron.allow onerr=succeed quiet
|
||||
+auth include common-auth
|
||||
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 28 09:18:55 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
- update to 1.5.1
|
||||
* crontab: Use temporary file name that is ignored by crond.
|
||||
* crond: Inherit PATH from the crond environment if -P option
|
||||
is used.
|
||||
* crond: Remove hardcoded "system_u" SELinux user, use the
|
||||
SELinux user
|
||||
of the running crond.
|
||||
* anacron: Small cleanups and fixes.
|
||||
* crond: Fix longstanding race condition on repeated crontab
|
||||
modification.
|
||||
- refresh cronie-pam_config.diff
|
||||
- get rid of %{name} macros in the patch names
|
||||
- use %{ext_man} macro for anacron man pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 15:14:29 UTC 2017 - kstreitova@suse.com
|
||||
|
||||
|
12
cronie.spec
12
cronie.spec
@ -18,7 +18,7 @@
|
||||
|
||||
%define cron_configs %{_sysconfdir}/pam.d/crond %{_sysconfdir}/crontab %{_sysconfdir}/cron.deny
|
||||
Name: cronie
|
||||
Version: 1.5.0
|
||||
Version: 1.5.1
|
||||
Release: 0
|
||||
Summary: Cron Daemon
|
||||
License: BSD-3-Clause and GPL-2.0 and MIT
|
||||
@ -33,13 +33,13 @@ Source7: cron_to_cronie.README
|
||||
Source8: cron.service
|
||||
Source9: sysconfig.cron
|
||||
# PATCH-FEATURE-OPENSUSE cronie-pam_config.diff added pam config file from old cron
|
||||
Patch3: %{name}-pam_config.diff
|
||||
Patch3: cronie-pam_config.diff
|
||||
# openSUSE set NHEADER_LINES to 3 - old openSUSE cron put three lines of comments
|
||||
# in top of crontab file, so we want to hide this junk comments if user edit
|
||||
# crontab file with crontab -e command, patch grabbed from old openSUSE cron
|
||||
Patch4: %{name}-nheader_lines.diff
|
||||
Patch4: cronie-nheader_lines.diff
|
||||
# we use cron.pid instead of crond.pid
|
||||
Patch5: %{name}-crond_pid.diff
|
||||
Patch5: cronie-crond_pid.diff
|
||||
# PATCH-FIX-UPSTREAM mention logging disabling for a command in man
|
||||
Patch7: cronie-1.4.7-disable_logging.patch
|
||||
# PATCH-FIX-UPSTREAM use run-crons instead of run-parts for anacron (bnc#689494)
|
||||
@ -213,8 +213,8 @@ exit 0
|
||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.daily
|
||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.weekly
|
||||
%ghost %verify(not md5 size mtime) %{_localstatedir}/spool/anacron/cron.monthly
|
||||
%{_mandir}/man5/anacrontab.*
|
||||
%{_mandir}/man8/anacron.*
|
||||
%{_mandir}/man5/anacrontab.5%{ext_man}
|
||||
%{_mandir}/man8/anacron.8%{ext_man}
|
||||
|
||||
%files -n cron
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user