#1 Don't update timestamp to mess with rpm verify needlessly.
Merged 5 years ago by kasong. Opened 5 years ago by maage.
rpms/ maage/kexec-tools timestamp  into  master

file modified
+1 -1
@@ -294,7 +294,7 @@ 

  %{_sysconfdir}/makedumpfile.conf.sample

  %endif

  %config(noreplace,missingok) %{_sysconfdir}/sysconfig/kdump

- %config(noreplace,missingok) %{_sysconfdir}/kdump.conf

+ %config(noreplace,missingok) %verify(not mtime) %{_sysconfdir}/kdump.conf

  %ifnarch s390x

  %config %{_udevrulesdir}

  %{_udevrulesdir}/../kdump-udev-throttler

I'm reviewing rpm verify differencies and this kexec-tools /etc/kdump.conf timestamp bugs me because there is no way to fix it currently. With this patch install does not change /etc/kdump.conf timestamp if file does exist.

Actually this in on purpose. If /etc/kdump.conf's timestamp changed, kdump service will rebuild the initramfs on restart, so we update the timestamp on install and the initramfs will contain latest changes.
How is this troubling you? There could be some other way to fix it.

rebased onto 65807d9

5 years ago

Okay, I found another way to silence:
rpm -V kexec-tools
just by adding info about that into files attributes in spec.

I've updated my patch against latest master I hope.

My main issue is with packages where there is some files listed after clean install when you run: rpm -V

For example it is for kdump-exec:
.......T. C /etc/kdump.conf

Pull-Request has been merged by kasong

5 years ago