About cron files and rpmlint

Miloslav Trmač mitr at volny.cz
Wed Feb 20 12:29:17 UTC 2013


On Tue, Feb 19, 2013 at 3:43 PM, Sergio Belkin <sebelk at gmail.com> wrote:
> Hi, rpmlint complains about cron files, is that a bug?
>
> For example:
>
> tmpwatch.x86_64: E: executable-marked-as-config-file
> /etc/cron.daily/tmpwatch
> Executables must not be marked as config files because that may prevent
> upgrades from working correctly. If you need to be able to customize an
> executable, make it for example read a config file in /etc/sysconfig.

Fairly often it is a bug.  In the case of tmpwatch, this was done
because there we no good options, see
https://bugzilla.redhat.com/show_bug.cgi?id=742471 .
    Mirek


More information about the devel mailing list