Marking files in /etc/cron.* as %config

Jesse Keating jkeating at redhat.com
Mon Mar 17 14:37:25 UTC 2008


On Mon, 2008-03-17 at 10:29 -0400, David Mansfield wrote:
> 
> Specifically to awstats: I have had to modify the cron.d script in order
> to add environment variables necessary for some further customizations
> we had made to the config for a few sites.
> 
> In general, I think the 'executableness' of these is irrelevant: they
> are config files and should be marked so in rpm.  All files that could
> conceivable be edited in /etc should be marked as config IMHO, and all
> OTHER files should be removed from etc.  cf some previous discussion on
> the hal/freedesktop files: they were moved to /usr because people kept
> editing them and getting screwed.

FWIW I feel that awstats cron job should just be executing a script
somewhere else, and that somewhere else would read config files from
standard locations that are then marked as %config.  The config and the
execution should not be in the same file.  Makes it very difficult to
change the file over time without upsetting local configuration.

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080317/514475b2/attachment.sig>


More information about the fedora-devel-list mailing list