RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1255464 - daily jobs run twice a day thanks to clash between cron.dail and anacron.
Summary: daily jobs run twice a day thanks to clash between cron.dail and anacron.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: crontabs
Version: 6.7
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-20 15:59 UTC by Alan Brown
Modified: 2019-08-15 05:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-09 12:37:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
sosreport (9.10 MB, application/x-xz)
2015-08-20 15:59 UTC, Alan Brown
no flags Details

Description Alan Brown 2015-08-20 15:59:44 UTC
Created attachment 1065329 [details]
sosreport

Description of problem:

Freshly installed "minimal" system.

Logwatch is running twice daily at approx 3am and 4am. Several other daily and weekly jobs are also running twice


Version-Release number of selected component (if applicable): 


How reproducible:

100%

Steps to Reproduce:
1. Install minimal system with logwatch and MTA
2. monitor root mail over several days
3.

Actual results:

2 logwatches are mailed to root each day.


Expected results:

1 Logwatch is mailed to root each day.


Additional info:


This has been repeatedly reported ion Bugzilla by various redhat/fedora users over the years and closed with blame placed on user malconfiguration.

This is a freshly installed system, we haven't configured it. There is no reason for this to be occurring other than vendor malconfiguration.

Comment 2 Tomas Mraz 2015-08-24 13:55:33 UTC
Can you please report the issue via the Red Hat Support account?
http://www.redhat.com/en/services/support

Comment 3 Tomas Mraz 2015-08-24 14:01:00 UTC
Also do you have both cronie-anacron and cronie-noanacron packages installed?
If so, just choose one and uninstall the other. I have no idea how you could get both installed but it normally does not happen unless you explicitly install both.

Comment 4 Alan Brown 2015-11-09 12:29:47 UTC
We (eventually) traced the problem.

In short: if /etc/crontab is used from an old system (in this case RHEL5) then the (now) redundant entries are used and the duplication is never flagged up during sanity checks.

It would be a good idea to check for and make more noise about locally edited /etc/crontab and suggest that entries be moved to /etc/cron.d/

Comment 5 Tomas Mraz 2015-11-09 12:37:41 UTC
Except normally local editing of /etc/crontab is perfectly OK. This is work for some system for proper inplace upgrade between major versions but I do not think we have one for upgrades from RHEL-5.


Note You need to log in before you can comment on or make changes to this bug.