Bug 276831

Summary: The scripts in /etc/cron.daily don't get run
Product: [Fedora] Fedora Reporter: Bruce Orchard <orchard>
Component: crontabsAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-10 15:10:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruce Orchard 2007-09-04 18:02:58 UTC
Description of problem:
The scripts in /etc/cron.daily don't get run.  


Version-Release number of selected component (if applicable):
crontabs-1.10-15.fc7

How reproducible:
Every time


Steps to Reproduce:
1.  Let cron launch run-parts to run /etc/cron.daily
  
Actual results:
Nothing happens

Expected results:
The scripts in /etc/cron.daily get run

Additional info:

This started happening when crontabs-1.10-15.fc7 was installed as an update by
yum about August 29.  

I think the test at the beginning of /usr/bin/run-parts is backwards:

[root@3439-3 bin]# diff -c run-part.orig run-parts
*** run-part.orig       2007-08-27 01:59:50.000000000 -0500
--- run-parts   2007-09-04 12:37:40.000000000 -0500
***************
*** 2,8 ****
  # if cron.daily was run today
  AUX1=`cat /var/spool/anacron/cron.daily`
  AUX2=`date +%Y%m%d`
! [ "$AUX1" == $AUX2 ] || exit 0
  
  # run-parts - concept taken from Debian
  
--- 2,8 ----
  # if cron.daily was run today
  AUX1=`cat /var/spool/anacron/cron.daily`
  AUX2=`date +%Y%m%d`
! [ "$AUX1" == $AUX2 ] && exit 0
  
  # run-parts - concept taken from Debian

Comment 1 Marcela Mašláňová 2007-09-10 15:10:23 UTC

*** This bug has been marked as a duplicate of 269961 ***