]> granicus.if.org Git - fcron/log
fcron
23 years agouse for statement for a clearer code
thib [Sat, 21 Apr 2001 08:52:53 +0000 (08:52 +0000)]
use for statement for a clearer code

23 years agoInitial revision
thib [Sat, 21 Apr 2001 08:52:16 +0000 (08:52 +0000)]
Initial revision

23 years agouse break instead of goto in wait_chld and wait_all
thib [Sat, 21 Apr 2001 08:50:46 +0000 (08:50 +0000)]
use break instead of goto in wait_chld and wait_all

23 years agoa little bit clearer about the use of @CFLAGS@
thib [Sat, 21 Apr 2001 08:49:10 +0000 (08:49 +0000)]
a little bit clearer about the use of @CFLAGS@
use of @srcdir@ to be able to compile fcron from another directory than its source dir

23 years agowe now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and...
thib [Sat, 21 Apr 2001 08:47:26 +0000 (08:47 +0000)]
we now use OPTION_SIZE and LAVG_SIZE to set (and get) the size of the option and lavg field in a line

23 years agonew save system : the binary format has changed, so it is no more necessary to reinst...
thib [Sat, 21 Apr 2001 08:46:55 +0000 (08:46 +0000)]
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:46:20 +0000 (08:46 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years ago*** empty log message ***
thib [Sat, 21 Apr 2001 08:46:11 +0000 (08:46 +0000)]
*** empty log message ***

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:44:46 +0000 (08:44 +0000)]
better management of errors
new save system : the binary format has changed, so it is no more necessary to reinstall the fcrontabs when upgrading fcron/fcrontab (no more informations loss, etc).

23 years agobetter management of errors
thib [Sat, 21 Apr 2001 08:43:35 +0000 (08:43 +0000)]
better management of errors
more security tests if fcrontab is suid root

23 years agobug corrected : a too long message used not to be truncated correctly, and the string...
thib [Sat, 21 Apr 2001 08:42:33 +0000 (08:42 +0000)]
bug corrected : a too long message used not to be truncated correctly, and the string " (truncated)" was copyed somewhere in the memory, which could lead to a crash

23 years agowe set the umask to the value read by fcron before changing it before running a job
thib [Sat, 21 Apr 2001 08:39:22 +0000 (08:39 +0000)]
we set the umask to the value read by fcron before changing it before running a job

23 years agoboolean option can be set using "yes" and "no"
thib [Sat, 10 Mar 2001 13:10:23 +0000 (13:10 +0000)]
boolean option can be set using "yes" and "no"

23 years agoset all files in spooldir to the right mode and owner/group
thib [Fri, 9 Mar 2001 18:03:51 +0000 (18:03 +0000)]
set all files in spooldir to the right mode and owner/group

23 years agoprint a list of possibilities before asking user which one he wants
thib [Wed, 7 Mar 2001 19:33:07 +0000 (19:33 +0000)]
print a list of possibilities before asking user which one he wants
to use

23 years agobug corrected : IS_FREEBSD was requested before being set
thib [Wed, 7 Mar 2001 19:32:21 +0000 (19:32 +0000)]
bug corrected : IS_FREEBSD was requested before being set

23 years agothe user for whom the job is run is now logged
thib [Fri, 2 Mar 2001 17:50:34 +0000 (17:50 +0000)]
the user for whom the job is run is now logged

23 years ago*** empty log message ***
thib [Fri, 2 Mar 2001 17:48:34 +0000 (17:48 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
thib [Thu, 1 Mar 2001 19:19:12 +0000 (19:19 +0000)]
*** empty log message ***

23 years agomore precise about what happens if user answers no to all script's proposition
thib [Thu, 1 Mar 2001 19:18:32 +0000 (19:18 +0000)]
more precise about what happens if user answers no to all script's proposition

23 years agobug corrected : env var can now include underscrores (_)
thib [Thu, 1 Mar 2001 18:40:47 +0000 (18:40 +0000)]
bug corrected : env var can now include underscrores (_)

23 years agoadded a message telling user he may get several propositions for doing something...
thib [Thu, 1 Mar 2001 18:40:03 +0000 (18:40 +0000)]
added a message telling user he may get several propositions for doing something by the script

23 years agomake user fcron be in group fcron (and check if it is really the case) as it is neede...
thib [Thu, 1 Mar 2001 18:39:03 +0000 (18:39 +0000)]
make user fcron be in group fcron (and check if it is really the case) as it is needed by fcron to run correctly.

23 years agobug corrected : bootrun jobs wasn't put in serial/lavg queue
thib [Tue, 27 Feb 2001 20:50:03 +0000 (20:50 +0000)]
bug corrected : bootrun jobs wasn't put in serial/lavg queue

23 years ago*** empty log message ***
thib [Tue, 27 Feb 2001 20:50:00 +0000 (20:50 +0000)]
*** empty log message ***

23 years agosecurity fix : used to be able to read root files when running fcrontab -u user -e
thib [Mon, 26 Feb 2001 11:11:10 +0000 (11:11 +0000)]
security fix : used to be able to read root files when running fcrontab -u user -e
(race condition and symlink)

23 years ago*** empty log message ***
thib [Mon, 26 Feb 2001 11:11:06 +0000 (11:11 +0000)]
*** empty log message ***

23 years agoinstall fcron binary as root, not user fcron
thib [Sun, 25 Feb 2001 14:45:32 +0000 (14:45 +0000)]
install fcron binary as root, not user fcron

23 years agonow check for rootgroup wheel
thib [Sun, 25 Feb 2001 14:44:53 +0000 (14:44 +0000)]
now check for rootgroup wheel

23 years agobug corrected : used to modify manpages
thib [Sun, 25 Feb 2001 14:44:31 +0000 (14:44 +0000)]
bug corrected : used to modify manpages

23 years ago*** empty log message ***
thib [Wed, 14 Feb 2001 13:52:09 +0000 (13:52 +0000)]
*** empty log message ***

23 years agomore secure about buffer overflows
thib [Wed, 14 Feb 2001 13:51:14 +0000 (13:51 +0000)]
more secure about buffer overflows

23 years agobug corrected : --prefix used not to work
thib [Wed, 14 Feb 2001 13:49:48 +0000 (13:49 +0000)]
bug corrected : --prefix used not to work

23 years ago"read -p" has been replaced by "echo -n ; read" (not supported by sh)
thib [Wed, 14 Feb 2001 13:48:30 +0000 (13:48 +0000)]
"read -p" has been replaced by "echo -n ; read" (not supported by sh)

23 years agoadded a space before the output "fcron"
thib [Sun, 11 Feb 2001 21:38:28 +0000 (21:38 +0000)]
added a space before the output "fcron"

23 years agobug corrected for freebsd
thib [Sun, 11 Feb 2001 21:37:41 +0000 (21:37 +0000)]
bug corrected for freebsd

23 years agosysVinit-(un)install renamed to boot-(un)install
thib [Sun, 11 Feb 2001 21:16:59 +0000 (21:16 +0000)]
sysVinit-(un)install renamed to boot-(un)install

23 years agoInitial revision
thib [Sun, 11 Feb 2001 21:16:34 +0000 (21:16 +0000)]
Initial revision

23 years agosupport of freebsd
thib [Sun, 11 Feb 2001 21:15:44 +0000 (21:15 +0000)]
support of freebsd

23 years agoadded option "-s"
thib [Sat, 10 Feb 2001 12:56:02 +0000 (12:56 +0000)]
added option "-s"

23 years agoremoved unused CFLAGS
thib [Sat, 10 Feb 2001 12:55:43 +0000 (12:55 +0000)]
removed unused CFLAGS

23 years agobug corrected : configure's --without-sendmail wasn't working
thib [Sat, 10 Feb 2001 12:53:57 +0000 (12:53 +0000)]
bug corrected : configure's --without-sendmail wasn't working

23 years agobug corrected : current dir was not set correctly
thib [Sat, 10 Feb 2001 12:53:29 +0000 (12:53 +0000)]
bug corrected : current dir was not set correctly

23 years agoswitching to version 1.0.0
thib [Sat, 10 Feb 2001 12:53:06 +0000 (12:53 +0000)]
switching to version 1.0.0

23 years ago*** empty log message ***
thib [Fri, 2 Feb 2001 16:54:38 +0000 (16:54 +0000)]
*** empty log message ***

23 years agoadded option nolog
thib [Thu, 1 Feb 2001 20:52:14 +0000 (20:52 +0000)]
added option nolog
bug corrected in goto_non_matching : added a test for *ly line
for END_OF_INTERVAL

23 years agotest if a directory exist before running a "install -g x -o y -m z -d dir" in order...
thib [Thu, 1 Feb 2001 20:51:03 +0000 (20:51 +0000)]
test if a directory exist before running a "install -g x -o y -m z -d dir" in order no to change the attributes of the dir if it exists.

23 years agoadded option nolog
thib [Thu, 1 Feb 2001 20:49:31 +0000 (20:49 +0000)]
added option nolog

23 years agobug fixes : goto_non_matching
thib [Tue, 30 Jan 2001 21:27:28 +0000 (21:27 +0000)]
bug fixes : goto_non_matching

23 years agomoved declaration of launch_mailer to fcron.h
thib [Tue, 30 Jan 2001 17:42:27 +0000 (17:42 +0000)]
moved declaration of launch_mailer to fcron.h

23 years agoadded launch_mailer() (used in database.c and job.c)
thib [Tue, 30 Jan 2001 17:41:57 +0000 (17:41 +0000)]
added launch_mailer() (used in database.c and job.c)

23 years agoremoved unused local var uid
thib [Tue, 30 Jan 2001 17:41:35 +0000 (17:41 +0000)]
removed unused local var uid

23 years agoadded a message to tell user they may lose some informations by reinstalling the...
thib [Tue, 30 Jan 2001 17:40:51 +0000 (17:40 +0000)]
added a message to tell user they may lose some informations by reinstalling the fcrontabs

23 years agoclearer mails with mail_notrun
thib [Tue, 30 Jan 2001 15:54:12 +0000 (15:54 +0000)]
clearer mails with mail_notrun
runas and mailto are now strings, not uid (to handle a change of the
uid of a user.

23 years agorunas and mailto are now strings, not uid (to handle a change of the
thib [Tue, 30 Jan 2001 15:53:27 +0000 (15:53 +0000)]
runas and mailto are now strings, not uid (to handle a change of the
uid of a user.

23 years agorunas and mailto are now strings, not uid (to handle a change of the uid of a user.
thib [Tue, 30 Jan 2001 15:52:16 +0000 (15:52 +0000)]
runas and mailto are now strings, not uid (to handle a change of the uid of a user.
fcronatab binary format has changed (so does FILEVERSION)

23 years agoadded mail_notrun() and change_user() (used in database.c and job.c)
thib [Tue, 30 Jan 2001 15:51:46 +0000 (15:51 +0000)]
added mail_notrun() and change_user() (used in database.c and job.c)

23 years agodo not change the mod of root.orig to 640
thib [Tue, 30 Jan 2001 15:50:55 +0000 (15:50 +0000)]
do not change the mod of root.orig to 640

23 years agorunas and mailto are now strings, not uid (to handle a change
thib [Tue, 30 Jan 2001 15:49:26 +0000 (15:49 +0000)]
runas and mailto are now strings, not uid (to handle a change
of the uid of a user.

23 years agoadded constant STD NO_GOTO NO_GOTO_LOG END_OF_INTERVAL LAVG SYSDOWN
thib [Sat, 27 Jan 2001 15:43:56 +0000 (15:43 +0000)]
added constant STD NO_GOTO NO_GOTO_LOG END_OF_INTERVAL LAVG SYSDOWN

23 years ago*** empty log message ***
thib [Sat, 27 Jan 2001 15:43:06 +0000 (15:43 +0000)]
*** empty log message ***

23 years agoadded option strict and noticenotrun
thib [Sat, 27 Jan 2001 15:41:09 +0000 (15:41 +0000)]
added option strict and noticenotrun

23 years agotest_jobs use no longer an argument (it's always "now")
thib [Sat, 27 Jan 2001 15:39:19 +0000 (15:39 +0000)]
test_jobs use no longer an argument (it's always "now")
added functions set_next_exe_notrun, create_mail and mail_notrun

23 years agotest_jobs use no longer an argument (it's always "now")
thib [Sat, 27 Jan 2001 15:33:39 +0000 (15:33 +0000)]
test_jobs use no longer an argument (it's always "now")
bug corrected : a job inserted in serial_queue during synchronize_dir() wasn't taken into account to determine sleep time.

23 years agobug corrected: use $USERNAME instead of "fcron"
thib [Sat, 27 Jan 2001 15:32:46 +0000 (15:32 +0000)]
bug corrected: use $USERNAME instead of "fcron"
added code to add group fcron

23 years agobug corrected : read_opt fixed.
thib [Mon, 15 Jan 2001 18:57:38 +0000 (18:57 +0000)]
bug corrected : read_opt fixed.

23 years agoadded options strict and noticenotrun
thib [Mon, 15 Jan 2001 18:46:13 +0000 (18:46 +0000)]
added options strict and noticenotrun

23 years agoremoved runas macros (unused)
thib [Fri, 12 Jan 2001 21:44:50 +0000 (21:44 +0000)]
removed runas macros (unused)

23 years agohandle the change of the uid of a user in /etc/passwd
thib [Fri, 12 Jan 2001 21:43:41 +0000 (21:43 +0000)]
handle the change of the uid of a user in /etc/passwd

23 years ago*** empty log message ***
thib [Fri, 12 Jan 2001 21:43:25 +0000 (21:43 +0000)]
*** empty log message ***

23 years agouse --mandir instead of --with-mandir
thib [Fri, 12 Jan 2001 21:42:57 +0000 (21:42 +0000)]
use --mandir instead of --with-mandir

23 years agosecurity fix : runas and mailto was set by default to uid, not asuid
thib [Fri, 12 Jan 2001 21:42:18 +0000 (21:42 +0000)]
security fix : runas and mailto was set by default to uid, not asuid

23 years agobug corrected : root's orig file was not chown to root correctly
thib [Fri, 12 Jan 2001 21:41:24 +0000 (21:41 +0000)]
bug corrected : root's orig file was not chown to root correctly

23 years agoremove --with-mandir (--mandir already exists)
thib [Fri, 12 Jan 2001 21:39:59 +0000 (21:39 +0000)]
remove --with-mandir (--mandir already exists)
minor bug fixed (an incorrect result output)

23 years ago*** empty log message ***
thib [Fri, 12 Jan 2001 21:37:52 +0000 (21:37 +0000)]
*** empty log message ***

23 years agoadded a "sleep 2" to let some time to fcron to stop before restarting it
thib [Fri, 12 Jan 2001 21:37:16 +0000 (21:37 +0000)]
added a "sleep 2" to let some time to fcron to stop before restarting it

24 years agobetter support of FreeBSD systems : use killall if pidof does not exist
thib [Sun, 7 Jan 2001 20:56:19 +0000 (20:56 +0000)]
better support of FreeBSD systems : use killall if pidof does not exist

24 years agofcron.deny and fcron.allow now owned by root (used to be fcron)
thib [Sun, 7 Jan 2001 12:46:56 +0000 (12:46 +0000)]
fcron.deny and fcron.allow now owned by root (used to be fcron)
added ./configure's option --with-answer-all

24 years agoadded ./configure's option --with-answer-all
thib [Sun, 7 Jan 2001 12:46:02 +0000 (12:46 +0000)]
added ./configure's option --with-answer-all
bug corrected : --with-rootgroup : check /etc/group, not /etc/passwd

24 years agoadded ./configure's option --with-answer-all
thib [Sun, 7 Jan 2001 12:44:58 +0000 (12:44 +0000)]
added ./configure's option --with-answer-all

24 years agowarning and error messages improved
thib [Thu, 4 Jan 2001 15:53:58 +0000 (15:53 +0000)]
warning and error messages improved

24 years agoadded close of fds at fcron startup
thib [Thu, 4 Jan 2001 15:53:04 +0000 (15:53 +0000)]
added close of fds at fcron startup
fcron does not print a start message anymore

24 years agoadded configure options --with-rootname and --with-rootgroup.
thib [Thu, 4 Jan 2001 15:52:38 +0000 (15:52 +0000)]
added configure options  --with-rootname and --with-rootgroup.

24 years agospelling mistakes corrected.
thib [Thu, 4 Jan 2001 15:51:40 +0000 (15:51 +0000)]
spelling mistakes corrected.
orig file for root is now owned by root.

24 years agoadded configure option --with-rootname and --with-rootgroup
thib [Thu, 4 Jan 2001 15:51:19 +0000 (15:51 +0000)]
added configure option --with-rootname and --with-rootgroup

24 years agobetter handle of the abscence of both useradd and addus
thib [Thu, 4 Jan 2001 15:50:41 +0000 (15:50 +0000)]
better handle of the abscence of both useradd and addus

24 years agoadded configure option --with-rootname
thib [Thu, 4 Jan 2001 15:50:15 +0000 (15:50 +0000)]
added configure option --with-rootname

24 years agoremoved some '' to make the log more readable
thib [Sat, 30 Dec 2000 13:00:46 +0000 (13:00 +0000)]
removed some '' to make the log more readable

24 years agoremoved some '' to make the log more readable
thib [Sat, 30 Dec 2000 12:54:19 +0000 (12:54 +0000)]
removed some '' to make the log more readable

24 years agolog a warning message if runas field has been corrected
thib [Sat, 23 Dec 2000 20:17:17 +0000 (20:17 +0000)]
log a warning message if runas field has been corrected

24 years agominor bug corrected : the options for %-line used to be output
thib [Sat, 23 Dec 2000 20:16:10 +0000 (20:16 +0000)]
minor bug corrected : the options for %-line used to be output
even without debug option

24 years agonow makes fcron update its conf immediately for root
thib [Sat, 23 Dec 2000 20:12:05 +0000 (20:12 +0000)]
now makes fcron update its conf immediately for root
bug corrected : better handle of zero-length external var (VISUAL and EDITOR)

24 years agoseteuid() or setuid() before chdir() (more secure)
thib [Wed, 20 Dec 2000 14:11:26 +0000 (14:11 +0000)]
seteuid() or setuid() before chdir() (more secure)
determine user's identity by his uid, not the var USER
(in order to act as crontab).

24 years agobug corrected : editing a file with option -u used to fail
thib [Sat, 16 Dec 2000 19:01:38 +0000 (19:01 +0000)]
bug corrected : editing a file with option -u used to fail

24 years agocheck for error code with function remove()
thib [Fri, 15 Dec 2000 17:51:49 +0000 (17:51 +0000)]
check for error code with function remove()

24 years agominor bug corrected : an error message was incomplete
thib [Fri, 15 Dec 2000 17:51:06 +0000 (17:51 +0000)]
minor bug corrected : an error message was incomplete

24 years agobug corrected : better handle of system without setreuid()
thib [Fri, 15 Dec 2000 17:50:00 +0000 (17:50 +0000)]
bug corrected : better handle of system without setreuid()

24 years agobetter handle of system without setreuid() etregid() functions
thib [Fri, 15 Dec 2000 17:49:14 +0000 (17:49 +0000)]
better handle of system without setreuid() etregid() functions

24 years agobug corrected : a fcron.allow or an fcron.deny file absent was
thib [Fri, 15 Dec 2000 17:48:24 +0000 (17:48 +0000)]
bug corrected : a fcron.allow or an fcron.deny file absent was
not handled correctly.

24 years agomore explanation about why the fcrontabs should be reinstalled
thib [Fri, 15 Dec 2000 17:47:48 +0000 (17:47 +0000)]
more explanation about why the fcrontabs should be reinstalled