El Mon, 26 de May 2014 a las 3:22 PM, Joey Hess <joeyh@debian.org> escribió:<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Cameron Norman wrote:
<blockquote> diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init
 index 6f5bb09..b5cecb8 100644
 --- a/autoscripts/postrm-init
 +++ b/autoscripts/postrm-init
 @@ -1,3 +1,5 @@
 +update-rc.d #SCRIPT# disable >/dev/null
 +
  if [ "$1" = "purge" ] ; then
        update-rc.d #SCRIPT# remove >/dev/null
  fi
</blockquote>
This would leave a daemon's links disabled while a package was being
upgraded. Which could result in it not starting if the system were
rebooted at that point. It would also remain disabled if the upgrade
failed.</div></blockquote><div><br></div><div>Would the package's binary also not be installed in those situations, or am I mistaken? Perhaps there is only a small window where this can cause problems, if the upgrade failed in the postinst step before dh_installinit.</div><br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">debhelper is simply copying from policy 9.3.3.1 here. I am very unlikely
to make a change away from what policy says to do.</div></blockquote><div><br></div><div>I see. I will have to go through that process then.</div><div><br></div><div>Thanks for the quick reply,</div><div>--</div><div>Cameron</div>