Bug 855894 - cron daemon does not ignore rpmnew/rpmsave files
Summary: cron daemon does not ignore rpmnew/rpmsave files
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cronie
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-10 14:42 UTC by Paul Wouters
Modified: 2013-01-02 14:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-02 14:32:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Paul Wouters 2012-09-10 14:42:48 UTC
Description of problem:

when someone changes a cron job shipped in a package in /etc/cron*, and an update happens, there is now either an rpmsave or rpmnew file in addition to the cron file itself, resulting in TWO files executing almost identical content at likely the identical time - causing various problems

Is it possible to ensure rpmsave/rpmnew files are never actually executed by cron

Comment 1 Marcela Mašláňová 2012-11-22 12:30:19 UTC
Are you sure? I created job.rpmnew file and it wasn't executed.

There is cron option permit all jobs. Don't you have in config option -p?
cat /etc/sysconfig/crond

I can't reproduce it, so please give me better reproducer.


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