Bug 652268

Summary: anacron broken
Product: [Fedora] Fedora Reporter: Edward Sheldrake <ejsheldrake>
Component: crontabsAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: goodyca48, horsley1953, jlaska, mmaslano, pgueckel, saalwaechter, terje.rosten, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: crontabs-1.11-1.20101111git.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 652418 (view as bug list) Environment:
Last Closed: 2010-11-14 21:35:12 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:
Bug Depends On:    
Bug Blocks: 652418    
Attachments:
Description Flags
fix run-parts
none
plus more fixes for run-parts none

Description Edward Sheldrake 2010-11-11 13:59:21 UTC
Description of problem:
The latest update to crontabs completely breaks anacron. None of the tasks in /etc/cron.daily/ are run in the morning.

Version-Release number of selected component (if applicable):
crontabs-1.11-1.20101109git.fc14

How reproducible:
Yes

Steps to Reproduce:
1. Install crontabs update
2. 
3.
  
Actual results:
anacron doesn't happen

Expected results:
anacron does stuff.

Additional info:
Due to a change in /usr/bin/run-parts but not anacrontab:

This now does nothing, but is what is in anacrontab:
run-parts /etc/cron.daily

This is required:
run-parts /etc/cron.daily/

Comment 1 Edward Sheldrake 2010-11-11 14:10:33 UTC
Created attachment 459764 [details]
fix run-parts

Since anacrontab is part of cronie-anacron not crontabs, I guess that "/" in run-parts should be put back.

Comment 2 Edward Sheldrake 2010-11-11 14:41:32 UTC
Created attachment 459773 [details]
plus more fixes for run-parts

Also fixes this:

/usr/bin/run-parts: line 69: [: ==: unary operator expected

And the unusual use of "==" and "[[" for a shell script.

Comment 3 Fedora Update System 2010-11-11 15:33:09 UTC
crontabs-1.11-1.20101111git.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/crontabs-1.11-1.20101111git.fc14

Comment 4 Marcela Mašláňová 2010-11-11 15:34:51 UTC
Please test from updates-testing or you can grab test build from koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=204597

Comment 5 Edward Sheldrake 2010-11-11 16:49:19 UTC
Yes crontabs-1.11-1.20101111git.fc14 is working properly.

Comment 6 James Laska 2010-11-11 19:59:02 UTC
Marking as VERIFIED based on comment#5

Comment 7 Tomas Mraz 2010-11-11 22:03:59 UTC
*** Bug 652452 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2010-11-11 22:18:24 UTC
crontabs-1.11-1.20101111git.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update crontabs'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/crontabs-1.11-1.20101111git.fc14

Comment 9 John Saalwaechter 2010-11-12 20:51:54 UTC
*** Bug 652810 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2010-11-14 21:35:07 UTC
crontabs-1.11-1.20101111git.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Marcela Mašláňová 2010-11-15 06:35:36 UTC
*** Bug 653132 has been marked as a duplicate of this bug. ***

Comment 12 Terje Røsten 2010-11-15 12:23:51 UTC
Looking at the spec file, all 3 last changelog items has 1.11-1 as version tag.

Please include snap_release in changelog in later updates.

Comment 13 Marcela Mašláňová 2010-11-15 15:00:02 UTC
I'm sorry, I'll add it next time.