[Pkg-utopia-maintainers] Bug#469528: postinst fails when upgrading (Connection refused)

Michael Biebl biebl at debian.org
Fri Feb 19 14:22:17 UTC 2010


Josselin Mouette wrote:
> Package: hal
> Version: 0.5.14-1
> Severity: normal
> 
> Same here.
> 
> A precision that might be useful to track down this bug. The reason why
> the postinst fails is that there is a hal process remaining after the
> upgrade. A call to "invoke-rc.d hal stop" fails to kill this process, so
> a new one won’t be able to start. A mere kill is sufficient to be able
> to finish the upgrade.
> 
> Maybe the init script needs to be made more aggressive in case a hal
> process not referenced in the pidfile is still running.

Joss, your particular issue should be fixed in -2.

hal (0.5.14-2) unstable; urgency=low

  * debian/hal.init
    - Source the lsb init-functions after checking if the daemon exists.
    - Make directory containing the pid file world readable. (Closes: #562915)
  * debian/patches/15-probe-input-segfault-fix.patch
    - Initialize error structure before using it to avoid segfault in
      hald-probe-input. (Closes: #562068)
      Thanks to Sebastian Andrzej Siewior for the patch.
  * debian/hal.postinst
    - When upgrading from lenny, make sure to kill any running hald daemon
      before trying to start the new one. The pid file can be missing or
      outdated and trying to start hal will fail otherwise. (Closes: #561505)
    - Cleanup /var/run/hal and /var/lib/hal on upgrades.
    - When being triggered to regenerate the hal fdi-cache, only restart hal
      if it is actually running.
  * debian/hal.dirs
    - Remove /var/lib/hal directory, it is no longer used.

 -- Michael Biebl <biebl at debian.org>  Thu, 28 Jan 2010 00:33:49 +0100


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100219/96255dc7/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list