[Pkg-haproxy-maintainers] haproxy jessie package cannot be upgraded if init.d

Vincent Bernat bernat at debian.org
Wed Feb 1 18:09:06 UTC 2017


 ❦  1 février 2017 18:42 +0100, Ghislain Adnet <gadnet at aqueos.com> :

> we use the package for haproxy of the backports and we encounter issues when we upgrade (here 1.5 to 1.7). The apt-get fail because haproxy
> runs and the apt script say:
>
> if [ -x "/etc/init.d/haproxy" ]; then 
> update-rc.d haproxy defaults >/dev/null 
> invoke-rc.d haproxy start || exit $? 
> fi
>
> as haproxy runs allready it ends with:
>
> [....] Starting haproxy: haproxy/usr/sbin/haproxy already running. 
> failed! 

The start action shouldn't fail when haproxy is already running. Check
your /etc/init.d/haproxy script. It should contain --oknodo as an
argument for start-stop-daemon in haproxy_start. The flag has been added
a long time ago (1.5~dev26-2). Maybe you are using --force-confold when
upgrading?
-- 
A is for Apple.
		-- Hester Pryne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20170201/234c5136/attachment.sig>


More information about the Pkg-haproxy-maintainers mailing list