Your message dated Wed, 9 Aug 2023 11:36:22 -0700
with message-id <[email protected]>
and subject line Re: debhelper: dpkg-reconfigure doesn't restart 
--no-restart-after-upgrade services
has caused the Debian Bug report #1010677,
regarding debhelper: dpkg-reconfigure doesn't restart 
--no-restart-after-upgrade services
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1010677: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010677
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 13.7.1
Control: affects -1 slapd

Hi Niels, hi Dave (in X-D-CC),

In #994204, Dave wrote:

I think it may be preferable to instead move the stop behaviour to the "preinst" script of the *new* version of the package so that both stop and start behaviours are encapsulated in a *single* version of the package (and hence can be freely moved between). This also means that "postinst" script's prior behaviour can be restored.

There's one issue with this: dpkg-reconfigure. It runs these scripts:

1. prerm upgrade
2. config reconfigure
3. postinst configure

The autoscripts now stop the service in "prerm remove" and "preinst upgrade". Unfortunately this means dpkg-reconfigure no longer restarts the service and the config changes are not applied.

I don't know what to suggest. I like Dave's solution for upgrades. Maybe dpkg-reconfigure should also run "preinst upgrade"? but I'm reluctant to suggest any change there, since its current behaviour has been stable for almost 20 years...

thanks,
Ryan

--- End Message ---
--- Begin Message ---
Version: 1.5.80

This was a duplicate of #1006147, fixed in 1.5.80.

--- End Message ---

Reply via email to