Commit Graph

82 Commits

Author SHA256 Message Date
3f0833fcd1 - refresh spec files (move license to licensedir)
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=193
2021-03-12 22:08:57 +00:00
db4b3ee70b Accepting request 830854 from home:kstreitova:branches:Base:System
- Use the new value of %_libexecdir macro (/usr/lib -> /usr/libexec)
  in crontab and other occurences: [bsc#1175934]
  * cronie-anacron-1.4.7-run-crons.patch
  * run-crons
  * sample.root
  * sysconfig.cron

OBS-URL: https://build.opensuse.org/request/show/830854
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=191
2020-08-31 14:46:14 +00:00
00d529affa Accepting request 816556 from home:namtrac:branches:Base:System
- Add an example job definition to sample.root

OBS-URL: https://build.opensuse.org/request/show/816556
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=189
2020-06-23 16:53:55 +00:00
a6e9252250 Accepting request 753319 from home:mkraus:branches:Base:System
- change permissions calls in spec file to use slashes for
  directories [boo#1158130]

OBS-URL: https://build.opensuse.org/request/show/753319
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=187
2019-12-05 11:20:19 +00:00
5f39b5d163 Accepting request 749959 from home:kstreitova:branches:Base:System
- drop 'checkproc' line from the run-crons as the usage is bogus
  [bsc#1155929]

OBS-URL: https://build.opensuse.org/request/show/749959
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=185
2019-11-22 11:37:06 +00:00
3483a6c1b8 Accepting request 745554 from home:kstreitova:branches:Base:System
- update cronie-nheader_lines.diff so it doesn't print the first 3
  crontab lines (static comments) with the 'crontab -l' command
  [bsc#1155114]

OBS-URL: https://build.opensuse.org/request/show/745554
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=183
2019-11-10 10:48:56 +00:00
Andreas Jaeger
4ec70429f5 Accepting request 744805 from home:kstreitova:branches:Base:System
- update to 1.5.5
  * Avoid warning for strncat.
  * crontab: fsync to check for full disk
  * crontab: Add Y/N to retry prompt
  * entries: Explicitly validate upper ranges and steps
  * crond: report missing newline before EOF
  * do not log carriage return
  * skip directories when given as crontabs
  * crontab -l colors comment lines in a different color
  * getdtablesize() can return very high values in containers
  * Power supply name not detected correctly.
  * Revert "Avoid creating pid files when crond doesn't fork"
  * anacron: fix types in comparisons
  * mics: stop using plain integer as NULL pointer
  * cron: fix type in comparison and  variable shadowing
  * cron: mark signal number arguments in signal handlers unused
  * Move allowed() and related function to security.c
  * cronnext: optionally select jobs by substring
  * crond: Do not abort loading crontab prematurely in case of error
- refresh cronie-nheader_lines.diff
- remove cronie-1.5.4-dont_abort_loading_crontab.patch and
  cronie-1.5.4-always_create_pid_file.patch (applied upstream)

OBS-URL: https://build.opensuse.org/request/show/744805
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=181
2019-11-05 14:16:20 +00:00
0b3847904f Accepting request 726486 from home:kstreitova:branches:Base:System
- refresh cronie-pam_config.diff to integrate pam_keyinit pam
  module [bsc#1144044]

OBS-URL: https://build.opensuse.org/request/show/726486
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=179
2019-08-27 13:15:34 +00:00
fd27bc0cfd Accepting request 724634 from home:kukuk:cron
Move /etc/cron.* directories to cron package

OBS-URL: https://build.opensuse.org/request/show/724634
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=177
2019-08-20 08:34:31 +00:00
09cb78ff18 Accepting request 703429 from home:kstreitova:branches:Base:System
- add cronie-1.5.4-always_create_pid_file.patch to always create
  a pid file even when the cron daemon does not fork. The PID file
  is useful to avoid running multiple "cron -n" instances at once
  [bsc#1133100]

OBS-URL: https://build.opensuse.org/request/show/703429
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=175
2019-05-20 08:55:16 +00:00
8e8fb60fcc Accepting request 689903 from home:kstreitova:branches:Base:System
- 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

OBS-URL: https://build.opensuse.org/request/show/689903
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=173
2019-04-01 08:55:57 +00:00
715db45cc6 Accepting request 685771 from home:kstreitova:branches:Base:System
- update to 1.5.3
  * Fix CVE-2019-9704 [bnc#1128937] and CVE-2019-9705 [bnc#1128935]
    to avoid local DoS of the crond
  * crontab: Make crontab without arguments fail
  * crond: In PAM configuration include system-auth instead of
    password-auth
  * crond: In the systemd service file restart crond if it fails
  * crond: Use the role from the crond context for system job
    contexts
  * Multiple small cleanups and fixes.
- refresh cronie-nheader_lines.diff and  cronie-pam_config.diff

OBS-URL: https://build.opensuse.org/request/show/685771
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=171
2019-03-19 16:04:35 +00:00
8f36ae216e Accepting request 672197 from home:elvigia:branches:Base:System
- cron.service: No limit on the number of processes spawned by cron 
  shall be imposed.

OBS-URL: https://build.opensuse.org/request/show/672197
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=169
2019-02-08 13:10:14 +00:00
b3b659138c Accepting request 645534 from home:elvigia:branches:Base:System
- cronie-pam_config.diff: When crond is started with the -n
  switch like it does with systemd, the manual explicitly
  instructs to disable the pam_loginuid module.

OBS-URL: https://build.opensuse.org/request/show/645534
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=167
2018-11-09 17:46:24 +00:00
fcff461b82 Accepting request 636403 from home:kstreitova:branches:Base:System
- update to 1.5.2
  * cronnext: New useful utility to find out time of the next job
    run.
  * crond: Avoid creating PID files when crond doesn't fork.
  * crontab: Do not try to replace the crontab with a directory.
  * crond: Log startup even when started in non-forking mode.
  * Multiple small cleanups and fixes.
- update Source address
- remove cronie-1.4.7-disable_logging.patch and restore the
  original cronie behaviour (a line starting with a dash in
  normal user's crontab is handled as incorrect), there was enough
  time for crontab migration. Manpage part of the patch was applied
  upstream
- remove cronie-nofork-nopid.patch (applied upstream)
- pack cronnext utility
- call autoreconf

OBS-URL: https://build.opensuse.org/request/show/636403
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=165
2018-09-21 09:56:34 +00:00
Dominique Leuenberger
e6486a0662 Accepting request 546703 from home:RBrownSUSE:branches:Base:System
Correct mail dependencies to prevent Kubic being broken and Tumbleweed being blocked

OBS-URL: https://build.opensuse.org/request/show/546703
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=163
2017-11-30 12:50:00 +00:00
e61cf249e1 Accepting request 545972 from home:jsegitz:branches:Base:System
- Ensure that /etc/cron.{hourly,daily,weekly,monthly} have proper
  permissions and owner. This is racy but prevents some LPE vectors

OBS-URL: https://build.opensuse.org/request/show/545972
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=161
2017-11-27 13:25:16 +00:00
8799c06388 Accepting request 545298 from home:kstreitova:branches:Base:System
- Requires smtp_daemon (not just Recommends) as it's needed by
  run-crons script [bsc#1064834]

OBS-URL: https://build.opensuse.org/request/show/545298
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=160
2017-11-24 17:30:45 +00:00
db5a82b948 Accepting request 544678 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544678
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=159
2017-11-24 10:21:12 +00:00
e15bad67a8 Accepting request 517856 from home:kukuk:branches:Base:System
- Require group trusted if we use them

OBS-URL: https://build.opensuse.org/request/show/517856
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=157
2017-08-21 14:50:50 +00:00
2356db3cc0 Accepting request 483285 from home:kstreitova:branches:Base:System
- fedorahosted.org was retired on March 1st, 2017
  * update Url and Source address

OBS-URL: https://build.opensuse.org/request/show/483285
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=155
2017-03-29 11:08:40 +00:00
a04815083f 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
2017-03-28 12:48:09 +00:00
723a0cdea5 Accepting request 482468 from home:kstreitova:branches:Base:System
- cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/482468
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=153
2017-03-27 14:10:22 +00:00
0452267cef Accepting request 431771 from home:kstreitova:branches:Base:System
- remove the omc xml config that is useless nowdays

OBS-URL: https://build.opensuse.org/request/show/431771
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=151
2016-10-07 13:08:45 +00:00
0eecea29d2 Accepting request 425674 from home:scarabeus_iv:branches:Base:System
- Add fix for bnc#983925 to run crons even when not on AC_POWER
  * Nowdays it does not make much sense to not run crons when on
    battery and actually it can even confuse people

OBS-URL: https://build.opensuse.org/request/show/425674
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=149
2016-09-09 10:55:54 +00:00
73b6370167 Accepting request 314782 from home:elvigia:branches:Base:System
- cron.service: Use KillMode=process like upstream does.

OBS-URL: https://build.opensuse.org/request/show/314782
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=147
2015-07-09 07:53:07 +00:00
e5565fcee6 Accepting request 313742 from home:elvigia:branches:Base:System
- revert last change, it is a bug in sssd.service, fixed in 
  SR#313709

OBS-URL: https://build.opensuse.org/request/show/313742
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=145
2015-06-29 21:31:10 +00:00
1510b6cfde Accepting request 313829 from home:matejcik:branches:Base:System
- add support for MAILFROM, MAIL_CONFIG and different mailer binaries
  in run-crons (bnc#812367, bnc#366762)

OBS-URL: https://build.opensuse.org/request/show/313829
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=144
2015-06-29 21:30:54 +00:00
c3a8cc4a0b Accepting request 313218 from home:scarabeus_iv:branches:Base:System
- Start cron after sssd.service bnc#926961

OBS-URL: https://build.opensuse.org/request/show/313218
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=143
2015-06-23 12:23:26 +00:00
93a4cef2d6 Accepting request 313104 from home:scarabeus_iv:branches:Base:System
- Redo the post/pre update approach to fix migration from SLE11.
  Should fix bnc#919028

OBS-URL: https://build.opensuse.org/request/show/313104
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=142
2015-06-22 14:48:19 +00:00
abff32990a Accepting request 312749 from home:kstreitova:branches:Base:System
- update to 1.5.0
  * crond: Job environment variables are set also when executing
    sendmail.
  * crond: Adding duplicate orphans on reload is now prevented.
  * crond: The regular crond shutdown is now logged.
  * crontab: PAM is not called in crontab command if the caller's 
    uid is 0.
  * crond: PAM is not called from crond for system cron jobs
    (/etc/crontab, /etc/cron.d) which are run for uid 0.
  * crond: The existence of an user is checked at time when job is
    run and not when the crontab is parsed on database reload. 
- use spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/312749
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=141
2015-06-20 12:01:49 +00:00
92f78a97b5 Accepting request 310188 from home:elvigia:branches:Base:System
- cron.service: Start After=nss-user-lookup.target not
  after ypbind.service nscd.service
-cron.service: Crons run at wall-time, order after time-sync.target

OBS-URL: https://build.opensuse.org/request/show/310188
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=139
2015-06-09 09:46:47 +00:00
34c3e20f82 Accepting request 260505 from home:Ledest:misc
fix bashisms in pre scripts

OBS-URL: https://build.opensuse.org/request/show/260505
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=137
2014-11-10 10:17:13 +00:00
0df5e36fe3 Accepting request 250665 from home:kstreitova:branches:Base:System
- fixes bnc#833240: the first occurance of "/etc/anacrontab"
replaced with "/etc/crontab" in the manpage file
 - version updated to 1.4.12
   * various small bugfixes

OBS-URL: https://build.opensuse.org/request/show/250665
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=135
2014-09-22 13:11:11 +00:00
68fceb33aa Accepting request 248611 from home:kstreitova:branches:Base:System
- clean up with spec-cleaner 

- fix dangling symlink on sbin/service 

- add sysconfig.cron that used to be provided by aaa_base (bnc#860058)

OBS-URL: https://build.opensuse.org/request/show/248611
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=133
2014-09-11 14:22:49 +00:00
Wojtek Dziewięcki
0ad1c77b77 -Add an option to manually reload cron.
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=131
2014-06-16 13:52:17 +00:00
Wojtek Dziewięcki
5c76545608 -Restart the service if it crashes
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=129
2014-02-14 12:21:15 +00:00
Stephan Kulow
c1b667a7f2 Accepting request 214974 from home:aeneas_jaissle:branches:Base:System
Leave /usr/sbin/rccron in as link to /sbin/service

OBS-URL: https://build.opensuse.org/request/show/214974
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=127
2014-01-25 06:47:45 +00:00
Cristian Rodríguez
abd9145a8d Accepting request 204034 from home:posophe:branches:Base:System
some improvements

OBS-URL: https://build.opensuse.org/request/show/204034
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=126
2013-10-22 00:01:13 +00:00
Andreas Jaeger
2349cf8801 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=124 2013-10-06 18:02:27 +00:00
Andreas Jaeger
c709fe0c1f OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=122 2013-09-30 09:29:34 +00:00
Wojtek Dziewięcki
170f7cdb82 - Update to 1.4.11
- I removed these patches: cronie-1.4.8-bug_756197.diff
bug-786096_cronie-fdleak.diff, since those issuas appear to have
been addressed upstream.

OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=121
2013-09-25 16:49:18 +00:00
Dr. Werner Fink
8f2c4b688f Accepting request 198383 from home:elvigia:branches:Base:System
- define PIDIDIR to "/run" instead of the (outdated) definition 
  coming from glibc "paths.h"
- systemd: there is no mail-transfer-agent target anymore, services
  must be ordered After= a list of possible MTA.

OBS-URL: https://build.opensuse.org/request/show/198383
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=119
2013-09-12 17:29:26 +00:00
Per Jessen
d06497a894 Accepting request 163931 from home:elvigia:branches:Base:System
- Ordering units after syslog.target is no longer recommended.

OBS-URL: https://build.opensuse.org/request/show/163931
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=117
2013-04-16 08:47:44 +00:00
Stephan Kulow
9db8592a15 Accepting request 160545 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/160545
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=115
2013-03-22 16:19:02 +00:00
997afe46d3 Accepting request 151577 from home:msmeissn:branches:openSUSE:12.3
- fixed the file descriptor leak correctly (bnc#786096,bnc#802345)

OBS-URL: https://build.opensuse.org/request/show/151577
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=113
2013-02-07 12:25:15 +00:00
05bd668973 Accepting request 151116 from home:fcrozat:branches:Base:System
- Regenerate cronie-pam_config.diff, last line of the patch was not
  properly added, causing bnc#801553.

OBS-URL: https://build.opensuse.org/request/show/151116
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=111
2013-02-04 15:40:18 +00:00
Wojtek Dziewięcki
68a356b6e1 -Fix Bug 786096 - VUL-1: cron: does not close file descriptors before invocation of commands
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=110
2012-11-12 13:52:11 +00:00
Wojtek Dziewięcki
70bab8dae8 Accepting request 139628 from home:elvigia:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/139628
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=108
2012-10-29 11:31:38 +00:00
Stephan Kulow
7a1f81b8d0 Accepting request 138697 from openSUSE:Factory:Staging:Systemd
- buildrequire systemd by pkgconfig provide to get systemd-mini
  in build environments (to break cycle)

OBS-URL: https://build.opensuse.org/request/show/138697
OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=106
2012-10-18 12:12:36 +00:00