Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Yavor Doganov
Michael Biebl wrote: > Am 29.01.25 um 15:08 schrieb Yavor Doganov: > > Also, shouldn't this code snippet be in prerm instead of preinst > > (and only applicable for the "upgrade" action)? > > You can't retroactively add code to existing packages. Can you be more > specific, why you want to add tha

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Michael Biebl
Am 29.01.25 um 15:08 schrieb Yavor Doganov: Michael Biebl wrote: Am 29.01.25 um 14:36 schrieb Yavor Doganov: Since the old postinst runs "hostname -i" (bad idea, I know) I guess the file is going to be different across various systems, depending on the configuration. What you could do then,

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Yavor Doganov
Michael Biebl wrote: > Am 29.01.25 um 14:36 schrieb Yavor Doganov: > > Since the old postinst runs "hostname -i" (bad idea, I know) I > > guess the file is going to be different across various systems, > > depending on the configuration. > What you could do then, is to generate the list of known h

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Michael Biebl
Am 29.01.25 um 14:47 schrieb Michael Biebl: Hi Am 29.01.25 um 14:36 schrieb Yavor Doganov: Michael Biebl wrote: I'm not a aware of a good way to turn a postinst generated configuration file into a proper conffile, but one thing you could do is store a hash (or a list of known hashes) of the

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Michael Biebl
Hi Am 29.01.25 um 14:36 schrieb Yavor Doganov: Michael Biebl wrote: I'm not a aware of a good way to turn a postinst generated configuration file into a proper conffile, but one thing you could do is store a hash (or a list of known hashes) of the postinst generated configuration file and rem

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Yavor Doganov
Michael Biebl wrote: > Package: gnustep-base-runtime Thanks for the report! > Configuration file '/etc/GNUstep/gdomap_probes' > ==> File on system created by you or by a script. > ==> File also in package provided by package maintainer. > This is unfortunate, as this will affect every user on

Bug#1094636: dpkg conffile modified warnings on upgrades

2025-01-29 Thread Michael Biebl
Package: gnustep-base-runtime Version: 1.30.0-11 Severity: important Hi, during todays upgrade, I got the following dpkg prompt: Setting up gnustep-base-runtime (1.30.0-11) ... Configuration file '/etc/GNUstep/gdomap_probes' ==> File on system created by you or by a script. ==> File also in p