Description of problem: rpm -V for smolt always fails verification Version-Release number of selected component (if applicable): 1.4.2.2-3.fc14 How reproducible: Install smolt package and run "rpm -V smolt" Steps to Reproduce: 1. run "rpm -V smolt" 2. Observe the output to be: S.5....T. /etc/cron.d/smolt Actual results: S.5....T. /etc/cron.d/smolt Expected results: No output i.e. the rpm -V should finish without any messages/errors Additional info:
This is by design, the cron job is randomly generated (which cannot be done pre-install)
If the cron job is generated randomly, then why should the "rpm -V" command try to verify /etc/cron.d/smolt ? I believe the smolt rpm package needs to be fixed
rpm -V checks every file it knows about. it knows about /etc/cron.d/smolt because the smolt package creates it. When you remove the smolt package /etc/cron.d/smolt goes with it. Smolt alters /etc/cron.d/smolt on install for the reasons described above. Smolt is not the only package that does this, not even close. I suspect rpm -V doesn't do what you're expecting it to do or what you're using it for. Perhaps look at a program like aide.
You are right that smolt is not the only package which creates a file and modifies it at the install time. I believe "kernel" package is the classic example of such a package. It creates initramfs in /boot but modifies it at install time. The rpm -V never complains about initramfs file. Then what different does "kernel" rpm has which "smolt" has missing If the solution doesn't lie with smolt package maintainer, then I believe this bug must be redirected to fedora rpm maintainers
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
(In reply to comment #4) > Then what > different does "kernel" rpm has which "smolt" has missing You're looking for %verify(not filedigest size link mtime). However, mutating the file in-place is not nice design. Better would be to generate it from a separate template either embedded in the scriptlet or packaged in another file like /usr/share/smolt/crontab.in and then declare /etc/cron.d/smolt as %ghost.
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping