Bug 22226

Summary: "rpm -V pine" could ignore the generated diffs in /etc/pine.conf (through the use of filterpineconf)
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: pineAssignee: viy <viy>
Status: NEW --- QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P3 CC: mike
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 22225    
Bug Blocks:    

Description Ivan Zakharyaschev 2009-11-09 18:41:24 MSK
pine-4.64L-alt6

After the installation of the package, verification detects changes:

$ rpm -V pine
S.5....T c /etc/pine.conf
$ 

This is due to the generation of /etc/pine.conf with comments and such that would incorporate the old config file (with possibly some changes done by the administrator).

When doing "rpm -V", the verifyscript should ignore the non-substantial differences (comments, order) in order to be more informative.

Either the verifyscript could use filterpineconf. 

Or the package could include an already expanded version of /etc/pine.conf (generated from the concise packager's intentions with comments): then "rpm -V" wouldn't show anything if the configuration wasn't modified. The short source pine.conf cpuld be put into /usr/share/doc then, so that one can study the packager's intentions in concise form.
Comment 1 viy 2009-11-09 18:52:31 MSK
just resubmit your gpg and rsa/dsa 
more details on
key http://www.altlinux.org/%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D0%B4%D1%83%D1%80%D0%B0_%D0%BF%D1%80%D0%B8%D0%BD%D1%8F%D1%82%D0%B8%D1%8F_%D0%B2_Team

like I did for repocop
https://bugzilla.altlinux.org/show_bug.cgi?id=22132

and I gladly give you the package.
Comment 2 viy 2009-11-09 18:53:25 MSK
> and I gladly give you the package.
we already discussed this, remember?
Comment 3 Michael Shigorin 2013-01-19 22:35:00 MSK
(В ответ на комментарий №0)
> When doing "rpm -V", the verifyscript should ignore the non-substantial
> differences (comments, order) in order to be more informative.
Didn't know of this feature but still FRs like this look better with a patch. :)
Comment 4 Michael Shigorin 2013-01-19 22:39:45 MSK
Если правильно понимаю http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html#S2-RPM-INSIDE-VERIFYSCRIPT-SCRIPT в части "Since RPM automatically verifies the existence of a package's files, along with other file attributes, the %verifyscript should concentrate on different aspects of the package's installation" -- это NOTABUG.