??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php:4) in /home/mybf1/public_html/class.bf1.my/wp-includes/js/dist/index.php on line 178
2013-06-11 Tomas Mraz
* src/user.c: Log failures in load_user().
2013-06-11 Tomas Mraz
* man/crontab.5, src/cron.c, src/entry.c, src/env.c, src/globals.h,
src/structs.h: Add support for RANDOM_DELAY of jobs.
2013-06-11 Tomas Mraz
* src/user.c: Fixed bug introduced by previous commit and simplified
error handling.
2013-06-07 Tomas Mraz
* src/env.c, src/funcs.h, src/user.c: Copy some variables from the
crond process environment. Also cleanup error handling in load_env().
2013-06-06 Tomas Mraz
* src/cron.c: setenv takes 3 arguments
2013-06-06 Tomas Mraz
* src/cron.c: Do not use putenv with string literal.
2013-04-25 Tomas Mraz
* src/do_command.c: Make From field in mails from crond RFC
compliant.
2012-12-30 Sami Kerola
* src/crontab.c: cron: clarify usage() print out The -n option needs argument, which was missing from the usage(). Signed-off-by: Sami Kerola
2012-12-29 Sami Kerola
* anacron/global.h, anacron/main.c, anacron/readtab.c: anacron: fix
shadow declarations Change global variables to have more specific name. This will make
warnings about shadowing to go away, and may result to a little more
readable code. log.c:74:35: warning: declaration of 'args' shadows a global
declaration [-Wshadow] global.h:97:15: warning: shadowed declaration
is here [-Wshadow] Reference:
http://web.archiveorange.com/archive/v/N6p0RpcfZsIBsaU8B2sE#72jDywyk8NZ3i9gSigned-off-by: Sami Kerola
2012-12-29 Sami Kerola
* src/crontab.c, src/entry.c, src/macros.h, src/security.c: smatch
scan: fix various warningss found using smatch entry.c:396 load_entry() info: redundant null check on e->pwd
calling free() entry.c:398 load_entry() info: redundant null check
on e->cmd calling free() /usr/include/bits/fcntl.h:48:10: warning: preprocessor token
O_NOFOLLOW redefined macros.h:136:9: this was the original
definition security.c:98:44: warning: non-ANSI function declaration of function
'cron_restore_default_security_context' crontab.c:439:29: warning:
non-ANSI function declaration of function 'tmp_path' Signed-off-by: Sami Kerola
2013-01-02 Marcela Mašláňová
* man/cron.8: Mention systemctl command in man page of crond. Based
on rhbz#891160.
2012-12-20 Sami Kerola
* contrib/0anacron: contrib: remove bashisms Signed-off-by: Sami Kerola
2012-12-20 Sami Kerola
* COPYING.anacron, anacron/global.h, anacron/gregor.c,
anacron/gregor.h, anacron/lock.c, anacron/log.c, anacron/main.c,
anacron/matchrx.c, anacron/matchrx.h, anacron/readtab.c,
anacron/runjob.c: docs: corrections to FSF license files, and postal
address The COPYING and file is replaced by files from GNU web site. http://www.gnu.org/licenses/gpl-2.0.txt Postal addresses to FSF in other files are updated to match with the
address in license files. References:
http://lists.gnu.org/archive/html/freefont-announce/2005-04/msg00001.htmlSigned-off-by: Sami Kerola
2012-12-02 Sami Kerola
* cronie.init: init script: remove bashisms References: https://sourceforge.net/projects/checkbaskisms/
Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* anacron/log.c, anacron/main.c, anacron/readtab.c,
anacron/runjob.c: anacron: make function declarations to be ansi
compliant Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* anacron/main.c, anacron/runjob.c: anacron: remove numeric exit and
file descriptor values Use symbolic values from standard header instead. Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* anacron/main.c: anacron: clean up usage() output Inform in usage which options will need arguments, and add reference
to manual page. Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* anacron/runjob.c: anacron: set end job message string to be
constant runjob.c:308:7: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default] Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* anacron/global.h, anacron/main.c: anacron: add function attributes Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* Makefile.am, cronie_common.h, src/cron.c, src/crontab.c,
src/security.c: compile: add function attributes Some of the argument values are not in use, and few functions does
not return. Informing which will make few warning messages
disapper, and compiler to generate better binary. Signed-off-by: Sami Kerola
2012-12-01 Sami Kerola
* src/cron.c: compile: fix signed and unsigned warnings cron.c:100:16: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare] cron.c:108:16: warning:
comparison between signed and unsigned integer expressions
[-Wsign-compare] cron.c:125:16: warning: comparison between signed
and unsigned integer expressions [-Wsign-compare] Signed-off-by: Sami Kerola
2012-11-27 Sami Kerola
* src/cron.c: crond: make usage easier to read Signed-off-by: Sami Kerola
2012-11-27 Sami Kerola
* src/crontab.c: crontab: make usage easier to read Signed-off-by: Sami Kerola
2012-11-27 Marcela Mašláňová
* ChangeLog, configure.ac: New release 1.4.10.
2012-11-27 Marcela Mašláňová
* src/crontab.c, src/do_command.c, src/funcs.h: Condtionalize pam
functions.
2012-11-27 Tomas Mraz
* configure.ac: Drop duplicate -lselinux -laudit.
2012-11-27 Tomas Mraz
* src/funcs.h, src/security.c, src/structs.h: Fix missing includes
for selinux and other types.
2012-11-27 Marcela Mašláňová
* man/cron.8, src/cron.c: Fix some issues introduced in c58b1d9
Documentation improvements based on Michael Lass suggestions. * give -m an own line in manpage * don't explain -P twice * correct description of -P to what it actually does Signed-off-by: Marcela Mašláňová
2012-11-26 Tomas Mraz
* src/crontab.c: Fix const usage in crontab.
2012-11-22 Sami Kerola
* man/anacron.8: docs: anacron fix out dated information about open
file limits For quite a while open files limit has defaulted to 1024, but rather
than informing what might be the number user should inspect value
from own time. Signed-off-by: Sami Kerola
2012-11-22 Sami Kerola
* man/anacrontab.5: docs: fix reference to other manual There is no crontabs(4). For user it makes most sense to look
crontab(1). Signed-off-by: Sami Kerola
2012-11-22 Sami Kerola
* man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1,
man/crontab.5: docs: fix various groff issues * Add spaces after dots (English spacing). * Remove use of inline emphasis where possible. * Use mail and url macros. * Wrap long and join short lines. * Remove end of line white spaces. Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* configure.ac, src/pathnames.h: build-sys: make ./configure to
seach vi path Using "/usr/ucb/vi" as defaut fallback EDITOR is not going to work
on most of distributions where this package is installed. That said
it might work somewhere, so searching the vi editor at configure
time is the sensible thing to do, if user does not want to define
the default. Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/cron.c, src/crontab.c, src/database.c, src/do_command.c,
src/entry.c, src/env.c, src/macros.h, src/security.c, src/user.c:
debuging: make Debug macro look like function This will make indent(1) program not to think it is a clause. Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/do_command.c, src/user.c: declarations: fix shadow
declarations user.c:68:7: warning: declaration of 'save_errno' shadows a previous
local [-Wshadow] user.c:64:14: warning: shadowed declaration is here
[-Wshadow] do_command.c:559:9: warning: declaration of 'pid' shadows a previous
local [-Wshadow] do_command.c:91:8: warning: shadowed declaration is
here [-Wshadow] Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/Makefile.am, src/cron.c, src/cron.h, src/crontab.c,
src/database.c, src/do_command.c, src/entry.c, src/env.c,
src/externs.h, src/funcs.h, src/globals.h, src/job.c, src/macros.h,
src/misc.c, src/popen.c, src/pw_dup.c, src/security.c,
src/structs.h, src/user.c: includes: make inclusions clean This change makes files to include what they need, instead of having
generic inclusion headers which will include everything to
everywhere. Also the local headers havee ifndef & define
protection, which makes them to be save to include in any file,
without one having to think in which order the inclusions happen at
compile time. Signed-off-by: Sami Kerola
2012-11-26 Tomas Mraz
* src/misc.c: Fix up also the const in comment.
2012-11-24 Sami Kerola
* src/crontab.c, src/database.c, src/env.c, src/funcs.h, src/misc.c:
variables: use const where ever possible Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/crontab.c, src/security.c, src/user.c: build-sys: reduce
selinux and pam compiling scope when possible This will fix following warnings, and makes compiled program to
contain less unnecessary references. crontab.c:60:14: warning: 'selinux_context' defined but not used
[-Wunused-variable] security.c:188:12: warning:
'cron_open_pam_session' defined but not used [-Wunused-function]
security.c:250:12: warning: 'cron_authorize_context' defined but not
used [-Wunused-function] security.c:283:12: warning:
'cron_authorize_range' defined but not used [-Wunused-function] Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/crontab.c: compliancy: do not mix declarations and code Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/database.c, src/do_command.c: clean up: reduce variable
passing when they are not used Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/database.c, src/pw_dup.c, src/security.c: assingments: remove
initialization if value is never used The next operation with these variables will overwrite the values
set at init. Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/cron.c, src/entry.c, src/env.c, src/misc.c, src/popen.c:
compliancy: use memset() rather than bzero() Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.htmlSigned-off-by: Sami Kerola
2012-11-24 Sami Kerola
* src/Makefile.am: build-sys: make clean needs to remove
cron-paths.h The file is generated at build time. This change is needed to make
distcheck work without an error. [...] ERROR: files left in build directory after distclean:
./src/cron-paths.h Signed-off-by: Sami Kerola
2012-11-24 Sami Kerola
* autogen.sh: build-sys: add autotools helper script The script will help building when source code is checked out from
git. Signed-off-by: Sami Kerola
2012-11-26 Tomas Mraz
* src/cron.c: Do not log that syslog will be used instead of
sendmail if explicitly requested.
2012-11-26 Tomas Mraz
* configure.ac, src/cron.c, src/database.c: Enable system crontab by
default and use AC_ARG_ENABLE instead of AC_ARG_WITH.
2012-11-22 Marcela Mašláňová
* ChangeLog, configure.ac: Minor release 1.4.9.
2012-11-13 Marcela Mašláňová
* man/cron.8, src/cron.c: Documentation improvements based on
Michael Lass suggestions.
2012-11-02 Marcela Mašláňová
* contrib/cronie.systemd: Add time-sync.target. If synchronization
is used, crond will start after sync by ntpd/chrony. rhbz#872516
2012-10-11 Tom Jones
* man/cron.8, src/cron.c, src/entry.c, src/globals.h: The sysadmin
may want to arrange for the PATH to be correct in the environment
from which cron is launched. This new option tells cron to not
overwrite this path for itself or for the child cron jobs. Signed-off-by: Marcela Mašláňová
2012-07-24 Marcela Mašláňová
* configure.ac: The enable-relro erased previously set LDFLAGS.
2012-07-02 Marcela Mašláňová
* man/crontab.5: Fix typo in man page. rhbz#836292 Thanks to: Dave Allan
2012-06-22 Marcela Mašláňová
* anacron/global.h, anacron/lock.c, anacron/main.c,
anacron/readtab.c: Preferred hour of start of the job. If the hour
is missed job will be skipped.
2012-06-21 Marcela Mašláňová
* anacron/readtab.c: Range of hours for daily jobs must have
lower-higher hour.
2012-06-21 Marcela Mašláňová
* src/crontab.c: Crontab has wrong permission. Based on rhbz#676081
2012-06-19 Marcela Mašláňová
* configure.ac, src/cron.c, src/database.c: syscrontab, the system
crontab, is not mandatory anymore. Cronie can be build without it. The patch was based on complaints of
distribution without /etc/crontab file. https://fedorahosted.org/cronie/ticket/10
2012-06-13 Marcela Mašláňová
* src/cron.c, src/do_command.c: Sendmail doesn't have to be
installed. The info message should make sense. https://fedorahosted.org/cronie/ticket/15
2012-06-06 Tim Landscheidt
* src/cron.c: Previously, crond exited in the signal handler for
SIGINT and SIGTERM. Thus, the Inotify close code in main() was
never reached. This commit introduces a got_sigintterm variable
that is set when SIGINT or SIGTERM are received and leads to a clean
exit of the main loop. * src/cron.c: Rename quit() to sigintterm_handler(). Add
got_sigintterm variable and set it on SIGINT and SIGTERM. Shorten
sleep and exit main loop on got_sigintterm. Signed-off-by: Marcela Mašláňová
2012-06-06 Tim Landscheidt
* src/entry.c: 9th bit is overwritten. Hour bit fields have 24 bits (0..23, 3 bytes). bit_nclear() however
in this case is called to clear bits 0..24! Thus, it overwrites the
first bit of the following struct member (dom). This is not
problematic for normal use as dom is set after hour as are all other
fields. The last field, dow, uses 8 bits so 9 are cleared. This could be the
MIN_STAR bit of flags, but as flags is an int, there is probably a
padding byte in between; at least I couldn't trigger it to be unset.
So this could probably only cause problems on 8-bit systems. https://fedorahosted.org/cronie/ticket/11 Signed-off-by: Marcela
Mašláňová
2012-06-06 Tim Landscheidt
* anacron/readtab.c, anacron/runjob.c: Remove unused variables. Signed-off-by: Marcela Mašláňová
2012-06-06 Tim Landscheidt
* anacron/runjob.c: Fix use of "const char *" in call to putenv(). Signed-off-by: Marcela Mašláňová
2012-04-12 Marcela Mašláňová
* src/do_command.c: The mail header for automatic reply will now
contain another field: "Precedence: bulk", which is not compulsory
according to RFC3834. Based on: Harald Reindl request in rhbz#811186
2012-04-12 Sven Vermeulen
* src/security.c: setkeycreatecon is not needed. Users should
inherited key context if it was already set for them. Signed-off-by: Marcela Mašláňová
2012-04-11 Marcela Mašláňová
* Makefile.am, contrib/cronie.systemd: systemd unit file was added
into contrib This unit file is used in Fedora. The systemd-user-sessions.service
guarantees everything, what is needed for log in of users, is
already running (ypbind, sssd, ldap, ...).
2012-04-11 T.M. Abraham
* man/crontab.5: adjust documentation title to reference "crontab"
instead of "anacrontab" Signed-off-by: Marcela Mašláňová
2011-12-07 Tomas Mraz
* contrib/0anacron, contrib/0hourly, contrib/dailyjobs, man/cron.8,
man/crontab.5: Adjust the documentation to better describe the
current situation with crontab and anacrontab.
2011-11-24 Marcela Mašláňová
* man/crontab.1: Add name of file, where can be set PAM
configuration.
2011-10-24 Petr Sabata
* cronie.init: Service restart needlessly reports failure. Signed-off-by: Marcela Mašláňová
2011-10-06 Marcela Mašláňová
* src/security.c: Raw context should be used. Especially when
mcstransd in older releases is running.
2011-09-20 Tomas Mraz
* src/cron.c, src/crontab.c: No need to have full path in the
ProgramName.
2011-06-29 Tomas Mraz
* : commit 01a692b123c885c883e7791f0a1833df5edfe327 Author: Tomas
Mraz Date: Wed Jun 29 12:42:27 2011
+0200
2011-06-29 Tomas Mraz
* src/cron.c: Revert "Cronie disables inotify support when the
/etc/crontab file does not exist at startup." This reverts commit acdf4ae8456888ed78201906ef528f4c28f54582 as it
introduces fd leaks.
2011-06-27 Marcela Mašláňová
* ChangeLog, configure.ac: Minor release 1.4.8
2011-06-24 Marcela Mašláňová
* src/do_command.c: Cron writes job output to syslog incorrectly.
When cron is invoked in a way to print job output to syslog, it does
print only the first character of the output. Author: Vitezslav
Cizek Signed-off-by: Marcela Mašláňová
2011-06-21 Tomas Mraz
* src/cron.c, src/database.c, src/funcs.h, src/structs.h: Check
orphaned crontabs for adoption.
2011-06-21 Tomas Mraz
* src/do_command.c: Unify logging in case of SyslogOutput with the
rest of crond.
2011-05-26 Marcela Mašláňová
* man/cron.8, man/crontab.1: Change of email adress of cluster
support author.
2011-05-16 Kiyoshi OHGISHI
* anacron/main.c: The charset of anacron's mail is always
ANSI_X3.4-1968. There are no setlocale is anacron's source. Signed-off-by: Marcela Mašláňová
2011-04-28 Marcela Mašláňová
* src/cron.c: Cronie disables inotify support when the /etc/crontab
file does not exist at startup. Existence of crontab and directories wasn't controlled before
creating inotify watches.
2011-03-15 Marcela Mašláňová
* configure.ac: Clean configure.
2011-03-15 Marcela Mašláňová
* ChangeLog, configure.ac: New release 1.4.7.
2011-03-15 Marcela Mašláňová
* configure.ac: Split relro and pie into two options.
2011-03-11 Tomas Mraz
* anacron/matchrx.c: Add missing va_end() call.
2011-03-11 Tomas Mraz
* src/cron.c: Remove unused variable.
2011-03-11 Tomas Mraz
* src/env.c: Fix incorrect pointer in sizeof.
2011-03-11 Tomas Mraz
* src/crontab.c: Fixed leaking of env and members of entry in
replace_cmd().
2011-03-11 Tomas Mraz
* src/database.c, src/user.c: Fix memory leaks in load_user.
2011-03-11 Tomas Mraz
* src/entry.c: The last bit to set is always LAST_ - FIRST_.
2011-03-11 Tomas Mraz
* anacron/matchrx.c: Check malloc return for NULL.
2011-03-11 Tomas Mraz
* src/misc.c: Do not try to compile dead code.
2011-03-11 Tomas Mraz
* src/cron.c, src/crontab.c, src/funcs.h, src/misc.c: Rename
set_cron_cwd() to check_spool_dir() as we do not do any chdir
anymore.
2011-03-11 Tomas Mraz
* src/misc.c: Add missing check for stat() return value.
2011-03-09 Tomas Mraz
* anacron/main.c: Safeguard for system time changes. Otherwise
anacron might wait with the job running for a too long time.
2011-03-08 Tomas Mraz
* src/cron.c: Fix the non-default timezone support. Do not run jobs
multiple times on DST change.
2011-03-07 Tomas Mraz
* src/do_command.c, src/security.c: Set mailfrom to the user
account, better PAM logging.
2011-03-07 Tomas Mraz
* src/do_command.c, src/funcs.h, src/popen.c, src/security.c: Set
only groups in the process handling PAM calls. Keep uids at 0 so the
process is not killable by the user.
2011-03-02 Tomas Mraz
* src/do_command.c: Whitespace cleanups.
2011-03-02 Tomas Mraz
* src/do_command.c, src/popen.c: Fix SIGPIPE handling in
do_command() and popen. Ensure that PAM session is always closed.
2011-02-21 Marcela Mašláňová
* src/do_command.c: Comment not freeing mailfrom - found during code
review.
2011-02-21 Marcela Mašláňová
* src/security.c: Free security contexts.
2011-02-18 Marcela Mašláňová
* src/crontab.c: mkstemp needs only 6 X's
2011-02-21 Marcela Mašláňová
* anacron/runjob.c: fdin could be tested before initialization.
2011-02-17 Marcela Mašláňová
* configure.ac: PIE and RELRO flags to be set We want all long running daemons to have PIE and RELRO flags set.
This is a missing security mechanism. Fixing this generally involves
adding -fPIE -DPIE to the CFLAGS, and -pie -Wl,-z,relro -Wl,-z,now
to the LDFLAGS. Expected results: PIE and partial RELRO at a
minimum.
2010-12-16 Tomas Mraz
* src/security.c: Add translation for remaining hardcoded contexts
and av bits.
2010-12-16 Tomas Mraz
* src/cron.c, src/funcs.h, src/security.c: Revert "Cache the
security class and bit values and translate the remaining hardcoded
values." Caching cannot be done as the values can change on SELinux
policy update. This reverts commit b15f72976965d2ae1a1273558bf45be7de077b79.
2010-12-16 Tomas Mraz
* src/cron.c: Revert "Missing exit if cron_init_security() fails."
Caching cannot be done as the values can change on SELinux policy
update. This reverts commit ac70de36ec6c403c28291689701bd2567c565107.
2010-12-16 Tomas Mraz
* src/cron.c: Missing exit if cron_init_security() fails.
2010-12-15 Tomas Mraz
* src/cron.c, src/funcs.h, src/security.c: Cache the security class
and bit values and translate the remaining hardcoded values.
2010-12-15 Tomas Mraz
* src/security.c: Clean up unnecessary assignment.
2010-12-15 Dan Walsh
* src/security.c: This patch causes cronie to ask kernel for
constant definition rather then using hard coded Also add info to syslog message to help diagnose problems. Signed-off-by: Marcela Mašláňová
2010-12-10 Tomas Mraz
* anacron/global.h, anacron/lock.c, anacron/main.c: Do not lock jobs
that fall out of allowed range - rhbz#661966
2010-10-26 Marcela Mašláňová
* man/crontab.1: Man - another typo
2010-10-26 Marcela Mašláňová
* man/cron.8, man/crontab.1: Re-add missing option into man and fix
some typos. Thanks to Colin Dean.
2010-10-22 Marcela Mašláňová
* ChangeLog, configure.ac: New release 1.4.6
2010-10-21 Martin Prpič
* man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1,
man/crontab.5: Rewrite of man pages & correction. Signed-off-by: Marcela Mašláňová
2010-10-21 Marcela Mašláňová
* man/bitstring.3: Remove useless man page. Thanks to Colin Dean.
2010-10-21 Marcela Mašláňová
* src/cron.c: Apply previous patch correctly.
2010-10-20 Colin Dean
* src/cron.c: Check clustering before un/watch function Signed-off-by: Marcela Mašláňová
2010-10-13 Marcela Mašláňová
* : commit 2d3a872e9c66d9550a5b3cc97fa78ff9d7708cce Author: Marcela
Mašláňová Date: Fri Oct 8 12:17:15 2010
+0200
2010-10-07 Marcela Mašláňová
* man/cron.8: man page typo: change to correct option
2010-10-06 Marcela Mašláňová
* src/database.c: Remove cluster support from inotify_database check_inotify_database is called only when inotify is on, which is
not with cluster support.
2010-10-06 Colin Dean
* man/crontab.1, src/crontab.c: The crontab command uses "-c" and
"-n" instead of "-h". Signed-off-by: Marcela Mašláňová
2010-10-04 Marcela Mašláňová
* src/crontab.c: Correct ifdef HAVE_FCHOWN Based on https://fedorahosted.org/cronie/ticket/7 Thanks to
crrodriguez
2010-10-04 Marcela Mašláňová
* .gitignore, src/database.c: is_local set to zero
2010-10-04 Colin Dean
* man/cron.8, man/crontab.1, src/Makefile.am, src/cron.c,
src/crontab.c, src/database.c, src/globals.h: cronie on cluster On issue we have is that although we've made our services very
resilient, by employing HA failover, load balancing and round robin
DNS, the one service that's difficult to do anything with is cron,
because it has traditionally been tied to a single machine. For instance, we have a cluster of 4 Fedora servers which our end
users use as timeshare systems, using round robin DNS, and if one of
the servers is down it doesn't really matter too much. We don't even
backup the servers, relying on NFS home directories and rebuilding
from scratch using kickstart + cfengine if a server fails and can't
be restarted. However, the users have scattered crontab files around the 4
servers, so that if the particular server a cron job is meant to run
on dies, the job doesn't run any more, and the crontab file may be
permanently lost. What we needed was a facility to allow crontabs in /var/spool/cron
on these 4 servers be NFS mounted from a single directory on our
NetApp filers (so giving us backups and snapshots), with any user
able to run "crontab -e" from any of the servers to manage a single
shared crontab, and for us in the IT Service to be able to set just
one of the 4 servers to run user crontab jobs at any time. However,
we needed to keep /etc/crontab and the files in /etc/cron.d/
specific to each individual server still, and keep crond running on
all 4 servers. Signed-off-by: Marcela Mašláňová
2010-08-30 Marcela Mašláňová
* anacron/runjob.c: Typo in log message Based on Tom London report
https://bugzilla.redhat.com/show_bug.cgi?id=626947
2010-08-23 Marcela Mašláňová
* anacron/main.c: Close leaking file descriptor anacron was leaking fd, which caused denial of jobs by selinux.
2010-08-02 Marcela Mašláňová
* ChangeLog, configure.ac: New minor release 1.4.5.
2010-08-02 Marcela Mašláňová
* cronie.init: OK value printed twice Fix based on 615107. There were too many OK's messages.
2010-07-21 Marcela Mašláňová
* src/cron.c: Help and usage fix Option -h was added. Also details about options were added into
usage.
2010-07-21 Marcela Mašláňová
* man/cron.8: man crond -i Document missing option.
2010-07-12 Marcela Mašláňová
* man/cron.8, src/cron.c: Syslog output will be used instead of mail If sendmail isn't installed, syslog is used. This patch should also
solve problem with RPM requirements of sendmail (and which mail
should be installed by default). Based on: https://bugzilla.redhat.com/show_bug.cgi?id=472710#c42
2010-04-14 Marcela Mašláňová
* src/entry.c: Remove the whole unused part.
2010-04-14 Marcela Mašláňová
* src/entry.c: Remove 'dont log' part which probably never worked.
2010-04-14 Marcela Mašláňová
* src/do_command.c, src/entry.c: Beautify error outputs.
2010-04-14 Michal Seben
* man/crontab.5, src/entry.c: Option "-" don't log jobs as root If the uid of the owner is 0 (root), he can put a "-" as first
character of a crontab entry. This will prevent cron from writing a
syslog message about this command getting executed. Signed-off-by: Marcela Mašláňová
2010-04-14 Michal Seben
* src/security.c: Correctly reported PAM errors cron_conv could be helpfull for debug purposes, when something bad
happens with pam e.g. : expired user password - without cron_conv
cronie doesn't report usefull info in syslog messages (it just
write no conversation function error to messages file),if you want
to do quick test of pam conversation function, you could set
PASS_MAX_DAYS and PASS_WARN_AGE in etc/login.defs , add new user and
for this user create cron rule (crontab -e) Signed-off-by: Marcela Mašláňová
2010-03-25 Andrew Man-Hon Lau
* contrib/0anacron: 0anacron should check only readability. Signed-off-by: Marcela Mašláňová
2010-03-23 Marcela Mašláňová
* src/security.c: Revert previous change. The code which control the
input entry should be sufficient. Only "/" are removed from scripts.
2010-03-22 Marcela Mašláňová
* contrib/0hourly, contrib/dailyjobs, src/security.c: In system
tables was hardcoded home directory to "/". This was changed to
switching to "/" only when home for user isn't defined. Based on rhbz#575419
2010-02-23 Marcela Mašláňová
* man/crontab.5: Definition of system crontables.
2010-02-18 Marcela Mašláňová
* ChangeLog, configure.ac: New release
2010-02-17 Marcela Mašláňová
* src/crontab.c: CVE-2010-0424 -- crontab -e crontab file timestamp
race condition When run as "crontab -e", crontab creates a temporary file in /tmp,
copies the contents of an existing crontab to this file, and then
calls utime() on the temporary file name to set its mtime and atime
to 0, in order to check after editing whether or not the file has
been modified. Since the file is created with the user's euid, and
because utime is called on the file as root, an attacker can replace
the temporary file after it is created with a symlink to any file or
folder on disk, which will then have its atime and mtime set to 0.
This is certainly not a critical issue, but this action can be used
to deny service in many scenarios. For example, the cron daemon
checks the mtime of the crontab spool folder and its contents to
determine whether or not it needs to update its database of
cronjobs, and if these times are reset to 0, no new cronjobs will be
added. Other daemons relying on accurate timestamps may be similarly
affected. Finally, build tools such as make could be tricked into
not re-compiling source, based on an old timestamp. Thanks to: Dan
Rosenberg
2010-02-16 Marcela Mašláňová
* configure.ac: Dynamic shared libraries -laudit There is need to add -laudit into gcc options because now it's not
found automatically. Based on:
http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
2010-02-12 Marcela Mašláňová
* man/anacrontab.5: Make man page more readable based on #564206.
2010-01-25 Marcela Mašláňová
* crond.sysconfig, cronie.init: CRON_VALIDATE_MAILRCPTS was removed,
because it was not used anyway.
2010-01-13 Marcela Mašláňová
* src/do_command.c, src/funcs.h, src/security.c: With NFS homes
can't be job executed, because root can't access this directory.
2010-01-05 Will Woods
* man/cron.8, src/do_command.c: Disable mailing output. Signed-off-by: Marcela Mašláňová
2010-01-05 Will Woods
* man/cron.8, src/cron.c, src/do_command.c, src/globals.h: Output
could be redirectered to syslog. Signed-off-by: Marcela Mašláňová
2009-12-21 Marcela Mašláňová
* src/security.c: Cron doesn't use environment values from
/etc/security/pam_env.conf. This was fixed by moving pam_setcred
into first part of authentication of pam.
2009-11-27 Marcela Mašláňová
* cronie.init: Initscript: if unprivileged user stop deamon, it
should return 4.
2009-11-27 Marcela Mašláňová
* cronie.init: Initscript: if unprivileged user restart deamon, it
should return 4.
2009-11-05 Guido Trentalancia
* src/security.c: This function will be probably removed from
libselinux, so it is added into source code here. Signed-off-by: Marcela Mašláňová
2009-11-05 Marcela Mašláňová
* pam/crond: One line was missing in pam authentication. rhbz#533189
2009-11-03 Marcela Mašláňová
* Makefile.am, configure.ac: Autotools - Makefile includes
dailyjobs, configure has new version.
2009-11-03 Marcela Mašláňová
* ChangeLog: New release 1.4.3.
2009-11-03 SATOH Fumiyasu
* src/misc.c: Fix "warning: unused variable" if LOG_FILE is not
defined Signed-off-by: Marcela Mašláňová
2009-11-03 SATOH Fumiyasu
* src/crontab.c: Portability: Use swap_uids() instead of setreuid()
directly Signed-off-by: Marcela Mašláňová
2009-11-03 SATOH Fumiyasu
* src/externs.h: Portability: Solaris and AIX support saved UID/GID Signed-off-by: Marcela Mašláňová
2009-11-03 SATOH Fumiyasu
* configure.ac, src/externs.h: Portability: Check if fchown() and
fchgrp() exist by configure. Signed-off-by: Marcela Mašláňová
2009-11-03 SATOH Fumiyasu
* src/crontab.c: 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á
2009-11-03 SATOH Fumiyasu
* configure.ac: Portability: pam_misc.so is the Linux-PAM specific
library Signed-off-by: Marcela Mašláňová
2009-11-03 SATOH Fumiyasu
* configure.ac, src/externs.h: Portability: Check if sys/fcntl.h
exists or not Signed-off-by: Marcela Mašláňová
2009-11-03 Marcela Mašláňová
* contrib/dailyjobs: Dailyjobs are here for users who don't like
anacron. 0hourly executes cron.hourly scripts and other will be
executed by dailyjobs.
2009-10-19 HONDA Hirofumi
* cronie.init: 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á
2009-10-12 Marcela Mašláňová
* ChangeLog, configure.ac: New release with few bugfixes.
2009-09-25 Marcela Mašláňová
* src/database.c: Symlinks were not followed. This is a limitation
of inotify API. rhbz#477100
2009-09-18 Tomas Mraz
* src/do_command.c: Do not segfault if mailto does not pass safe_p
test.
2009-09-16 Tomas Mraz
* pam/crond: Use password-auth common PAM configuration.
2009-08-17 Marcela Mašláňová
* anacron/lock.c, anacron/readtab.c, man/anacrontab.5: Add daily,
weekly as a possibility of anacrontab configuration.
2009-08-11 Marcela Mašláňová
* contrib/anacrontab: Add anacrontab configuration file.
2009-08-11 Marcela Mašláňová
* man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1,
man/regularly-jobs.5: Polish manual pages.
2009-07-30 Marcela Mašláňová
* Makefile.am, anacron/Makefile, configure.ac, man/Makefile.am,
man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.5: Revert
configuration file regularly-file back to anacrontab.
2009-07-29 Marcela Mašláňová
* ChangeLog, configure.ac: Start minor releases cronie-1.4.1.
2009-07-29 Marcela Mašláňová
* contrib/regularly-jobs: Revert configure file for anacrontab.
2009-07-29 Rocco Iannacci
* anacron/readtab.c: Segfault on ppc64 was caused by parsing random
delay from anacrontab. Signed-off-by: Marcela Mašláňová
2009-07-21 Marcela Mašláňová
* configure.ac: New release cronie1.4.
2009-07-20 Marcela Mašláňová
* ChangeLog, Makefile.am, anacron/Makefile.am, man/Makefile.am,
man/anacron.8, man/anacrontab.5, man/cron.8, man/crontab.1,
man/crontab.5, man/regularly-jobs.5: New option: enable-anacron in
configure which can set compilation with or without anacron part.
Also there were changes in manual pages. Updated ChangeLog.
2009-07-17 Štěpán Kasal
* .gitignore, Makefile.am, anacron/Makefile.am, configure.ac: Fix of
autotools stuff for anacron. Signed-off-by: Marcela Mašláňová
2009-07-16 Marcela Mašláňová
* Makefile.am, anacron/Makefile.am, configure.ac, man/Makefile.am:
Make anacron configurable. The option --enable-anacron in configure
can switch on/off compilation of this part of the package.
2009-07-16 Marcela Mašláňová
* anacron/Makefile.am: Put anacron binary into proper location.
2009-07-16 Marcela Mašláňová
* .gitignore, Makefile.am, anacron/anacron.8, anacron/anacrontab.5,
contrib/0anacron, contrib/0hourly, contrib/regularly-jobs,
man/Makefile.am, man/anacron.8, man/anacrontab.5, regularly-jobs:
Add configuration scripts into contrib. Cleaning/adding man pages
into Makefile/directories.
2009-07-14 Marcela Mašláňová
* COPYING.anacron, ChangeLog.anacron, README.anacron,
anacron/COPYING, anacron/ChangeLog, anacron/README, anacron/TODO,
anacron/anacron.apm, anacron/debian/0anacron.daily,
anacron/debian/0anacron.monthly, anacron/debian/0anacron.weekly,
anacron/debian/README.debian, anacron/debian/anacron.postinst,
anacron/debian/anacron.postrm, anacron/debian/anacrontab,
anacron/debian/apm.d, anacron/debian/changelog,
anacron/debian/compat, anacron/debian/control,
anacron/debian/copyright, anacron/debian/cron.d,
anacron/debian/dirs, anacron/debian/docs, anacron/debian/init.d,
anacron/debian/rules: Cleaning useless files.
2009-07-14 Marcela Mašláňová
* Makefile.am, anacron/Makefile, anacron/Makefile.am,
anacron/global.h, anacron/main.c, configure.ac, regularly-jobs:
Anacron makefile was rewritten according to the rest of autotools
makefiles in this project.
2009-07-13 Marcela Mašláňová
* anacron/global.h, anacron/log.c, anacron/main.c,
anacron/readtab.c: New options: random delay could be set from
anacrontab instead of sysconfig file, range of hours when should be
jobs started.
2009-07-13 Marcela Mašláňová
* anacron/anacron.8, anacron/anacrontab.5: Update manual pages.
2009-07-13 Marcela Mašláňová
* anacron/readtab.c: Fix error message for wrong spooldir.
2009-07-13 Marcela Mašláňová
* anacron/global.h, anacron/gregor.c, anacron/log.c,
anacron/matchrx.c, anacron/runjob.c: Memory leaks should be fixed.
Instead of log is used slog function.
2009-07-13 Marcela Mašláňová
* anacron/global.h, anacron/runjob.c: The temporary file has file
descriptors for input and output instead of one descriptor.
2009-07-13 Marcela Mašláňová