]>
granicus.if.org Git - cronie/log
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.
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.
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
Štěpán Kasal [Fri, 22 May 2009 07:05:10 +0000 (09:05 +0200)]
Make the paths more configurable.
Štěpán Kasal [Fri, 22 May 2009 06:17:29 +0000 (08:17 +0200)]
Rename RH_CRON_DIR to SYS_CRON_DIR.
Štěpán Kasal [Fri, 22 May 2009 06:06:34 +0000 (08:06 +0200)]
Drop uselles part of configure.
Marcela Mašláňová [Fri, 22 May 2009 06:04:22 +0000 (08:04 +0200)]
Remove unused function cron_get_job_context.
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.
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>
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
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
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.
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>
Marcela Mašláňová [Mon, 27 Apr 2009 05:30:24 +0000 (07:30 +0200)]
Update ChangeLog for new release.
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.
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>
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.
Marcela Mašláňová [Thu, 12 Feb 2009 13:13:43 +0000 (14:13 +0100)]
Fix typo in sysconfig.
Marcela Mašláňová [Tue, 23 Dec 2008 12:56:32 +0000 (13:56 +0100)]
After long time update ChangeLog file.
Tomas Mraz [Tue, 23 Dec 2008 09:59:02 +0000 (10:59 +0100)]
Update man pages to reflect the reality.
Tomas Mraz [Mon, 22 Dec 2008 15:01:39 +0000 (16:01 +0100)]
Fix handling of HUP signal with inotify enabled.
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)
Marcela Mašláňová [Fri, 24 Oct 2008 12:48:12 +0000 (14:48 +0200)]
Init script is according to SysVInitScript guidelines.
Marcela Mašláňová [Mon, 11 Aug 2008 10:22:13 +0000 (12:22 +0200)]
Check user before job is run.
Marcela Mašláňová [Mon, 28 Jul 2008 12:56:52 +0000 (14:56 +0200)]
Clean hardwired pathnames.
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.
Marcela Mašláňová [Thu, 26 Jun 2008 12:53:27 +0000 (14:53 +0200)]
Release 1.2
Marcela Mašláňová [Thu, 26 Jun 2008 12:48:14 +0000 (14:48 +0200)]
Updated manuals - diffent typos and inotify support mentioned.
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>
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>
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>
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>
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>
Marcela Mašláňová [Thu, 26 Jun 2008 08:08:16 +0000 (10:08 +0200)]
Add missing endif.
Tomas Mraz [Mon, 23 Jun 2008 19:13:45 +0000 (21:13 +0200)]
Fix the inotify support.
Tomas Mraz [Mon, 23 Jun 2008 19:06:11 +0000 (21:06 +0200)]
Remove rcsid tags.
Tomas Mraz [Mon, 23 Jun 2008 19:01:33 +0000 (21:01 +0200)]
Move macros and static declarations where they are needed.
Tomas Mraz [Mon, 23 Jun 2008 18:59:17 +0000 (20:59 +0200)]
Add check for _GNU_SOURCE.
Tomas Mraz [Mon, 23 Jun 2008 18:50:01 +0000 (20:50 +0200)]
Fix wrong declaration of orig_tz.
Tomas Mraz [Mon, 23 Jun 2008 18:47:27 +0000 (20:47 +0200)]
Unification of logging (syslog->log_it).
Tomas Mraz [Mon, 23 Jun 2008 16:00:46 +0000 (18:00 +0200)]
Fixed call to setkeycreatecon.
Marcela Mašláňová [Fri, 30 May 2008 09:26:39 +0000 (11:26 +0200)]
Update version also in configure.
Marcela Mašláňová [Fri, 30 May 2008 09:17:19 +0000 (11:17 +0200)]
cronie-1.1 released.
Updated Changelog.
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.
Marcela Mašláňová [Thu, 29 May 2008 13:27:18 +0000 (15:27 +0200)]
Function instead of macro. Code cleaning.
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.
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.
Marcela [Tue, 27 May 2008 11:58:04 +0000 (13:58 +0200)]
Remove unused function.
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.
Marcela Mašláňová [Fri, 14 Mar 2008 14:47:38 +0000 (15:47 +0100)]
Better testing, when we are closing watches.
Marcela Mašláňová [Fri, 14 Mar 2008 14:46:01 +0000 (15:46 +0100)]
Rewrited inotify support.
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
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.
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.
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.
Marcela Maslanova [Wed, 9 Jan 2008 09:45:20 +0000 (10:45 +0100)]
Add missing files generated after running ./configure
Marcela Maslanova [Wed, 9 Jan 2008 09:19:05 +0000 (10:19 +0100)]
In CHANGES could be found git-log with last changes.
Marcela Maslanova [Wed, 9 Jan 2008 09:17:58 +0000 (10:17 +0100)]
Now really add all files generated by autotools.
Marcela Maslanova [Wed, 9 Jan 2008 09:08:34 +0000 (10:08 +0100)]
Add binary configure.
Marcela Maslanova [Thu, 3 Jan 2008 12:56:19 +0000 (13:56 +0100)]
Use changelog instead of spec.
Marcela Maslanova [Fri, 30 Nov 2007 15:14:39 +0000 (16:14 +0100)]
Don't set up MAIL_DATE, because if the user doesn't use
sendmail, then he has incorrect time format.
Marcela Maslanova [Mon, 19 Nov 2007 16:17:38 +0000 (17:17 +0100)]
Upload spec file with fixed bcond macro.
Marcela Maslanova [Mon, 12 Nov 2007 13:05:05 +0000 (14:05 +0100)]
Man pages are updated for time zone and some small changes.
Marcela Maslanova [Mon, 12 Nov 2007 12:34:21 +0000 (13:34 +0100)]
Time zones are now supported.
Setting in cron table CRON_TZ=SomeTimeZone does jobs in
this time zone. There was problem with syslog, because
it print local time into log only, when I remove
ifdef parts from misc.c. With ifdef parts print out the time
of 'highest' time zone, which could be bug of rsyslog.
Marcela Maslanova [Mon, 12 Nov 2007 12:27:56 +0000 (13:27 +0100)]
In configure was incorrect path for sendmail. The error occured
only when sendmail wasn't set up like default MTA.
Marcela Maslanova [Mon, 5 Nov 2007 13:02:29 +0000 (14:02 +0100)]
Opening credentials is really needed for cron jobs, but
not for crontab. Crontab doesn't use credentials from
file security.c so we can leave it as it was.
Marcela Maslanova [Tue, 30 Oct 2007 08:26:36 +0000 (09:26 +0100)]
Change version of cron in configure.
Marcela Maslanova [Mon, 29 Oct 2007 15:18:46 +0000 (16:18 +0100)]
Update spec file - new bcond macro.
Marcela Maslanova [Mon, 29 Oct 2007 15:00:57 +0000 (16:00 +0100)]
Some cron jobs failed without error message. If the job had
too "big" output and no mail client set, then only a part from
job was done. The reason was pipe, which has restricted size.
rh bugzilla #247228
Marcela Maslanova [Wed, 3 Oct 2007 14:30:26 +0000 (16:30 +0200)]
The file LICENSE is used instead of COPYING.
Marcela Maslanova [Wed, 3 Oct 2007 14:28:17 +0000 (16:28 +0200)]
Add spec file from rpm package, because there is
changelog.
Marcela Maslanova [Wed, 3 Oct 2007 14:27:31 +0000 (16:27 +0200)]
Deleting and modyfing files with license etc.
The compilation with selinux and audit is optional.
Marcela Maslanova [Tue, 2 Oct 2007 10:41:51 +0000 (12:41 +0200)]
The jobs in RH_CROND_DIR weren't syntactically checked.
Also SYSCRON wasn't checked. The problem is reported into log.
Marcela Mašláňová [Tue, 28 Aug 2007 10:56:06 +0000 (12:56 +0200)]
Fix reading arguments from configure file.
Tomas Janousek [Mon, 27 Aug 2007 17:48:31 +0000 (19:48 +0200)]
Commented out cron_open_pam_session, it's unused.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:47:34 +0000 (19:47 +0200)]
Protect the call to setexeccon with WITH_SELINUX.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:46:52 +0000 (19:46 +0200)]
Compile fix in misc.c.
(I have no f*cking idea why do I do this change now...)
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:45:16 +0000 (19:45 +0200)]
Kill a few warnings.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:44:10 +0000 (19:44 +0200)]
Fix the MAILARG and MAILFMT definitions and regenerate config.h.in.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:43:14 +0000 (19:43 +0200)]
Move #define _GNU_SOURCE from security.c to CFLAGS.
(it's needed for HAVE_SELINUX as well)
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:42:03 +0000 (19:42 +0200)]
Don't define SYSLOG in pathnames.h.
It's in configure.ac and gets defined in config.h.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:40:43 +0000 (19:40 +0200)]
CRON_GROUP shall not be defined at all.
(also filled in a sensible default in case someone enables it again)
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 17:39:23 +0000 (19:39 +0200)]
Added -laudit to LDADD.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
mmaslano [Mon, 27 Aug 2007 15:25:34 +0000 (17:25 +0200)]
Version of cron is used from configure.
mmaslano [Mon, 27 Aug 2007 15:22:05 +0000 (17:22 +0200)]
Correct setting of path to mail program.
mmaslano [Mon, 27 Aug 2007 15:21:07 +0000 (17:21 +0200)]
Use config.h generated by autotools.
mmaslano [Mon, 27 Aug 2007 12:46:32 +0000 (14:46 +0200)]
Added missing #ifdef WITH_PAM.
mmaslano [Mon, 27 Aug 2007 12:45:11 +0000 (14:45 +0200)]
Correct definition of cron_popen in .h file.
Tomas Janousek [Mon, 27 Aug 2007 10:42:50 +0000 (12:42 +0200)]
Added missing #ifdef WITH_PAM.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 11:05:15 +0000 (13:05 +0200)]
Make cron_restore_default_security_context return void.
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
Tomas Janousek [Mon, 27 Aug 2007 11:01:50 +0000 (13:01 +0200)]
Revert "System table wasn't sometimes checked for changes."
This reverts commit
b18c0c9a01bef691c7b696709cd2f9736ba98a82 .
Signed-off-by: Tomas Janousek <tjanouse@redhat.com>
mmaslano [Fri, 24 Aug 2007 11:41:29 +0000 (13:41 +0200)]
rhbz#247228 cron jobs fail semi-randomly if sendmail (or other mail)
isn't set. The jobs aren't "sometimes" run, because output, which
has to be sent isn't set and the stdin pipe, which is used haven't
enough capacity.
The problem is at least reported in log.
mmaslano [Fri, 24 Aug 2007 11:36:22 +0000 (13:36 +0200)]
Add crond.8 (the same as cron.8) manual page
and other man pages were updated.
mmaslano [Fri, 24 Aug 2007 11:29:22 +0000 (13:29 +0200)]
Change definiton from popen.c in header file.
mmaslano [Fri, 24 Aug 2007 06:38:13 +0000 (08:38 +0200)]
For the same license for whole cron, I've removed two
files and found almost the same with correct license.
mmaslano [Fri, 24 Aug 2007 06:35:07 +0000 (08:35 +0200)]
Cron source was ready for merge with patches. After the merge
I used autotools (files were copied to new dirs and configure.ac
and Makefile.am were written).
mmaslano [Fri, 24 Aug 2007 06:28:24 +0000 (08:28 +0200)]
Pam authentication wasn't used wise. User's crontab
didn't use pam and functions, which were for pam
opening etc. were incorrect (wrong credetials).
mmaslano [Fri, 24 Aug 2007 06:18:36 +0000 (08:18 +0200)]
Checking homedir is last, because we need at first set up gid and uid.
mmaslano [Fri, 24 Aug 2007 06:18:19 +0000 (08:18 +0200)]
It's possible to use your own tmp dir. Before was /tmp hardwired.
mmaslano [Fri, 24 Aug 2007 06:17:59 +0000 (08:17 +0200)]
System table in manual page is mentioned.