Commit Graph

140 Commits

Author SHA1 Message Date
Tomas Mraz
fc778cf11f check for NULL pamh on two more places (#1176215) 2015-01-02 11:38:53 +01:00
Tomas Mraz
bc9aef5aa3 call PAM only for non-root user or non-system crontabs (#956157)
- bypass the PAM check in crontab for root (#1169175)
2014-12-02 17:08:20 +01:00
Tomas Mraz
17fb400cbb refresh user entries when jobs are run 2014-11-04 17:50:14 +01:00
Marcela Mašláňová
42a8554864 New release 1.4.12. 2014-09-17 17:13:50 +02:00
Peter Robinson
7fc0c974c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 01:35:48 +00:00
Tom Callaway
d306dacd57 fix license handling 2014-07-11 16:58:39 -04:00
Dennis Gilmore
063a8fb9e9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 01:10:23 -05:00
Marcela Mašláňová
baf9308b21 Close all unwanted open file descriptors before executing commands and mail.
There might be file descriptors open by things like pam_systemd that
we do not want to keep open for the child process.

Original idea by: Jakub Jelen <jjelen@redhat.com>
Upstream commit: b2c8cbcef8c97b5a175d6e71995249b288707b0f
2014-04-30 14:49:02 +02:00
Ville Skyttä
33d5961320 Drop INSTALL from docs, fix rpmlint tabs vs spaces warning. 2014-01-16 22:05:22 +02:00
Marcela Mašláňová
ed73090ea1 Cronies systemd script use KillMode=process. rhbz#919290 2013-09-25 12:39:11 +02:00
Marcela Mašláňová
bce1943a1d Some jobs are not executed because not all environment variables are set. rhbz#995590 2013-09-25 12:35:40 +02:00
Dennis Gilmore
64608df465 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 01:07:34 -05:00
Marcela Mašláňová
14b82f418a update license, anacron is under GPLv2+. 2013-07-22 14:31:06 +02:00
Marcela Mašláňová
2da563359d Scriptlets are not created correctly if systemd is not in BR 986698.
Remove sub-package sysvinit, which is not needed anymore
2013-07-22 14:10:15 +02:00
Marcela Mašláňová
773adb9501 new release 1.4.11 (contains previous bug fixes from 1.4.10-5) 2013-07-18 16:24:54 +02:00
Tomas Mraz
b1659a4269 Multiple bug fixes and improvements.
- add support for RANDOM_DELAY - delaying job startups
- pass some environment variables to processes (LANG, etc.) (#969761)
- do not use putenv() with string literals (#971516)
2013-06-11 20:30:29 +02:00
Dennis Gilmore
7dcaab4a06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 13:08:00 -06:00
Marcela Mašláňová
d7dc361665 Revert previous permission for the script. 2013-01-02 16:09:32 +01:00
Marcela Mašláňová
e58f789228 Fix the date in specfile to make fedpkg happy. 2013-01-02 15:37:26 +01:00
Marcela Mašláňová
4f1f4920c4 Permission on files.
- change configuration files to 644
- change 6755 to 4755 for crontab binary
2013-01-02 15:34:33 +01:00
Marcela Mašláňová
3c2598552d New release 1.4.10. 2012-11-27 10:28:01 +01:00
Marcela Mašláňová
868fb5f8e9 Remove useless BR. 2012-11-22 16:10:00 +01:00
Marcela Mašláňová
e4eada1f09 New release 1.4.9. 2012-11-22 15:22:49 +01:00
Marcela Mašláňová
eb4125d034 Scriptlets replaced with new systemd macros (#850070).
Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
2012-09-06 12:00:39 +02:00
Dennis Gilmore
52d8958c57 Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-26 23:49:43 -05:00
Dennis Gilmore
e0b693eb9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 18:00:44 -06:00
Dennis Gilmore
62c7ab3437 - Rebuilt for glibc bug#747377 2011-10-26 18:40:49 -05:00
Tomas Mraz
00f22a5451 Make crond run a little bit later in the boot process (#747759) 2011-10-25 22:51:33 +02:00
Marcela Mašláňová
741d90e9b6 Change triggerun to fix 735802 during upgrade.
Two triggerSomething won't work if they have same target. Therefore
the first trigger has target cronie-anacron and second will be
cronie.
2011-10-17 15:06:41 +02:00
Marcela Mašláňová
2525e87ca9 Comments in scriptlets. 2011-10-11 18:31:00 +02:00
Karsten Hopp
1103def667 rebuild again, ppc still had the broken rpm in the buildroots 2011-07-27 17:20:47 +02:00
Rex Dieter
a377f5cab8 rebuild (broken rpm in buildroot) 2011-07-21 15:10:13 -05:00
Marcela Mašláňová
1ae525eed2 fix permission of init.d/crond 2011-07-21 16:26:04 +02:00
Tomas Mraz
e88a8562df drop the without systemd build condition
add the chkconfig readding trigger to the sysvinit subpackage
2011-06-30 20:51:13 +02:00
Tomas Mraz
848a0220c2 start crond after auditd 2011-06-29 16:05:37 +02:00
Tomas Mraz
83084afb29 fix inotify support to not leak fds (#717505) 2011-06-29 14:37:04 +02:00
Marcela Mašláňová
665aa747d4 Merge branch 'f15' 2011-06-28 12:33:55 +02:00
Marcela Mašláňová
b7c4281128 update to 1.4.8
create sub-package sysvinit for initscript
2011-06-28 12:25:53 +02:00
Marcela Mašláňová
30d9f9e871 missing requirement on systemd-sysv for scriptlets 2011-05-09 09:57:34 +02:00
Marcela Mašláňová
d841f5f5e2 missing requirement on systemd-sysv for scriptlets 2011-05-09 09:42:27 +02:00
Tomas Mraz
06e88d9ea6 use only systemd units with systemd
add trigger for restart on glibc, libselinux or pam upgrades (#699189)
2011-05-06 08:43:37 +02:00
Tomas Mraz
edbdf042ed use only systemd units with systemd
add trigger for restart on glibc, libselinux or pam upgrades (#699189)
2011-05-05 09:05:19 +02:00
Marcela Mašláňová
3a6490b2b2 Update to 1.4.7
- remove merged patches
- clean specfile (whitespaces, remove BR automake)
2011-03-15 16:13:10 +01:00
Marcela Mašláňová
13f005c3f8 Update to 1.4.7
- remove merged patches
- clean specfile (whitespaces, remove BR automake)
2011-03-15 15:34:50 +01:00
Dennis Gilmore
ec872c8667 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 05:52:55 -06:00
Marcela Mašláňová
796c147edd enable crond even with systemctl 2011-01-17 14:27:10 +01:00
Marcela Mašláňová
bc6c9488f5 663193 rewritten selinux support 2010-12-16 14:02:06 +01:00
Tomas Mraz
e987620d6a - do not lock jobs that fall out of allowed range - 661966 2010-12-10 18:10:28 +01:00
Marcela Mašláňová
98378995c8 fix post in scriptlets 2010-12-02 17:04:46 +01:00
Marcela Mašláňová
0361d4cf7f systemd init script (replacement) 2010-11-30 13:00:46 +01:00
Marcela Mašláňová
aa4c6f7311 fix typos in man pages 2010-11-30 12:40:13 +01:00
Marcela Mašláňová
873bb3b1e4 Update to 1.4.6. 2010-10-22 10:30:04 +02:00
Marcela Mašláňová
c135c692b7 Apply correct patch and change release number. 2010-08-13 15:59:38 +02:00
Marcela Mašláňová
4104d4bc87 - 623908 fix fd leak in anacron, which caused denail of prelink
and others
2010-08-13 15:40:59 +02:00
Marcela Mašláňová
5d2df741c9 * Mon Aug 9 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-2
- remove sendmail from requirements. If it's not installed, it will
 log into (r)syslog.
2010-08-09 09:31:00 +02:00
Marcela Mašláňová
e9288c2fda * Mon Aug 2 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1.4.5-1
- update to new release
2010-08-02 15:46:27 +02:00
Marcela Mašláňová
424974e332 - update to new release 2010-02-19 08:32:19 +00:00
Marcela Mašláňová
474e695d66 - 564894 FTBFS DSOLinking 2010-02-15 10:13:33 +00:00
Marcela Mašláňová
e17b848ebc - 533189 pam needs add a line and selinux needs defined one function 2009-11-05 16:21:57 +00:00
Marcela Mašláňová
ff88aa4913 Add another requirements to be 100% sure. 2009-11-03 14:20:48 +00:00
Marcela Mašláňová
9c60ee1100 - 531963 and 532482 creating noanacron package 2009-11-03 13:50:35 +00:00
Marcela Mašláňová
2bb05b688d - 531963 creating noanacron package 2009-10-30 16:35:11 +00:00
Marcela Mašláňová
a4182f3e9a - 529632 service crond stop returns appropriate value 2009-10-19 10:49:20 +00:00
Marcela Mašláňová
19134f296e - new release 2009-10-12 10:15:28 +00:00
Tomáš Mráz
d8d6329116 - rebuilt with new audit 2009-08-21 10:23:21 +00:00
Tomáš Mráz
8bdfbc7f80 - create the anacron timestamps in correct post script 2009-08-14 13:54:42 +00:00
Marcela Mašláňová
cb36306037 - update to 1.4.1
- create and own /var/spool/anacron/cron.{daily,weekly,monthly} to remove
    false warning about non existent files
- Resolves: 517398
2009-08-14 12:47:30 +00:00
Tomáš Mráz
6c2b71681f - 515762 move anacron provides and obsoletes to the anacron subpackage 2009-08-05 16:51:09 +00:00
Jesse Keating
a9bd31ba21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-24 19:39:27 +00:00
Marcela Mašláňová
7dfe481844 - merge cronie and anacron in new release of cronie
- obsolete/provide anacron in spec
2009-07-20 18:53:47 +00:00
Marcela Mašláňová
f80f80cee2 Provides/Obsoletes anacron. 2009-07-20 18:17:04 +00:00
Marcela Mašláňová
a1ab94585c *docs* For better cooperation between cronie and anacron, cronie now
include anacron as a subpackage. Each hour cron executes scripts from
    cron.hourly which contains 0anacron executable.
0anacron script checks whether the regular jobs - cron.daily, cron.weekly
    and cron.monthly
- were executed or not. The list of all regular jobs is in
    /etc/regular-jobs instead of /etc/crontab. Manual pages mentioned
    options how to set up regularly-jobs to behave the same way as in the
    previous versions of cron.
2009-07-20 18:12:36 +00:00
Marcela Mašláňová
480fe2f975 - 506560 check return value of access 2009-06-18 11:42:28 +00:00
Marcela Mašláňová
a1fd87f221 - new release 2009-04-27 10:22:22 +00:00
Tomáš Mráz
5ea25f884d - rebuild 2009-03-09 08:12:18 +00:00
Jesse Keating
2137a7c5f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 09:42:53 +00:00
Marcela Mašláňová
71b3c55482 - 477100 NO_FOLLOW was removed, reload after change in symlinked crontab is
needed, man updated.
2008-12-23 09:19:19 +00:00
Marcela Mašláňová
67094fa61e - update init script 2008-10-24 12:58:41 +00:00
Marcela Mašláňová
dc3e83bd28 - add sendmail file into requirement, cause it's needed some MTA 2008-09-25 12:49:00 +00:00
Marcela Mašláňová
d8c51adf73 - 462252 /etc/sysconfig/crond does not need to be executable 2008-09-18 11:08:25 +00:00
Marcela Mašláňová
1034fb3344 Update to 1.2 2008-06-26 14:07:20 +00:00
Tomáš Mráz
45564281bb - fix setting keycreate context
- unify logging a bit
- cleanup some warnings and fix a typo in TZ code
- 450993 improve and fix inotify support
2008-06-18 21:21:24 +00:00
Marcela Mašláňová
e23a698a19 Another upgrade bug. 2008-06-04 08:05:28 +00:00
Marcela Mašláňová
2ac33d0d90 Release 1.1 with inotify support 2008-06-02 08:01:27 +00:00
Marcela Mašláňová
733784eaec Fix scriptlet for upgrade. 2008-05-20 11:53:30 +00:00
Marcela Mašláňová
00da7873bd Update again spec, this change persuade update from cronie on higher cronie
to chkconfig --add crond.
2008-02-12 15:13:11 +00:00
Marcela Mašláňová
a8a483058c /etc/rc.d/*/*crond shows no runlevel links to start or stop crond. Fix in
triggers.
2008-02-07 14:50:24 +00:00
Marcela Mašláňová
16ca3a69a3 431366 trigger part => after update from vixie-cron on cronie will be
daemon running.
2008-02-05 14:50:39 +00:00
Marcela Mašláňová
6a43ab75f8 - change the provides on higher version than obsoletes 2008-01-30 15:25:26 +00:00
Marcela Mašláňová
bd7553a058 New package cronie is the successor of vixie-cron (now obsolete). 2008-01-30 07:59:43 +00:00