<div dir="ltr"><div dir="ltr">On Thu, Aug 20, 2020 at 8:55 AM Christian Ehrhardt <<a href="mailto:christian.ehrhardt@canonical.com">christian.ehrhardt@canonical.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Aug 20, 2020 at 12:43 PM Martin Wilck <<a href="mailto:mwilck@suse.com" target="_blank">mwilck@suse.com</a>> wrote:<br>> The simplest approach is to touch the qemu binaries. We discussed this<br>
> already. It has the drawback that it makes "rpm -V" complain about<br>
> wrong timestamps. It might also confuse backup software. Still, it<br>
> might be a viable short-term workaround if nothing else is available.<br>
<br>
Qemu already allows to save modules in /var/run/qemu/ [1] to better handle<br>
module upgrades which is already used in Debian and Ubuntu to avoid<br>
late module load errors after upgrades.<br>
<br>
This was meant for upgrades, but if libvirt would define a known path in<br>
there like /var/run/qemu/last_packaging_change the packages could easily<br>
touch it on any install/remove/update as Daniel suggested and libvirt could<br>
check this path like it does with the date of the qemu binary already.<br>
<br>
[1]: <a href="https://github.com/qemu/qemu/commit/bd83c861c0628a64997b7bd95c3bcc2e916baf2e" rel="noreferrer" target="_blank">https://github.com/qemu/qemu/commit/bd83c861c0628a64997b7bd95c3bcc2e916baf2e</a><br></blockquote></div><div><br></div><div>Earlier in this thread - I think one or two of us had asked about the timestamp on the directory that contains the modules.</div><div><br></div><div>I'm wondering if a "last_packaging_change" provides any value over and above the timestamp of the directory itself? Wouldn't the directory be best - as it would work automatically for both distro packaging as well as custom installs?</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Mielke <<a href="mailto:mark.mielke@gmail.com" target="_blank">mark.mielke@gmail.com</a>><br><br></div></div>