Hi Dave,

Thanks for the thoughtful reply!

> After all, if it's simulating a reinstallation, shouldn't it restart
the service? [...]

Usually, yes, I agree it should restart the service. In this specific
postgresql-common case, debian/rules was crafted so a restart would not
happen at this point:

https://salsa.debian.org/postgresql/postgresql-
common/-/blob/master/debian/rules#L27-31

Now, while the test suite regression is only present in Ubuntu (and not
in Debian) due to the dpkg-reconfigure delta, a change of behavior was
also introduced in the upgrade path due to the debhelper change at

https://salsa.debian.org/debian/debhelper/-/commit/742b0c5ac8f4a6cfcd699f08915a8109a5ebec35.

The service, which would be left untouched on postgresql-common
upgrades, will now be stopped on upgrades.

Finally,

> You are certainly correct that [we should add --no-stop-on-upgrade
option to dh_installsystemd?]

This would restore the previous, designed behavior of the package
upgrade path. Still, the preinst script would differ from the Debian
one. Therefore, I filed

https://code.launchpad.net/~athos-ribeiro/ubuntu/+source/postgresql-
common/+git/postgresql-common/+merge/422669

and will also file a Debian bug to include the Debian maintainers in the
discussion before we do introduce the delta here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973382

Title:
  autopkgtests failures due to debhelper 13.6 changes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-common/+bug/1973382/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to