Bug 22226 - "rpm -V pine" could ignore the generated diffs in /etc/pine.conf (through the use of filterpineconf)
Summary: "rpm -V pine" could ignore the generated diffs in /etc/pine.conf (through the...
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: pine (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: viy
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on: 22225
Blocks:
  Show dependency tree
 
Reported: 2009-11-09 18:41 MSK by Ivan Zakharyaschev
Modified: 2013-01-19 22:39 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.