Red Hat Bugzilla – Bug 113370
Postfix config file verification turned off in spec file
Last modified: 2007-11-30 17:07:00 EST
Description of problem:
The postfix spec file explicitly turns off verifying md5sums etc. of
the Postfix config files, which is bad practice IMHO, as it makes it
impossible to check with "rpm -V" if something has been changed.
Version-Release number of selected component (if applicable):
I agree. Done. Actually did a bit of clean up on the whole %files
section trying to let the postfix installation script handle as much
of the ownership, permissions, etc. as possible.
Ownerships sounds a bit scary, as this would mean that the package
can't be build as a non-root user and/or the user postfix needs to
exist on the build machine.
Yes, I realized the problem with that about 5 minutes after I updated
this bugzilla. I really wanted the spec file to key off of what was in
postfix-files as that is the true definition. So I wrote a script that
parses postfix-files and generates a %files list from it so there
would be a perfect match and it would be automated and not dependent
upon hand editing nor failure to notice if something changed upstream.