Bug 652268 - anacron broken
Summary: anacron broken
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: crontabs
Version: 14
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 652452 652810 653132 (view as bug list)
Depends On:
Blocks: 652418
TreeView+ depends on / blocked
 
Reported: 2010-11-11 13:59 UTC by Edward Sheldrake
Modified: 2010-11-15 15:24 UTC (History)
8 users (show)

Fixed In Version: crontabs-1.11-1.20101111git.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 652418 (view as bug list)
Environment:
Last Closed: 2010-11-14 21:35:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix run-parts (371 bytes, patch)
2010-11-11 14:10 UTC, Edward Sheldrake
no flags Details | Diff
plus more fixes for run-parts (1.01 KB, patch)
2010-11-11 14:41 UTC, Edward Sheldrake
no flags Details | Diff

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.


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