On Dienstag, 30. März 2021 22:26:53 CEST Carlos E. R. wrote:
On 30/03/2021 22.07, mh@mike.franken.de wrote:
On Dienstag, 30. März 2021 21:26:47 CEST Andrei Borzenkov wrote:
On 30.03.2021 21:21, mh@mike.franken.de wrote: [...] If file is not changed between two package versions it should be left as is. rpmsave/rpmnew are created if file changed in package *and* was modified on disk. As /etc/X11/xdm/Xsetup was not changed in 5 years, this would explain why no rpmsave is created (but then it also should not be replaced). And files in /usr/etc are not intended to be editable, so these files are unconditionally overwritten on update - this is absolutely correct and expected behavior.
Ok, so an rpm does not respect local modifications and is set to overwrite a file without telling anyone about that fact?
No, that is not what he said.
He wrote: "rpmsave/rpmnew are created if file changed in package *and* was modified on disk" So I understand: If the file is modified on disk only, it will be overwritten by the unmodified file from the package and no rpmsave/rpmnew file is created. Did I get that wrong? Bye. Michael.`