At initial package installation time (some time ago), the postinst
determined that my primary interface was enp3s0. That was written to
/etc/default/minissdpd *and* recorded in debconf:

    * minissdpd/listen: enp3s0

Later on my network config changed and enp3s0 was no longer correct, I
manually fixed /etc/default/minissdpd (to br0) and moved on (as per the
discussion in #1033479 up to now).

Yesterday, upon upgrading to Bookworm (1.5.20190824-1 -> 1.6.0-1), the
postinst ran and overwrote my corrected /etc/default/minissdpd with the
older, invalid value.

I'm not sure (yet) whether the postinst re-calculated the (wrong) value
of enp3s0, or read the old value. In the latter case, I don't think it's
reasonable to expect a user to correct the value in the debconf DB as
well as the /etc conf-file. And in either case, I do not think that the
postinst should overwrite a manually specified user configuration in a
conf-file in /etc.


--
👱🏻      Jonathan Dowland
✎        j...@debian.org
🔗       https://jmtd.net

Reply via email to