]> granicus.if.org Git - cronie/log
cronie
11 years agoAnacron does not correctly check configuration parameters for validity and can segfau...
Martin Poole [Wed, 18 Dec 2013 13:53:36 +0000 (14:53 +0100)]
Anacron does not correctly check configuration parameters for validity and can segfault on certain data types. The return code from the match_rx calls in readtab.c are not being checked correctly.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
11 years agocrond -n must change pam setting.
Marcela Mašláňová [Thu, 26 Sep 2013 11:44:46 +0000 (13:44 +0200)]
crond -n must change pam setting.

11 years agoNon-root user can't read configuration. Init file will fail with proper error message.
Marcela Mašláňová [Thu, 12 Sep 2013 08:33:19 +0000 (10:33 +0200)]
Non-root user can't read configuration. Init file will fail with proper error message.

rhbz#1006869

11 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/cronie
Marcela Mašláňová [Thu, 29 Aug 2013 14:30:21 +0000 (16:30 +0200)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/cronie

11 years agoFix cronie-common.h file not being found correctly in out of tree build.
Saul Wold [Mon, 26 Aug 2013 09:18:27 +0000 (11:18 +0200)]
Fix cronie-common.h file not being found correctly in out of tree build.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
11 years agoPull PAM environment variables also from session modules.
Tomas Mraz [Fri, 16 Aug 2013 16:05:55 +0000 (18:05 +0200)]
Pull PAM environment variables also from session modules.

- also fix memory leak of environment returned by pam_getenvlist()

11 years agoKillMode in systemd unit file will enable to finish jobs executed by cron. Even if...
Marcela Mašláňová [Tue, 13 Aug 2013 10:31:56 +0000 (12:31 +0200)]
KillMode in systemd unit file will enable to finish jobs executed by cron. Even if cron dies, jobs should continue.

Based on: https://bugzilla.redhat.com/show_bug.cgi?id=919290

11 years agoFcntl locking has different semantics than flock. Prefer flock.
Tomas Mraz [Fri, 9 Aug 2013 12:57:57 +0000 (14:57 +0200)]
Fcntl locking has different semantics than flock. Prefer flock.

11 years agoRelease 1.4.11 cronie1.4.11
Marcela Mašláňová [Thu, 18 Jul 2013 13:23:40 +0000 (15:23 +0200)]
Release 1.4.11

11 years agoLog failures in load_user().
Tomas Mraz [Tue, 11 Jun 2013 17:53:59 +0000 (19:53 +0200)]
Log failures in load_user().

11 years agoAdd support for RANDOM_DELAY of jobs.
Tomas Mraz [Tue, 11 Jun 2013 16:58:20 +0000 (18:58 +0200)]
Add support for RANDOM_DELAY of jobs.

11 years agoFixed bug introduced by previous commit and simplified error handling.
Tomas Mraz [Tue, 11 Jun 2013 15:35:46 +0000 (17:35 +0200)]
Fixed bug introduced by previous commit and simplified error handling.

11 years agoCopy some variables from the crond process environment.
Tomas Mraz [Fri, 7 Jun 2013 15:37:32 +0000 (17:37 +0200)]
Copy some variables from the crond process environment.

Also cleanup error handling in load_env().

11 years agosetenv takes 3 arguments
Tomas Mraz [Thu, 6 Jun 2013 18:14:23 +0000 (20:14 +0200)]
setenv takes 3 arguments

11 years agoDo not use putenv with string literal.
Tomas Mraz [Thu, 6 Jun 2013 18:13:26 +0000 (20:13 +0200)]
Do not use putenv with string literal.

11 years agoMake From field in mails from crond RFC compliant.
Tomas Mraz [Thu, 25 Apr 2013 09:02:03 +0000 (11:02 +0200)]
Make From field in mails from crond RFC compliant.

11 years agocron: clarify usage() print out
Sami Kerola [Sun, 30 Dec 2012 00:02:37 +0000 (00:02 +0000)]
cron: clarify usage() print out

The -n option needs argument, which was missing from the usage().

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
11 years agoanacron: fix shadow declarations
Sami Kerola [Sat, 29 Dec 2012 16:51:03 +0000 (16:51 +0000)]
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#72jDywyk8NZ3i9g
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
11 years agosmatch scan: fix various warningss found using smatch
Sami Kerola [Sat, 29 Dec 2012 16:19:15 +0000 (16:19 +0000)]
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 <kerolasa@iki.fi>
11 years agoMention systemctl command in man page of crond. Based on rhbz#891160.
Marcela Mašláňová [Wed, 2 Jan 2013 12:18:59 +0000 (13:18 +0100)]
Mention systemctl command in man page of crond. Based on rhbz#891160.

12 years agocontrib: remove bashisms
Sami Kerola [Thu, 20 Dec 2012 20:34:11 +0000 (20:34 +0000)]
contrib: remove bashisms

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agodocs: corrections to FSF license files, and postal address
Sami Kerola [Thu, 20 Dec 2012 20:34:10 +0000 (20:34 +0000)]
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.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoinit script: remove bashisms
Sami Kerola [Sun, 2 Dec 2012 00:04:21 +0000 (00:04 +0000)]
init script: remove bashisms

References: https://sourceforge.net/projects/checkbaskisms/
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoanacron: make function declarations to be ansi compliant
Sami Kerola [Sat, 1 Dec 2012 23:44:29 +0000 (23:44 +0000)]
anacron: make function declarations to be ansi compliant

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoanacron: remove numeric exit and file descriptor values
Sami Kerola [Sat, 1 Dec 2012 22:43:55 +0000 (22:43 +0000)]
anacron: remove numeric exit and file descriptor values

Use symbolic values from standard header instead.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoanacron: clean up usage() output
Sami Kerola [Sat, 1 Dec 2012 19:13:49 +0000 (19:13 +0000)]
anacron: clean up usage() output

Inform in usage which options will need arguments, and add reference to
manual page.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoanacron: set end job message string to be constant
Sami Kerola [Sat, 1 Dec 2012 18:45:38 +0000 (18:45 +0000)]
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 <kerolasa@iki.fi>
12 years agoanacron: add function attributes
Sami Kerola [Sat, 1 Dec 2012 18:18:02 +0000 (18:18 +0000)]
anacron: add function attributes

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocompile: add function attributes
Sami Kerola [Sat, 1 Dec 2012 17:35:40 +0000 (17:35 +0000)]
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 <kerolasa@iki.fi>
12 years agocompile: fix signed and unsigned warnings
Sami Kerola [Sat, 1 Dec 2012 17:02:08 +0000 (17:02 +0000)]
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 <kerolasa@iki.fi>
12 years agocrond: make usage easier to read
Sami Kerola [Tue, 27 Nov 2012 21:30:16 +0000 (21:30 +0000)]
crond: make usage easier to read

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agocrontab: make usage easier to read
Sami Kerola [Tue, 27 Nov 2012 21:17:47 +0000 (21:17 +0000)]
crontab: make usage easier to read

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoNew release 1.4.10. cronie1.4.10
Marcela Mašláňová [Tue, 27 Nov 2012 09:35:28 +0000 (10:35 +0100)]
New release 1.4.10.

12 years agoCondtionalize pam functions.
Marcela Mašláňová [Tue, 27 Nov 2012 09:23:41 +0000 (10:23 +0100)]
Condtionalize pam functions.

12 years agoDrop duplicate -lselinux -laudit.
Tomas Mraz [Tue, 27 Nov 2012 09:01:10 +0000 (10:01 +0100)]
Drop duplicate -lselinux -laudit.

12 years agoFix missing includes for selinux and other types.
Tomas Mraz [Tue, 27 Nov 2012 08:50:49 +0000 (09:50 +0100)]
Fix missing includes for selinux and other types.

12 years agoFix some issues introduced in
Marcela Mašláňová [Tue, 27 Nov 2012 07:37:08 +0000 (08:37 +0100)]
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á <mmaslano@redhat.com>
12 years agoFix const usage in crontab.
Tomas Mraz [Mon, 26 Nov 2012 16:44:09 +0000 (17:44 +0100)]
Fix const usage in crontab.

12 years agodocs: anacron fix out dated information about open file limits
Sami Kerola [Thu, 22 Nov 2012 23:18:09 +0000 (23:18 +0000)]
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 <kerolasa@iki.fi>
12 years agodocs: fix reference to other manual
Sami Kerola [Thu, 22 Nov 2012 23:05:05 +0000 (23:05 +0000)]
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 <kerolasa@iki.fi>
12 years agodocs: fix various groff issues
Sami Kerola [Thu, 22 Nov 2012 22:58:48 +0000 (22:58 +0000)]
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 <kerolasa@iki.fi>
12 years agobuild-sys: make ./configure to seach vi path
Sami Kerola [Sat, 24 Nov 2012 21:53:13 +0000 (21:53 +0000)]
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 <kerolasa@iki.fi>
12 years agodebuging: make Debug macro look like function
Sami Kerola [Sat, 24 Nov 2012 20:06:13 +0000 (20:06 +0000)]
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 <kerolasa@iki.fi>
12 years agodeclarations: fix shadow declarations
Sami Kerola [Sat, 24 Nov 2012 19:09:38 +0000 (19:09 +0000)]
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 <kerolasa@iki.fi>
12 years agoincludes: make inclusions clean
Sami Kerola [Sat, 24 Nov 2012 11:43:35 +0000 (11:43 +0000)]
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 <kerolasa@iki.fi>
12 years agoFix up also the const in comment.
Tomas Mraz [Mon, 26 Nov 2012 16:16:30 +0000 (17:16 +0100)]
Fix up also the const in comment.

12 years agovariables: use const where ever possible
Sami Kerola [Sat, 24 Nov 2012 11:18:31 +0000 (11:18 +0000)]
variables: use const where ever possible

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agobuild-sys: reduce selinux and pam compiling scope when possible
Sami Kerola [Sat, 24 Nov 2012 10:57:58 +0000 (10:57 +0000)]
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 <kerolasa@iki.fi>
12 years agocompliancy: do not mix declarations and code
Sami Kerola [Sat, 24 Nov 2012 10:51:18 +0000 (10:51 +0000)]
compliancy: do not mix declarations and code

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoclean up: reduce variable passing when they are not used
Sami Kerola [Sat, 24 Nov 2012 10:48:18 +0000 (10:48 +0000)]
clean up: reduce variable passing when they are not used

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoassingments: remove initialization if value is never used
Sami Kerola [Sat, 24 Nov 2012 10:45:14 +0000 (10:45 +0000)]
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 <kerolasa@iki.fi>
12 years agocompliancy: use memset() rather than bzero()
Sami Kerola [Sat, 24 Nov 2012 10:35:08 +0000 (10:35 +0000)]
compliancy: use memset() rather than bzero()

Reference: http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap03.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agobuild-sys: make clean needs to remove cron-paths.h
Sami Kerola [Sat, 24 Nov 2012 10:29:04 +0000 (10:29 +0000)]
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 <kerolasa@iki.fi>
12 years agobuild-sys: add autotools helper script
Sami Kerola [Sat, 24 Nov 2012 10:18:54 +0000 (10:18 +0000)]
build-sys: add autotools helper script

The script will help building when source code is checked out from git.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
12 years agoDo not log that syslog will be used instead of sendmail if explicitly requested.
Tomas Mraz [Mon, 26 Nov 2012 14:23:00 +0000 (15:23 +0100)]
Do not log that syslog will be used instead of sendmail if explicitly requested.

12 years agoEnable system crontab by default and use AC_ARG_ENABLE instead of AC_ARG_WITH.
Tomas Mraz [Mon, 26 Nov 2012 10:41:55 +0000 (11:41 +0100)]
Enable system crontab by default and use AC_ARG_ENABLE instead of AC_ARG_WITH.

12 years agoMinor release 1.4.9. cronie1.4.9
Marcela Mašláňová [Thu, 22 Nov 2012 14:07:59 +0000 (15:07 +0100)]
Minor release 1.4.9.

12 years agoDocumentation improvements based on Michael Lass suggestions.
Marcela Mašláňová [Tue, 13 Nov 2012 07:07:56 +0000 (08:07 +0100)]
Documentation improvements based on Michael Lass suggestions.

12 years agoAdd time-sync.target. If synchronization is used, crond will start after sync by...
Marcela Mašláňová [Fri, 2 Nov 2012 15:11:23 +0000 (16:11 +0100)]
Add time-sync.target. If synchronization is used, crond will start after sync by ntpd/chrony. rhbz#872516

12 years agoThe sysadmin may want to arrange for the PATH to be correct in the
Tom Jones [Thu, 11 Oct 2012 12:00:56 +0000 (14:00 +0200)]
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á <mmaslano@redhat.com>
12 years agoThe enable-relro erased previously set LDFLAGS.
Marcela Mašláňová [Tue, 24 Jul 2012 09:09:54 +0000 (11:09 +0200)]
The enable-relro erased previously set LDFLAGS.

12 years agoFix typo in man page.
Marcela Mašláňová [Mon, 2 Jul 2012 07:02:23 +0000 (09:02 +0200)]
Fix typo in man page.

rhbz#836292
Thanks to: Dave Allan

12 years agoPreferred hour of start of the job. If the hour is missed job will be skipped.
Marcela Mašláňová [Fri, 22 Jun 2012 09:14:58 +0000 (11:14 +0200)]
Preferred hour of start of the job. If the hour is missed job will be skipped.

12 years agoRange of hours for daily jobs must have lower-higher hour.
Marcela Mašláňová [Thu, 21 Jun 2012 11:33:10 +0000 (13:33 +0200)]
Range of hours for daily jobs must have lower-higher hour.

12 years agoCrontab has wrong permission.
Marcela Mašláňová [Thu, 21 Jun 2012 11:01:30 +0000 (13:01 +0200)]
Crontab has wrong permission.

Based on rhbz#676081

12 years agosyscrontab, the system crontab, is not mandatory anymore.
Marcela Mašláňová [Tue, 19 Jun 2012 11:31:16 +0000 (13:31 +0200)]
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

12 years agoSendmail doesn't have to be installed.
Marcela Mašláňová [Wed, 13 Jun 2012 14:21:50 +0000 (16:21 +0200)]
Sendmail doesn't have to be installed.

The info message should make sense.

https://fedorahosted.org/cronie/ticket/15

12 years agoPreviously, crond exited in the signal handler for SIGINT and SIGTERM.
Tim Landscheidt [Wed, 6 Jun 2012 15:14:06 +0000 (17:14 +0200)]
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á <mmaslano@redhat.com>
12 years ago9th bit is overwritten.
Tim Landscheidt [Wed, 6 Jun 2012 14:49:26 +0000 (16:49 +0200)]
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á <mmaslano@redhat.com>
12 years agoRemove unused variables.
Tim Landscheidt [Wed, 6 Jun 2012 14:03:49 +0000 (16:03 +0200)]
Remove unused variables.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
12 years agoFix use of "const char *" in call to putenv().
Tim Landscheidt [Wed, 6 Jun 2012 13:57:48 +0000 (15:57 +0200)]
Fix use of "const char *" in call to putenv().

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
12 years agoThe mail header for automatic reply will now contain another field:
Marcela Mašláňová [Thu, 12 Apr 2012 11:08:39 +0000 (13:08 +0200)]
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

12 years agosetkeycreatecon is not needed. Users should inherited key context if it was already...
Sven Vermeulen [Thu, 12 Apr 2012 08:38:27 +0000 (10:38 +0200)]
setkeycreatecon is not needed. Users should inherited key context if it was already set for them.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
12 years agosystemd unit file was added into contrib
Marcela Mašláňová [Wed, 11 Apr 2012 12:48:26 +0000 (14:48 +0200)]
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, ...).

12 years agoadjust documentation title to reference "crontab" instead of "anacrontab"
T.M. Abraham [Wed, 11 Apr 2012 12:15:42 +0000 (14:15 +0200)]
adjust documentation title to reference "crontab" instead of "anacrontab"

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
13 years agoAdjust the documentation to better describe the current situation with crontab and...
Tomas Mraz [Wed, 7 Dec 2011 12:19:57 +0000 (13:19 +0100)]
Adjust the documentation to better describe the current situation with crontab and anacrontab.

13 years agoAdd name of file, where can be set PAM configuration.
Marcela Mašláňová [Thu, 24 Nov 2011 14:41:51 +0000 (15:41 +0100)]
Add name of file, where can be set PAM configuration.

13 years agoService restart needlessly reports failure.
Petr Sabata [Mon, 24 Oct 2011 09:17:29 +0000 (11:17 +0200)]
Service restart needlessly reports failure.

Signed-off-by: Marcela Mašláňová <mmaslano@redhat.com>
13 years agoRaw context should be used. Especially when mcstransd in older
Marcela Mašláňová [Thu, 6 Oct 2011 07:01:12 +0000 (09:01 +0200)]
Raw context should be used. Especially when mcstransd in older
releases is running.

13 years agoNo need to have full path in the ProgramName.
Tomas Mraz [Tue, 20 Sep 2011 14:11:14 +0000 (16:11 +0200)]
No need to have full path in the ProgramName.

13 years agoMerge branch 'master' of ssh://git.fedorahosted.org/git/cronie
Tomas Mraz [Wed, 29 Jun 2011 12:30:45 +0000 (14:30 +0200)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/cronie

13 years agoFix wrong condition in cron_set_unwatched(). Do not disable inotify when crontabs...
Tomas Mraz [Wed, 29 Jun 2011 10:42:27 +0000 (12:42 +0200)]
Fix wrong condition in cron_set_unwatched(). Do not disable inotify when crontabs are missing.

13 years agoRevert "Cronie disables inotify support when the /etc/crontab file does not exist...
Tomas Mraz [Wed, 29 Jun 2011 09:06:24 +0000 (11:06 +0200)]
Revert "Cronie disables inotify support when the /etc/crontab file does not exist at startup."

This reverts commit acdf4ae8456888ed78201906ef528f4c28f54582 as it introduces
fd leaks.

13 years agoMinor release 1.4.8 cronie1.4.8
Marcela Mašláňová [Mon, 27 Jun 2011 14:02:44 +0000 (16:02 +0200)]
Minor release 1.4.8

13 years agoCron writes job output to syslog incorrectly. When cron is invoked in a way to print...
Marcela Mašláňová [Fri, 24 Jun 2011 10:10:11 +0000 (12:10 +0200)]
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á <mmaslano@redhat.com>
13 years agoCheck orphaned crontabs for adoption.
Tomas Mraz [Tue, 21 Jun 2011 18:26:38 +0000 (20:26 +0200)]
Check orphaned crontabs for adoption.

13 years agoUnify logging in case of SyslogOutput with the rest of crond.
Tomas Mraz [Tue, 21 Jun 2011 10:00:28 +0000 (12:00 +0200)]
Unify logging in case of SyslogOutput with the rest of crond.

13 years agoChange of email adress of cluster support author.
Marcela Mašláňová [Thu, 26 May 2011 15:43:34 +0000 (17:43 +0200)]
Change of email adress of cluster support author.

13 years agoThe charset of anacron's mail is always ANSI_X3.4-1968. There are no setlocale is...
Kiyoshi OHGISHI [Mon, 16 May 2011 13:56:43 +0000 (15:56 +0200)]
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á <mmaslano@redhat.com>
13 years agoCronie disables inotify support when the /etc/crontab file does not exist at startup.
Marcela Mašláňová [Thu, 28 Apr 2011 08:32:17 +0000 (10:32 +0200)]
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.

13 years agoClean configure. cronie1.4.7
Marcela Mašláňová [Tue, 15 Mar 2011 14:19:12 +0000 (15:19 +0100)]
Clean configure.

13 years agoNew release 1.4.7.
Marcela Mašláňová [Tue, 15 Mar 2011 12:13:34 +0000 (13:13 +0100)]
New release 1.4.7.

13 years agoSplit relro and pie into two options.
Marcela Mašláňová [Tue, 15 Mar 2011 12:04:10 +0000 (13:04 +0100)]
Split relro and pie into two options.

13 years agoAdd missing va_end() call.
Tomas Mraz [Fri, 11 Mar 2011 17:34:38 +0000 (18:34 +0100)]
Add missing va_end() call.

13 years agoRemove unused variable.
Tomas Mraz [Fri, 11 Mar 2011 17:32:27 +0000 (18:32 +0100)]
Remove unused variable.

13 years agoFix incorrect pointer in sizeof.
Tomas Mraz [Fri, 11 Mar 2011 17:30:06 +0000 (18:30 +0100)]
Fix incorrect pointer in sizeof.

13 years agoFixed leaking of env and members of entry in replace_cmd().
Tomas Mraz [Fri, 11 Mar 2011 17:25:47 +0000 (18:25 +0100)]
Fixed leaking of env and members of entry in replace_cmd().

13 years agoFix memory leaks in load_user.
Tomas Mraz [Fri, 11 Mar 2011 17:08:45 +0000 (18:08 +0100)]
Fix memory leaks in load_user.

13 years agoThe last bit to set is always LAST_ - FIRST_.
Tomas Mraz [Fri, 11 Mar 2011 16:42:56 +0000 (17:42 +0100)]
The last bit to set is always LAST_ - FIRST_.

13 years agoCheck malloc return for NULL.
Tomas Mraz [Fri, 11 Mar 2011 16:02:25 +0000 (17:02 +0100)]
Check malloc return for NULL.