Bug 276831 - The scripts in /etc/cron.daily don't get run
Summary: The scripts in /etc/cron.daily don't get run
Keywords:
Status: CLOSED DUPLICATE of bug 269961
Alias: None
Product: Fedora
Classification: Fedora
Component: crontabs
Version: 7
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-04 18:02 UTC by Bruce Orchard
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-10 15:10:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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