]> granicus.if.org Git - fcron/log
fcron
14 years agoUpdated copyright to 2008-2010
thib [Sun, 28 Feb 2010 23:16:47 +0000 (23:16 +0000)]
Updated copyright to 2008-2010
Updated changes

14 years agoFixed fcrontab when running without seteuid()
thib [Sun, 28 Feb 2010 22:48:40 +0000 (22:48 +0000)]
Fixed fcrontab when running without seteuid()
updated configure with new version of autoconf

14 years ago- fcrontab: drop all privileges and only get them back when necessary
thib [Sun, 28 Feb 2010 20:59:38 +0000 (20:59 +0000)]
- fcrontab: drop all privileges and only get them back when necessary
- fcrondyn: drop sgid privileges as well as soon as they are not necessary anymore
- fixed a couple gcc warnings

14 years agoImproved fcrontab security fix which allowed to read file readable by the group fcron
thib [Wed, 24 Feb 2010 23:40:59 +0000 (23:40 +0000)]
Improved fcrontab security fix which allowed to read file readable by the group fcron

14 years agoFixed fcrontab vulnerability that would let an ill-intended user read files that...
thib [Wed, 24 Feb 2010 00:27:12 +0000 (00:27 +0000)]
Fixed fcrontab vulnerability that would let an ill-intended user read files that the user fcron can read

15 years agoPatched startup script to make it more compliant to the LSB
Thibault Godouet [Sun, 1 Feb 2009 16:44:34 +0000 (16:44 +0000)]
Patched startup script to make it more compliant to the LSB

15 years agoHave git ignore auto-generated file 'configure'
Thibault Godouet [Sat, 31 Jan 2009 13:35:56 +0000 (13:35 +0000)]
Have git ignore auto-generated file 'configure'

16 years agofcrontab: chdir to tmp_path before executing the editor (some needs to be able to...
Thibault Godouet [Mon, 22 Sep 2008 18:17:18 +0000 (19:17 +0100)]
fcrontab: chdir to tmp_path before executing the editor (some needs to be able to get information on current dir!) + make git ignore *~ files

16 years agoChanged copyright dates to 2000-2008 (was actually not included in previous commit)
Thibault Godouet [Sun, 21 Sep 2008 21:20:14 +0000 (22:20 +0100)]
Changed copyright dates to 2000-2008 (was actually not included in previous commit)

16 years agoAdded configure and install-sh into git and changed copyright dates to 2000-2008
Thibault Godouet [Sun, 21 Sep 2008 21:18:14 +0000 (22:18 +0100)]
Added configure and install-sh into git and changed copyright dates to 2000-2008

16 years ago*** empty log message ***
thib [Sun, 21 Sep 2008 17:46:45 +0000 (17:46 +0000)]
*** empty log message ***

16 years agoIncreased maximum number of fcrontab entries to 1024
thib [Sun, 21 Sep 2008 17:44:12 +0000 (17:44 +0000)]
Increased maximum number of fcrontab entries to 1024

16 years agoFixed minor bug: we used to accept max_entries+1
thib [Sun, 21 Sep 2008 17:40:34 +0000 (17:40 +0000)]
Fixed minor bug: we used to accept max_entries+1

16 years ago*** empty log message ***
thib [Sun, 11 May 2008 15:06:02 +0000 (15:06 +0000)]
*** empty log message ***

16 years agorun_job() now returns an int. It returns ERR if it couldn't fork so as the calling...
thib [Sun, 11 May 2008 15:04:04 +0000 (15:04 +0000)]
run_job() now returns an int. It returns ERR if it couldn't fork so as the calling function can remove the relevant entry from exe_array. Previously the job would have been thought to be running until fcron restart.

16 years ago*** empty log message ***
thib [Sun, 11 May 2008 11:09:29 +0000 (11:09 +0000)]
*** empty log message ***

16 years agodo not test errno after getgrnam() (it shouldn't be tested and it was created problem...
thib [Sun, 11 May 2008 11:08:23 +0000 (11:08 +0000)]
do not test errno after getgrnam() (it shouldn't be tested and it was created problems on some non-linux systems)

16 years agoadded a few constants for portability
thib [Sun, 11 May 2008 11:07:36 +0000 (11:07 +0000)]
added a few constants for portability

16 years agobug fix: some system can have setenv() but not unsetenv()
thib [Sun, 11 May 2008 10:56:28 +0000 (10:56 +0000)]
bug fix: some system can have setenv() but not unsetenv()

16 years agofixed bug when upgrading: remove fcrontab.sig file (if any) before we change the...
thib [Sun, 11 May 2008 10:55:39 +0000 (10:55 +0000)]
fixed bug when upgrading: remove fcrontab.sig file (if any) before we change the rights of the files to root:root 600, or it could not get removed by fcronsighup later on

16 years agobetter portability: some system can define setenv but not unsetenv
thib [Sun, 11 May 2008 10:48:34 +0000 (10:48 +0000)]
better portability: some system can define setenv but not unsetenv
use AC_SEARCH_LIB to simplify code

16 years ago*** empty log message ***
thib [Sun, 11 May 2008 10:46:54 +0000 (10:46 +0000)]
*** empty log message ***

17 years agofixed the order of the options so as they are in alphabetical order ver3_0_4
thib [Wed, 7 Nov 2007 09:28:45 +0000 (09:28 +0000)]
fixed the order of the options so as they are in alphabetical order

17 years agofixed fcron description
thib [Wed, 7 Nov 2007 09:26:54 +0000 (09:26 +0000)]
fixed fcron description

17 years agofixed bug: was importing 'functions' from /etc/rc.d/init.d instead of /etc/init.d...
thib [Wed, 7 Nov 2007 09:26:01 +0000 (09:26 +0000)]
fixed bug: was importing 'functions' from /etc/rc.d/init.d instead of /etc/init.d (or trying to !!)

17 years ago added option erroronlymail
thib [Wed, 7 Nov 2007 09:24:43 +0000 (09:24 +0000)]
 added option erroronlymail

17 years ago*** empty log message ***
thib [Wed, 7 Nov 2007 09:24:38 +0000 (09:24 +0000)]
*** empty log message ***

17 years agoadded option erroronlymail
thib [Wed, 7 Nov 2007 09:23:50 +0000 (09:23 +0000)]
added option erroronlymail

17 years agoInitial revision
thib [Wed, 7 Nov 2007 09:17:03 +0000 (09:17 +0000)]
Initial revision

17 years agoadded option erroronlymail
thib [Wed, 7 Nov 2007 09:16:40 +0000 (09:16 +0000)]
added option erroronlymail

17 years agofixed variable 'seed' assignement: was using ^= instead of =
thib [Wed, 7 Nov 2007 09:15:40 +0000 (09:15 +0000)]
fixed variable 'seed' assignement: was using ^= instead of =

17 years agomade the conditions of a complicated if() clearer
thib [Wed, 7 Nov 2007 09:15:02 +0000 (09:15 +0000)]
made the conditions of a complicated if() clearer

17 years agoinstall only one file at a time for solaris compatibility
thib [Sun, 14 Oct 2007 15:07:46 +0000 (15:07 +0000)]
install only one file at a time for solaris compatibility

17 years ago*** empty log message ***
thib [Sun, 14 Oct 2007 15:07:43 +0000 (15:07 +0000)]
*** empty log message ***

17 years agocheck for errors when using (f)close()
thib [Sun, 14 Oct 2007 14:59:01 +0000 (14:59 +0000)]
check for errors when using (f)close()

17 years agoadded seconds to debug messages for better precision and consistency with other debug...
thib [Sun, 14 Oct 2007 14:58:07 +0000 (14:58 +0000)]
added seconds to debug messages for better precision and consistency with other debug messages

17 years agoinstall only one file at a time for compatibility with solaris
thib [Sun, 14 Oct 2007 14:57:29 +0000 (14:57 +0000)]
install only one file at a time for compatibility with solaris

17 years agoadded seconds to debug message for better precision and consistency with other debug...
thib [Sun, 14 Oct 2007 14:56:54 +0000 (14:56 +0000)]
added seconds to debug message for better precision and consistency with other debug messages

17 years agoadded a search for strip compatible with solaris
thib [Sun, 14 Oct 2007 14:56:29 +0000 (14:56 +0000)]
added a search for strip compatible with solaris

17 years agofixed bug which would prevent fcron process from writing pid for of its child for...
thib [Sun, 14 Oct 2007 12:42:07 +0000 (12:42 +0000)]
fixed bug which would prevent fcron process from writing pid for of its child for the parent (were closing a file twice, which produced relatively random errors)
cleaned up file closure: test for errors from close()/fclose()

17 years agofixed goto_non_matching() which thought erroneously that the period was exceeded...
thib [Sun, 24 Jun 2007 22:01:54 +0000 (22:01 +0000)]
fixed goto_non_matching() which thought erroneously that the period was exceeded and would thus return the last minute of the current period
rewrote goto_non_matching() into move_time_to() in a clearer and surer code

17 years agouse hostname and tv_usec to initialize random number generator
thib [Sun, 24 Jun 2007 22:01:22 +0000 (22:01 +0000)]
use hostname and tv_usec to initialize random number generator

17 years ago*** empty log message ***
thib [Sun, 24 Jun 2007 21:58:46 +0000 (21:58 +0000)]
*** empty log message ***

17 years ago*** empty log message *** ver3_0_3
thib [Sun, 3 Jun 2007 21:41:38 +0000 (21:41 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
thib [Sun, 3 Jun 2007 21:26:24 +0000 (21:26 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
thib [Sun, 3 Jun 2007 18:01:52 +0000 (18:01 +0000)]
*** empty log message ***

17 years agobetter getpwnam() error handling ver3_0_3-rc1
thib [Sun, 3 Jun 2007 17:52:34 +0000 (17:52 +0000)]
better getpwnam() error handling

17 years agoCheck that make is GNU make and not another one
thib [Sun, 3 Jun 2007 17:49:37 +0000 (17:49 +0000)]
Check that make is GNU make and not another one

17 years agobetter error handling getpwnam()
thib [Sun, 3 Jun 2007 17:49:01 +0000 (17:49 +0000)]
better error handling getpwnam()

17 years ago*** empty log message ***
thib [Sun, 3 Jun 2007 17:48:23 +0000 (17:48 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
thib [Sat, 14 Apr 2007 18:13:43 +0000 (18:13 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
thib [Sat, 14 Apr 2007 18:04:05 +0000 (18:04 +0000)]
*** empty log message ***

17 years agoupdated copyright years
thib [Sat, 14 Apr 2007 17:50:36 +0000 (17:50 +0000)]
updated copyright years

17 years ago*** empty log message ***
thib [Sat, 14 Apr 2007 17:46:40 +0000 (17:46 +0000)]
*** empty log message ***

17 years agoadded a small sleep of 0.5s between stop and start to be sure fcron is started correctly
thib [Sat, 14 Apr 2007 17:45:59 +0000 (17:45 +0000)]
added a small sleep of 0.5s between stop and start to be sure fcron is started correctly

17 years agodefine TZ env var for lines using option timezone
thib [Sat, 14 Apr 2007 17:45:35 +0000 (17:45 +0000)]
define TZ env var for lines using option timezone

17 years agoadded missing datarootdir definition
thib [Sat, 14 Apr 2007 17:04:15 +0000 (17:04 +0000)]
added missing datarootdir definition

17 years ago*** empty log message ***
thib [Sat, 14 Apr 2007 17:04:11 +0000 (17:04 +0000)]
*** empty log message ***

17 years agoset exec bits on the fifo file, for AIX compatibility
thib [Sat, 14 Apr 2007 17:03:25 +0000 (17:03 +0000)]
set exec bits on the fifo file, for AIX compatibility
added some casts to avoid some warning on non-Linux platforms

17 years agoadded some casts to remove some warnings on non-Linux platforms
thib [Sat, 14 Apr 2007 17:01:56 +0000 (17:01 +0000)]
added some casts to remove some warnings on non-Linux platforms

17 years agouse more portable "if" statements
thib [Sat, 14 Apr 2007 17:00:53 +0000 (17:00 +0000)]
use more portable "if" statements

17 years agoadded some cast to remove some compilation warnings on non Linux platforms
thib [Sat, 14 Apr 2007 17:00:24 +0000 (17:00 +0000)]
added some cast to remove some compilation warnings on non Linux platforms

17 years agodefine LOGNAME when running a job for vixie cron compatibility
thib [Sat, 14 Apr 2007 16:59:56 +0000 (16:59 +0000)]
define LOGNAME when running a job for vixie cron compatibility

17 years agouse fscanf(),fprintf(),etc size arguments dependent on the architecture
thib [Sat, 14 Apr 2007 16:59:02 +0000 (16:59 +0000)]
use fscanf(),fprintf(),etc size arguments dependent on the architecture

17 years ago*** empty log message ***
thib [Tue, 23 Jan 2007 22:52:52 +0000 (22:52 +0000)]
*** empty log message ***

17 years agoadded a faq entry for Vixie cron @reboot
thib [Tue, 23 Jan 2007 22:52:09 +0000 (22:52 +0000)]
added a faq entry for Vixie cron @reboot
updated/corrected "how to emulate anacron entry"

17 years agouse unsigned int and not signed it for a sizeof() value
thib [Tue, 23 Jan 2007 22:51:31 +0000 (22:51 +0000)]
use unsigned int and not signed it for a sizeof() value

17 years agofixed a bug resulting in a long loop in fcrontab (returned code of get_line() not...
thib [Tue, 23 Jan 2007 22:48:15 +0000 (22:48 +0000)]
fixed a bug resulting in a long loop in fcrontab (returned code of get_line() not properly handled in fileconf.c)

17 years agoreplaced sys/termios.h by termios.h
thib [Tue, 23 Jan 2007 22:47:35 +0000 (22:47 +0000)]
replaced sys/termios.h by termios.h

17 years agoremoved close(tmp_fd) (fd already closed by fclose() since it was fdopen()ed)
thib [Tue, 23 Jan 2007 22:46:21 +0000 (22:46 +0000)]
removed close(tmp_fd) (fd already closed by fclose() since it was fdopen()ed)

17 years ago*** empty log message *** ver3_0_2-rc1
thib [Mon, 1 Jan 2007 19:05:06 +0000 (19:05 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
thib [Mon, 1 Jan 2007 19:00:05 +0000 (19:00 +0000)]
*** empty log message ***

17 years agobetter handling of the PREVIOUS_VERSION file
thib [Mon, 1 Jan 2007 18:51:53 +0000 (18:51 +0000)]
better handling of the PREVIOUS_VERSION file

17 years agonew configure script and Makefiles which are more standard
thib [Mon, 1 Jan 2007 18:50:48 +0000 (18:50 +0000)]
new configure script and Makefiles which are more standard

17 years ago*** empty log message ***
thib [Mon, 1 Jan 2007 18:50:20 +0000 (18:50 +0000)]
*** empty log message ***

17 years agomore function return code checking
thib [Mon, 1 Jan 2007 18:49:43 +0000 (18:49 +0000)]
more function return code checking

18 years ago*** empty log message *** ver3_0_2
thib [Mon, 5 Jun 2006 21:20:41 +0000 (21:20 +0000)]
*** empty log message ***

18 years agoRun each job in a different session by calling setuid() for each one of them.
thib [Mon, 5 Jun 2006 21:19:27 +0000 (21:19 +0000)]
Run each job in a different session by calling setuid() for each one of them.

18 years ago*** empty log message ***
thib [Mon, 5 Jun 2006 20:03:40 +0000 (20:03 +0000)]
*** empty log message ***

18 years agoUse sockaddr's field sa_len/sun_len on system defining it (BSD, ...)
thib [Mon, 5 Jun 2006 20:02:55 +0000 (20:02 +0000)]
Use sockaddr's field sa_len/sun_len on system defining it (BSD, ...)

18 years agoUse the field sa_len/sun_len on system defining it (BSD, ...)
thib [Mon, 5 Jun 2006 20:00:48 +0000 (20:00 +0000)]
Use the field sa_len/sun_len on system defining it (BSD, ...)

18 years agodelete man pages for all languages when uninstalling
thib [Sat, 20 May 2006 16:33:12 +0000 (16:33 +0000)]
delete man pages for all languages when uninstalling

18 years ago*** empty log message ***
thib [Sat, 20 May 2006 16:32:28 +0000 (16:32 +0000)]
*** empty log message ***

18 years agoadded get_user_uid_safe() and get_group_gid_safe()
thib [Sat, 20 May 2006 16:31:31 +0000 (16:31 +0000)]
added get_user_uid_safe() and get_group_gid_safe()

18 years agoadded get_user_uid_safe() and get_group_gid_safe()
thib [Sat, 20 May 2006 16:29:41 +0000 (16:29 +0000)]
added get_user_uid_safe() and get_group_gid_safe()
don't use the shell defined in /etc/passwd by default, but use the default value form fcron.conf instead

18 years agoInitial revision
thib [Sat, 20 May 2006 16:28:03 +0000 (16:28 +0000)]
Initial revision

18 years agoupdated README to match the presence of several translations of the doc
thib [Sat, 20 May 2006 16:25:41 +0000 (16:25 +0000)]
updated README to match the presence of several translations of the doc

18 years agodon't use the shell defined in /etc/passwd by default, but use the default value...
thib [Sat, 20 May 2006 16:23:42 +0000 (16:23 +0000)]
don't use the shell defined in /etc/passwd by default, but use the default value form fcron.conf instead.

18 years agouser ROOTNAME/ROOTGROUP instead of ROOTUID/ROOTGID
thib [Sat, 20 May 2006 16:22:37 +0000 (16:22 +0000)]
user ROOTNAME/ROOTGROUP instead of ROOTUID/ROOTGID

18 years ago*** empty log message *** ver3_0_1
thib [Mon, 6 Feb 2006 21:31:26 +0000 (21:31 +0000)]
*** empty log message ***

18 years agoupdated installation process to support translations of the doc in multiple languages
thib [Mon, 6 Feb 2006 18:36:27 +0000 (18:36 +0000)]
updated installation process to support translations of the doc in multiple languages

18 years ago*** empty log message ***
thib [Mon, 6 Feb 2006 18:35:03 +0000 (18:35 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
thib [Sun, 5 Feb 2006 20:59:40 +0000 (20:59 +0000)]
*** empty log message ***

18 years agodo not use tv_usec > 999999 to ensure it is a valid value on BSD systems
thib [Sun, 5 Feb 2006 20:59:08 +0000 (20:59 +0000)]
do not use tv_usec > 999999 to ensure it is a valid value on BSD systems

18 years agofixed a buffer overflow problem in make_msg()
thib [Sun, 5 Feb 2006 20:49:35 +0000 (20:49 +0000)]
fixed a buffer overflow problem in make_msg()

18 years agoUpdated to support multiple languages (so far: en, fr)
thib [Sun, 5 Feb 2006 19:26:40 +0000 (19:26 +0000)]
Updated to support multiple languages (so far: en, fr)

18 years agoInitial revision
thib [Sun, 5 Feb 2006 19:25:05 +0000 (19:25 +0000)]
Initial revision

18 years agoimproved explanations
thib [Wed, 11 Jan 2006 01:02:21 +0000 (01:02 +0000)]
improved explanations

18 years agofor man pages, write the doctype declaration on only 1 line
thib [Wed, 11 Jan 2006 01:01:46 +0000 (01:01 +0000)]
for man pages, write the doctype declaration on only 1 line

18 years ago*** empty log message ***
thib [Wed, 11 Jan 2006 01:01:32 +0000 (01:01 +0000)]
*** empty log message ***