From e8cd3dc113bef4b23429ea11d8c12b2d35f17c17 Mon Sep 17 00:00:00 2001 From: thib Date: Thu, 25 Dec 2003 22:58:07 +0000 Subject: [PATCH] update --- doc/en/changes.sgml | 18 +++++++- doc/en/relnotes.sgml | 28 ++++++------ doc/en/todo.sgml | 103 +++++++++++++++++++++++-------------------- 3 files changed, 87 insertions(+), 62 deletions(-) diff --git a/doc/en/changes.sgml b/doc/en/changes.sgml index 7b905a5..238498a 100644 --- a/doc/en/changes.sgml +++ b/doc/en/changes.sgml @@ -1,6 +1,6 @@ - + Changes @@ -28,6 +28,11 @@ A copy of the license is included in gfdl.sgml. Changed the subject line of mail reports : it now contains the subject line, and is very similar to vixie cron's one. + + bug fix : "makewhatis" bug is fixed -- at last ! + In fact, the problems encountered were due to an abusively ignored + signal SIGPIPE. + bug fix : possible crash of fcron when trying to save a file if there was no space left on device. @@ -37,6 +42,9 @@ A copy of the license is included in gfdl.sgml. a username before the command anymore, since many programs have one of these characters in their name. + + bug fix : option first was broken in fcron 2.9.3. + fixed a little typo in an error message (could->couldn't) @@ -44,9 +52,15 @@ A copy of the license is included in gfdl.sgml. fixed compile on SunOS 5.9 . + + Fcron now compiles on MacOS X. + added some $srcdir to be able (again ;) ) to run configure from another directory. + + Perf improvement : use buffer for i/o in run_job(). + diff --git a/doc/en/relnotes.sgml b/doc/en/relnotes.sgml index a14ba8b..e6c7952 100644 --- a/doc/en/relnotes.sgml +++ b/doc/en/relnotes.sgml @@ -1,6 +1,6 @@ - + Release notes : &fcron; &version; - + PAM support has not been tested thoroughly. Help from a PAM -expert would be appreciated (to audit the PAM code in fcron, and test it). You -can disable PAM use in configure, using "--with-pam=no". - - - Some commands of &fcrondyn; are not implemented yet. In -particular, fcrondyn does not use PAM yet. - - + expert would be appreciated (to audit the PAM code in fcron, and + test it). You can disable PAM use in configure, using + "--with-pam=no". + Moreover, fcrondyn does not use PAM at this time (should it + anyway ?). + + + Some commands of &fcrondyn; are not implemented yet. + + Fcrondyn might be not very secure, and might be used to block -&fcron;. - + &fcron;. + diff --git a/doc/en/todo.sgml b/doc/en/todo.sgml index ebb05a0..f9adaec 100644 --- a/doc/en/todo.sgml +++ b/doc/en/todo.sgml @@ -1,6 +1,6 @@ - + Todo Here are some things that should be done ... Note that some of these - entries are just some ideas, which may be done - in the long run. - If you plan to help me, please send a mail at &email; to prevent - two people from doing the same thing. You can send me some propositions as + entries are just some ideas, which may be done in + the long run. + If you plan to help me, please send a mail at &email; to prevent two + people from doing the same thing. You can send me some propositions as well, or ask me to move something to the top of the heap ;) . High priority - add psgml-docbook-dtd.cache, psgml-ecat.file to RCS & - CVS - - - mails from wohler@newt.com : improve the doc + change (?) the + mails from B. Wohler : improve the doc + change (?) the name of fcrondyn -> fcronc ?? - - crash when /var is full ??? - problem with daylight savings ? ("already running" ...) (cf. Nick's mails -- Warning : he has a new address)) @@ -46,9 +39,8 @@ A copy of the license is included in gfdl.sgml. system is running on battery (anacron does it ?) - bug fix : makewhatis does not work correctly with fcron 2.9.0 - and following - Help is welcome to catch this bug ! + create a mailing list for help/user support : send a mail + on fcronannounce + news on web site to advertise it. @@ -56,28 +48,43 @@ A copy of the license is included in gfdl.sgml. Low priority - Use directory notifications (?) (portable ?) - (cf. dnotify) + code cleaning : create a .c/.h file for data structures + (file/line lists, serial queue, lavg list, exe list), + and work with them only through functions/macros. + Note : thoroughly check for bugs which can be introduced + during the code cleaning (make sure that after the + modification, the code executed is still the same as before + !). - PAM support (included in fcron, but needs more tests by people - using PAM - not implemented in fcrondyn : is it needed in - fcrondyn anyway ?) + Mem footprint reduction : for fcron processes which are aimed + at running sendmail, free() some memory (file/line lists, queues, ...) + (but does it worth it ? takes too much exe time for few memory ?) + Also use an/some union(s) in CL struct. - implement more commands for fcrondyn, and make it more secure - and reliable + implement more commands for fcrondyn, and make it more + secure and reliable - add a timezone option instead of the tzdiff (so it would look - like !timezone(europe/paris)) (?) + add a timezone option instead of the tzdiff (so it would + look like !timezone(europe/paris)) (?) For environment settings, make a var substitution. - add a return code for jobs which would mean that they should - not be run again (in case of an error, etc...). + add a return code for jobs which would mean that they + should not be run again (in case of an error, etc...). + + + Use directory notifications (?) (portable ?) (cf. + dnotify) + + + PAM support (included in fcron, but needs more tests by + people using PAM - not implemented in fcrondyn : is it needed + in fcrondyn anyway ?) @@ -85,20 +92,20 @@ A copy of the license is included in gfdl.sgml. Ideas - add a system of modules : at startup, fcron loads some modules - (.so files). Then, when fcron should run the job, it calls a - function of the module, and let it manage the job (threads - ?). (do linux dlopen(), etc exist on other systems ? - yes : - thanks Harring ;) dlopen exists on all POSIX system - even - windoze - abait it does not use the same insterface of function - calls. But it can be easily implemented to port to another - system.). + add a system of modules : at startup, fcron loads some + modules (.so files). Then, when fcron should run the job, it + calls a function of the module, and let it manage the job + (threads ?). (do linux dlopen(), etc exist on other systems ? + - yes : thanks Harring ;) dlopen exists on all POSIX system - + even windoze - abait it does not use the same insterface of + function calls. But it can be easily implemented to port to + another system.). (related to the system of modules ? create a kind of - dependencies ?) Add a way to run a job only if a command returns - true. It would permit, for instance, to run some jobs on a laptop - only if it is on AC power. + dependencies ?) Add a way to run a job only if a command + returns true. It would permit, for instance, to run some jobs + on a laptop only if it is on AC power. add a system of data flow @@ -108,16 +115,17 @@ A copy of the license is included in gfdl.sgml. and restart it (SIGCONT) when the lavg has decreased. - Add a timeout for task completion : if a task takes more than - a specified timeout, then start another script with the initial - task PID as argument. That would allow a kill with different - signals (-HUP, -TERM -STOP, .... or any other action like sending - a mail to sysadmin to alert him/her that a task is taking too - much time and that he has to have a look at it.) + Add a timeout for task completion : if a task takes more + than a specified timeout, then start another script with the + initial task PID as argument. That would allow a kill with + different signals (-HUP, -TERM -STOP, .... or any other action + like sending a mail to sysadmin to alert him/her that a task + is taking too much time and that he has to have a look at it.) + - Add a directory similar to xinet.d or logrotate.d to add job - entries (?). + Add a directory similar to xinet.d or logrotate.d to add + job entries (?). @@ -130,3 +138,4 @@ mode: sgml sgml-parent-document:("fcron-doc.sgml" "book" "chapter" "sect1" "") End: --> + \ No newline at end of file -- 2.40.0