]> granicus.if.org Git - cronie/log
cronie
15 years agoNew release 1.4.3.
Marcela Mašláňová [Tue, 3 Nov 2009 10:24:43 +0000 (11:24 +0100)]
New release 1.4.3.

15 years agoFix "warning: unused variable" if LOG_FILE is not defined
SATOH Fumiyasu [Tue, 3 Nov 2009 09:56:24 +0000 (10:56 +0100)]
Fix "warning: unused variable" if LOG_FILE is not defined

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoPortability: Use swap_uids() instead of setreuid() directly
SATOH Fumiyasu [Tue, 3 Nov 2009 09:51:40 +0000 (10:51 +0100)]
Portability: Use swap_uids() instead of setreuid() directly

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoPortability: Solaris and AIX support saved UID/GID
SATOH Fumiyasu [Tue, 3 Nov 2009 09:44:55 +0000 (10:44 +0100)]
Portability: Solaris and AIX support saved UID/GID

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoPortability: Check if fchown() and fchgrp() exist by configure.
SATOH Fumiyasu [Tue, 3 Nov 2009 09:43:31 +0000 (10:43 +0100)]
Portability: Check if fchown() and fchgrp() exist by configure.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoSecurity: Ignore $TMPDIR if ruid!=euid and/or rgid!=egid A setuid/setgid process...
SATOH Fumiyasu [Tue, 3 Nov 2009 09:41:44 +0000 (10:41 +0100)]
Security: Ignore $TMPDIR if ruid!=euid and/or rgid!=egid A setuid/setgid process with GNU C library does NOT inherit $TMPDIR
from the parent process for security reason, but this behavior is
NOT standard feature.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoPortability: pam_misc.so is the Linux-PAM specific library
SATOH Fumiyasu [Tue, 3 Nov 2009 09:38:39 +0000 (10:38 +0100)]
Portability: pam_misc.so is the Linux-PAM specific library

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoPortability: Check if sys/fcntl.h exists or not
SATOH Fumiyasu [Tue, 3 Nov 2009 09:21:30 +0000 (10:21 +0100)]
Portability: Check if sys/fcntl.h exists or not

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoDailyjobs are here for users who don't like anacron.
Marcela Mašláňová [Tue, 3 Nov 2009 09:13:50 +0000 (10:13 +0100)]
Dailyjobs are here for users who don't like anacron.
0hourly executes cron.hourly scripts and other will be executed
by dailyjobs.

15 years agoWhen parent crond is stopped and child crond (executing program) is running,"service...
HONDA Hirofumi [Mon, 19 Oct 2009 10:25:15 +0000 (12:25 +0200)]
When parent crond is stopped and child crond (executing program) is running,"service crond status" reports "crond (pid  XXX) is running...".

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoNew release with few bugfixes. cronie1.4.2
Marcela Mašláňová [Mon, 12 Oct 2009 08:35:36 +0000 (10:35 +0200)]
New release with few bugfixes.

15 years agoSymlinks were not followed. This is a limitation of inotify API.
Marcela Mašláňová [Fri, 25 Sep 2009 06:32:34 +0000 (08:32 +0200)]
Symlinks were not followed. This is a limitation of inotify API.
rhbz#477100

15 years agoDo not segfault if mailto does not pass safe_p test.
Tomas Mraz [Fri, 18 Sep 2009 14:14:42 +0000 (16:14 +0200)]
Do not segfault if mailto does not pass safe_p test.

15 years agoUse password-auth common PAM configuration.
Tomas Mraz [Wed, 16 Sep 2009 09:52:00 +0000 (11:52 +0200)]
Use password-auth common PAM configuration.

15 years agoAdd daily, weekly as a possibility of anacrontab configuration.
Marcela Mašláňová [Mon, 17 Aug 2009 13:11:41 +0000 (15:11 +0200)]
Add daily, weekly as a possibility of anacrontab configuration.

15 years agoAdd anacrontab configuration file.
Marcela Mašláňová [Tue, 11 Aug 2009 11:06:16 +0000 (13:06 +0200)]
Add anacrontab configuration file.

15 years agoPolish manual pages.
Marcela Mašláňová [Tue, 11 Aug 2009 10:57:37 +0000 (12:57 +0200)]
Polish manual pages.

15 years agoRevert configuration file regularly-file back to anacrontab. cronie1.4.1
Marcela Mašláňová [Thu, 30 Jul 2009 08:54:24 +0000 (10:54 +0200)]
Revert configuration file regularly-file back to anacrontab.

15 years agoStart minor releases cronie-1.4.1.
Marcela Mašláňová [Wed, 29 Jul 2009 13:37:27 +0000 (15:37 +0200)]
Start minor releases cronie-1.4.1.

15 years agoRevert configure file for anacrontab.
Marcela Mašláňová [Wed, 29 Jul 2009 06:44:15 +0000 (08:44 +0200)]
Revert configure file for anacrontab.

15 years agoSegfault on ppc64 was caused by parsing random delay from anacrontab.
Rocco Iannacci [Wed, 29 Jul 2009 06:29:57 +0000 (08:29 +0200)]
Segfault on ppc64 was caused by parsing random delay from anacrontab.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoNew release cronie1.4. cronie1.4
Marcela Mašláňová [Tue, 21 Jul 2009 05:22:57 +0000 (07:22 +0200)]
New release cronie1.4.

15 years agoNew option: enable-anacron in configure which can set compilation
Marcela Mašláňová [Mon, 20 Jul 2009 13:04:37 +0000 (15:04 +0200)]
New option: enable-anacron in configure which can set compilation
with or without anacron part. Also there were changes in manual pages.
Updated ChangeLog.

15 years agoFix of autotools stuff for anacron.
Štěpán Kasal [Fri, 17 Jul 2009 10:13:28 +0000 (12:13 +0200)]
Fix of autotools stuff for anacron.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoMake anacron configurable. The option --enable-anacron in configure
Marcela Mašláňová [Thu, 16 Jul 2009 14:21:55 +0000 (16:21 +0200)]
Make anacron configurable. The option --enable-anacron in configure
can switch on/off compilation of this part of the package.

15 years agoPut anacron binary into proper location.
Marcela Mašláňová [Thu, 16 Jul 2009 11:52:27 +0000 (13:52 +0200)]
Put anacron binary into proper location.

15 years agoAdd configuration scripts into contrib.
Marcela Mašláňová [Thu, 16 Jul 2009 08:02:01 +0000 (10:02 +0200)]
Add configuration scripts into contrib.
Cleaning/adding man pages into Makefile/directories.

15 years agoCleaning useless files.
Marcela Mašláňová [Tue, 14 Jul 2009 07:44:29 +0000 (09:44 +0200)]
Cleaning useless files.

15 years agoAnacron makefile was rewritten according to the rest of autotools
Marcela Mašláňová [Tue, 14 Jul 2009 07:32:51 +0000 (09:32 +0200)]
Anacron makefile was rewritten according to the rest of autotools
makefiles in this project.

15 years agoNew options:
Marcela Mašláňová [Mon, 13 Jul 2009 15:41:17 +0000 (17:41 +0200)]
New options:
random delay could be set from anacrontab instead of sysconfig file,
range of hours when should be jobs started.

15 years agoUpdate manual pages.
Marcela Mašláňová [Mon, 13 Jul 2009 15:36:22 +0000 (17:36 +0200)]
Update manual pages.

15 years agoFix error message for wrong spooldir.
Marcela Mašláňová [Mon, 13 Jul 2009 14:46:34 +0000 (16:46 +0200)]
Fix error message for wrong spooldir.

15 years agoMemory leaks should be fixed. Instead of log is used slog function.
Marcela Mašláňová [Mon, 13 Jul 2009 14:33:03 +0000 (16:33 +0200)]
Memory leaks should be fixed. Instead of log is used slog function.

15 years agoThe temporary file has file descriptors for input and output instead
Marcela Mašláňová [Mon, 13 Jul 2009 14:20:00 +0000 (16:20 +0200)]
The temporary file has file descriptors for input and output instead
of one descriptor.

15 years agoMail langinfo was fixed.
Marcela Mašláňová [Mon, 13 Jul 2009 14:18:37 +0000 (16:18 +0200)]
Mail langinfo was fixed.

15 years agoMinor debian release anacron-2.3.1 which adds this features:
Marcela Mašláňová [Mon, 13 Jul 2009 14:15:03 +0000 (16:15 +0200)]
Minor debian release anacron-2.3.1 which adds this features:
-anacron runs jobs twice in a 31 day month
-add hostname to emails sent to admin
-allow user anacrontabs
and some debian scripts for apm support.

15 years agoInitial upload of anacron-2.3 which should be optimized for better
Marcela Mašláňová [Mon, 13 Jul 2009 13:36:53 +0000 (15:36 +0200)]
Initial upload of anacron-2.3 which should be optimized for better
cooperation with cronie. However, cronie should be working with or
without anacron, which should be configurable.

15 years agoFix the disable inotify functionality.
Tomas Mraz [Fri, 19 Jun 2009 16:07:00 +0000 (18:07 +0200)]
Fix the disable inotify functionality.

15 years agoOption -i for disabling inotify support.
Marcela Mašláňová [Fri, 19 Jun 2009 13:47:02 +0000 (15:47 +0200)]
Option -i for disabling inotify support.
This option was based on email by user who can't set up daemon
when they have mounted from NFS /var/spool/cron for a number
of identical machines. Inotify pass the test because it find
the directory, but didn't notice changes.
http://linux-nfs.org/pipermail/nfsv4/2007-November/007127.html
Thanks to: Alex Bame

15 years agoValidateMailRcpts removed for problems when could be enviromental
Marcela Mašláňová [Fri, 5 Jun 2009 12:36:55 +0000 (14:36 +0200)]
ValidateMailRcpts removed for problems when could be enviromental
settings exported under wrong user.

15 years agoBeautify the code with indent.
Marcela Mašláňová [Fri, 29 May 2009 13:49:04 +0000 (15:49 +0200)]
Beautify the code with indent.
Thanks for .indent.pro to Martin Klozik.

15 years agoCRON_DIR became obsolete. SPOOL_DIR is enough for work with user
Marcela Mašláňová [Fri, 29 May 2009 10:28:00 +0000 (12:28 +0200)]
CRON_DIR became obsolete. SPOOL_DIR is enough for work with user
crontables.

15 years agoMerge branch 'master' of ssh://mmaslano@git.fedorahosted.org/git/cronie
Marcela Mašláňová [Fri, 22 May 2009 07:14:56 +0000 (09:14 +0200)]
Merge branch 'master' of ssh://mmaslano@git.fedorahosted.org/git/cronie

15 years agoMake the paths more configurable.
Štěpán Kasal [Fri, 22 May 2009 07:05:10 +0000 (09:05 +0200)]
Make the paths more configurable.

15 years agoRename RH_CRON_DIR to SYS_CRON_DIR.
Štěpán Kasal [Fri, 22 May 2009 06:17:29 +0000 (08:17 +0200)]
Rename RH_CRON_DIR to SYS_CRON_DIR.

15 years agoDrop uselles part of configure.
Štěpán Kasal [Fri, 22 May 2009 06:06:34 +0000 (08:06 +0200)]
Drop uselles part of configure.

15 years agoRemove unused function cron_get_job_context.
Marcela Mašláňová [Fri, 22 May 2009 06:04:22 +0000 (08:04 +0200)]
Remove unused function cron_get_job_context.

15 years agoPAM logging was incorrect bz#249870.
Marcela Mašláňová [Wed, 20 May 2009 10:36:53 +0000 (12:36 +0200)]
PAM logging was incorrect bz#249870.
The jobs is setuid to user before exec. Mail runs under root
permissions.

15 years ago@reboot alias check the return value.
Vlad Glagolev [Thu, 14 May 2009 12:16:24 +0000 (14:16 +0200)]
@reboot alias check the return value.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoSave delimiters need more characters f.e. '_'.
Marcela Mašláňová [Thu, 14 May 2009 08:08:36 +0000 (10:08 +0200)]
Save delimiters need more characters f.e. '_'.
Fix based on: http://bugs.gentoo.org/show_bug.cgi?id=197625

15 years agoMAILFROM, if set, will be used as the envelope sender address when cron
Marcela Mašláňová [Wed, 13 May 2009 14:39:36 +0000 (16:39 +0200)]
MAILFROM, if set, will be used as the envelope sender address when cron
mails the output of commands in that crontab.
The initial patch was written by: Heath Caldwell

15 years agoNo need to initialize globals, which are set by default to zero.
Marcela Mašláňová [Tue, 28 Apr 2009 13:44:37 +0000 (15:44 +0200)]
No need to initialize globals, which are set by default to zero.

15 years agoFix with(out)-pam in configure.
Stěpán Kasal [Tue, 28 Apr 2009 13:43:55 +0000 (15:43 +0200)]
Fix with(out)-pam in configure.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoUpdate ChangeLog for new release. cronie1.3
Marcela Mašláňová [Mon, 27 Apr 2009 05:30:24 +0000 (07:30 +0200)]
Update ChangeLog for new release.

15 years agoInotify initialization left open file descriptors which are leaking
Marcela Mašláňová [Thu, 23 Apr 2009 09:24:33 +0000 (11:24 +0200)]
Inotify initialization left open file descriptors which are leaking
and annoying SElinux.
This could be once fixed by inotify_init1, but that's supported from
kernel 2.6.27.

15 years agoI have noticed that with cronie-1.2, my binaries have seen their \
Willy Tarreua [Wed, 15 Apr 2009 08:32:57 +0000 (10:32 +0200)]
I have noticed that with cronie-1.2, my binaries have seen their \
size grow by 10x (from 28kB to 290kB). After searching a bit, I found that the responsible was the INIT() macro in globals.h \
which initializes huge strings MailCmd and cron_default_mail_charset both of which are 128 kB. Due to this initialization, the memory \
areas are stored for real in the binary, resulting in larger sizes

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
15 years agoCronie could be build as Position Independent Executable when the
Marcela Mašláňová [Thu, 12 Feb 2009 13:32:59 +0000 (14:32 +0100)]
Cronie could be build as Position Independent Executable when the
configure is executed with --enable-pie.
Erased commented unused stuff from configure.

15 years agoFix typo in sysconfig.
Marcela Mašláňová [Thu, 12 Feb 2009 13:13:43 +0000 (14:13 +0100)]
Fix typo in sysconfig.

16 years agoAfter long time update ChangeLog file.
Marcela Mašláňová [Tue, 23 Dec 2008 12:56:32 +0000 (13:56 +0100)]
After long time update ChangeLog file.

16 years agoUpdate man pages to reflect the reality.
Tomas Mraz [Tue, 23 Dec 2008 09:59:02 +0000 (10:59 +0100)]
Update man pages to reflect the reality.

16 years agoFix handling of HUP signal with inotify enabled.
Tomas Mraz [Mon, 22 Dec 2008 15:01:39 +0000 (16:01 +0100)]
Fix handling of HUP signal with inotify enabled.

16 years agoConfigure can't be run without pam-devel libraries. (rhbz#473893)
Marcela Mašláňová [Tue, 2 Dec 2008 13:11:45 +0000 (14:11 +0100)]
Configure can't be run without pam-devel libraries. (rhbz#473893)

16 years agoInit script is according to SysVInitScript guidelines.
Marcela Mašláňová [Fri, 24 Oct 2008 12:48:12 +0000 (14:48 +0200)]
Init script is according to SysVInitScript guidelines.

16 years agoCheck user before job is run.
Marcela Mašláňová [Mon, 11 Aug 2008 10:22:13 +0000 (12:22 +0200)]
Check user before job is run.

16 years agoClean hardwired pathnames.
Marcela Mašláňová [Mon, 28 Jul 2008 12:56:52 +0000 (14:56 +0200)]
Clean hardwired pathnames.

16 years ago@reboot jobs should be run only after reboot instead
Marcela Mašláňová [Mon, 28 Jul 2008 12:27:56 +0000 (14:27 +0200)]
@reboot jobs should be run only after reboot instead
of every daemon's restart.
Patch inspired by debian.

16 years agoRelease 1.2 cronie1.2
Marcela Mašláňová [Thu, 26 Jun 2008 12:53:27 +0000 (14:53 +0200)]
Release 1.2

16 years agoUpdated manuals - diffent typos and inotify support mentioned.
Marcela Mašláňová [Thu, 26 Jun 2008 12:48:14 +0000 (14:48 +0200)]
Updated manuals - diffent typos and inotify support mentioned.

16 years agoPortability: File locking by fcntl, lockf or flock
SATOH Fumiyasu [Thu, 26 Jun 2008 08:42:46 +0000 (10:42 +0200)]
Portability: File locking by fcntl, lockf or flock

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
16 years agoBugfix: PATH_MAX is defined in limits.h
SATOH Fumiyasu [Thu, 26 Jun 2008 08:38:27 +0000 (10:38 +0200)]
Bugfix: PATH_MAX is defined in limits.h

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
16 years agoPortability: Check if sys/cdefs.h is there on the platform
SATOH Fumiyasu [Thu, 26 Jun 2008 08:35:48 +0000 (10:35 +0200)]
Portability: Check if sys/cdefs.h is there on the platform

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
16 years agoPortability: Check for struct tm.tm_gmtoff by AC_CHECK_MEMBERS
SATOH Fumiyasu [Sun, 22 Jun 2008 15:57:58 +0000 (00:57 +0900)]
Portability: Check for struct tm.tm_gmtoff by AC_CHECK_MEMBERS

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
16 years agoBugfix: Correct log_it() prototype
SATOH Fumiyasu [Thu, 26 Jun 2008 08:08:42 +0000 (10:08 +0200)]
Bugfix: Correct log_it() prototype

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
16 years agoAdd missing endif.
Marcela Mašláňová [Thu, 26 Jun 2008 08:08:16 +0000 (10:08 +0200)]
Add missing endif.

16 years agoFix the inotify support.
Tomas Mraz [Mon, 23 Jun 2008 19:13:45 +0000 (21:13 +0200)]
Fix the inotify support.

16 years agoRemove rcsid tags.
Tomas Mraz [Mon, 23 Jun 2008 19:06:11 +0000 (21:06 +0200)]
Remove rcsid tags.

16 years agoMove macros and static declarations where they are needed.
Tomas Mraz [Mon, 23 Jun 2008 19:01:33 +0000 (21:01 +0200)]
Move macros and static declarations where they are needed.

16 years agoAdd check for _GNU_SOURCE.
Tomas Mraz [Mon, 23 Jun 2008 18:59:17 +0000 (20:59 +0200)]
Add check for _GNU_SOURCE.

16 years agoFix wrong declaration of orig_tz.
Tomas Mraz [Mon, 23 Jun 2008 18:50:01 +0000 (20:50 +0200)]
Fix wrong declaration of orig_tz.

16 years agoUnification of logging (syslog->log_it).
Tomas Mraz [Mon, 23 Jun 2008 18:47:27 +0000 (20:47 +0200)]
Unification of logging (syslog->log_it).

16 years agoFixed call to setkeycreatecon.
Tomas Mraz [Mon, 23 Jun 2008 16:00:46 +0000 (18:00 +0200)]
Fixed call to setkeycreatecon.

16 years agoUpdate version also in configure. cronie-1.1
Marcela Mašláňová [Fri, 30 May 2008 09:26:39 +0000 (11:26 +0200)]
Update version also in configure.

16 years agocronie-1.1 released.
Marcela Mašláňová [Fri, 30 May 2008 09:17:19 +0000 (11:17 +0200)]
cronie-1.1 released.
Updated Changelog.

16 years agoInit script die faster, if the sysconfig script is missing.
Marcela Mašláňová [Fri, 30 May 2008 09:15:06 +0000 (11:15 +0200)]
Init script die faster, if the sysconfig script is missing.
Patch from scop.

16 years agoFunction instead of macro. Code cleaning.
Marcela Mašláňová [Thu, 29 May 2008 13:27:18 +0000 (15:27 +0200)]
Function instead of macro. Code cleaning.

16 years agoMan: crontab.1
Marcela [Tue, 27 May 2008 12:15:42 +0000 (14:15 +0200)]
Man: crontab.1
TMP directory could be set in eviroment instead of /tmp.

16 years agoKeyring will be created after restart of computer and services
Marcela [Tue, 27 May 2008 11:59:11 +0000 (13:59 +0200)]
Keyring will be created after restart of computer and services
won't be dying on selinux denial. The reason for this change
was pam-devels update.

16 years agoRemove unused function.
Marcela [Tue, 27 May 2008 11:58:04 +0000 (13:58 +0200)]
Remove unused function.

16 years agoPermission of crontabs are checked in case we AREN'T using
Marcela [Tue, 27 May 2008 11:55:15 +0000 (13:55 +0200)]
Permission of crontabs are checked in case we AREN'T using
-p option.

16 years agoBetter testing, when we are closing watches.
Marcela Mašláňová [Fri, 14 Mar 2008 14:47:38 +0000 (15:47 +0100)]
Better testing, when we are closing watches.

16 years agoRewrited inotify support.
Marcela Mašláňová [Fri, 14 Mar 2008 14:46:01 +0000 (15:46 +0100)]
Rewrited inotify support.

16 years agoUsing get_default_context() for name = NULL instead of getseuserbyname because files
Marcela Mašláňová [Thu, 31 Jan 2008 15:06:38 +0000 (16:06 +0100)]
Using get_default_context() for name = NULL instead of getseuserbyname because files
created in /var/spool/cron hadn't wrong context.
rhbz#426704

16 years agoStepan Kasal: create pam's own directory for pam configure. cronie1.0
Marcela Mašláňová [Thu, 31 Jan 2008 09:20:48 +0000 (10:20 +0100)]
Stepan Kasal: create pam's own directory for pam configure.
Create correct man pages in man directory.
Add .gitignore file.

16 years agoAdded patch from Stepan Kasal, which fixed all autotools issues.
Marcela Mašláňová [Wed, 30 Jan 2008 14:59:25 +0000 (15:59 +0100)]
Added patch from Stepan Kasal, which fixed all autotools issues.
Also the pam's configure file is now installed directly into
correct path, if it's configure runned with pam.

16 years agoCleaning git from unnecessary files, which were generated from
Marcela Mašláňová [Thu, 17 Jan 2008 13:02:24 +0000 (14:02 +0100)]
Cleaning git from unnecessary files, which were generated from
autotools. Add files or rename according to autotools custom practice.

There were also alternation of configure and makefiles.

16 years agoAdd missing files generated after running ./configure
Marcela Maslanova [Wed, 9 Jan 2008 09:45:20 +0000 (10:45 +0100)]
Add missing files generated after running ./configure

16 years agoIn CHANGES could be found git-log with last changes.
Marcela Maslanova [Wed, 9 Jan 2008 09:19:05 +0000 (10:19 +0100)]
In CHANGES could be found git-log with last changes.

16 years agoNow really add all files generated by autotools.
Marcela Maslanova [Wed, 9 Jan 2008 09:17:58 +0000 (10:17 +0100)]
Now really add all files generated by autotools.

16 years agoAdd binary configure.
Marcela Maslanova [Wed, 9 Jan 2008 09:08:34 +0000 (10:08 +0100)]
Add binary configure.

16 years agoUse changelog instead of spec.
Marcela Maslanova [Thu, 3 Jan 2008 12:56:19 +0000 (13:56 +0100)]
Use changelog instead of spec.