Description of problem: Cron mail every hour: ==> /etc/cron.hourly/0anacron: anacron: Can't chdir to /var/spool/anacron: No such file or directory <== Version-Release number of selected component (if applicable): cronie-anacron-1.4-3.fc12.x86_64 Should that directory just be created at build time and listed in the RPM manifest?
Should be fixed in cronie-1.4.1
When I upgrade to that I get: # rpm -Fvh cronie-* Preparing... ########################################### [100%] 1:cronie ########################################### [ 50%] touch: cannot touch `/var/spool/anacron/cron.daily': No such file or directory touch: cannot touch `/var/spool/anacron/cron.weekly': No such file or directory touch: cannot touch `/var/spool/anacron/cron.monthly': No such file or directory warning: %post(cronie-1.4.1-1.fc12.x86_64) scriptlet failed, exit status 1 2:cronie-anacron ########################################### [100%] Expected?
It should be fixed in cronie-1.4.1-2.fc12. The commands belong to cronie-anacron %post script and not to the cronie %post script.
Yes, works fine with 1.4.1-2.fc12. Thanks.
*** Bug 517594 has been marked as a duplicate of this bug. ***