thiru thiru - 1 year ago 190
Linux Question

rpm verify - ignore config files


man rpm

rpm {-V|--verify} [select-options] [verify-options]

Files that have been changed after installation will be listed by this rpm verify command.

But this lists the configuration files also (files that are marked with
in this

Is there a way to skip/ignore the verification for the

Answer Source

yes and no:

  • I don't know any method for ignoring some files with rpm -V
  • But in your spec file you can add verify attributes for some files to specify how they should be verified.

This way you could specify for example to check only the owner and group of your config file:

%verify(owner group) /path/to/your/config-file

for further reference; look here:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download