Bug 473353 - crontabs should own /etc/cron.{hourly,daily,weekly,monthly}
Summary: crontabs should own /etc/cron.{hourly,daily,weekly,monthly}
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: crontabs
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jan ONDREJ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-27 22:39 UTC by Fabrice Bellet
Modified: 2008-12-08 13:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-08 13:02:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabrice Bellet 2008-11-27 22:39:05 UTC
Hi!

I think crontabs should still own the directories indicated in the summary above, and not let anacron only own them, because when one of these directories is empty, it's removed when upgrading crontabs from f9 to f10, and when executing run-parts from /etc/crontab, crond now fails, telling that one of these directories doesn't exist.

This happens, when :
  . anacron is not installed
  . crontabs is upgraded from f-9 to f-10
  . and one of these directories /etc/cron.xxx is empty before upgrading (when the directory contains something, it isn't deleted, but it is just not owned by any package)

Comment 1 Jan ONDREJ 2008-12-01 07:22:29 UTC
Same problem for me. Here is email from cron:

Subject: Cron <root@ns2> run-parts /etc/cron.monthly                            

Not a directory: /etc/cron.monthly

Same problem for other dirs.

Comment 2 Todd Zullinger 2008-12-01 07:41:14 UTC
I see this was changed in cvs (only on the F-10 branch).  The dirs should probably be removed from the anacron package as well, since anacron requires crontabs.  And apply this to the devel branch as well, of course. :)

Comment 3 Marcela Mašláňová 2008-12-01 07:43:40 UTC
Ok, I'll remove them from anacron.

Comment 4 Jan ONDREJ 2008-12-01 07:44:08 UTC
http://koji.fedoraproject.org/koji/buildinfo?buildID=72436

Going to request this for testing in a few minutes.

Comment 5 Fedora Update System 2008-12-01 07:45:24 UTC
crontabs-1.10-25.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/crontabs-1.10-25.fc10

Comment 6 Fedora Update System 2008-12-03 01:12:00 UTC
crontabs-1.10-25.fc10 has been pushed to the Fedora 10 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: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-10512

Comment 7 Fedora Update System 2008-12-08 13:02:43 UTC
crontabs-1.10-25.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


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