[MacPorts] #22872: aiccu - daemondo automatically restarts it, the reason why it exists is because something is broken.....
MacPorts
noreply at macports.org
Tue Mar 28 14:08:01 UTC 2017
#22872: aiccu - daemondo automatically restarts it, the reason why it exists is
because something is broken.....
-----------------------+--------------------
Reporter: jeroen@… | Owner: danchr
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: fixed | Keywords:
Port: aiccu |
-----------------------+--------------------
Changes (by danchr):
* owner: => danchr
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2ece73c5c3fcffebe5a1389632c778d812c96df8/macports-ports"
2ece73c5c3fcffebe5a1389632c778d812c96df8/macports-ports]:
{{{
#!ConfigurableCommitTicketReference repository="macports-ports"
revision="2ece73c5c3fcffebe5a1389632c778d812c96df8"
aiccu: implement reconnection when interface address changes
The upstream author originally filed ticket 22872, complaining that
AICCU should never, ever run under a job manager and just stay alive
forever. Ryan Schmidt eventually addressed this by disabling said
startup item.
In the same bug, however, a user reported that AICCU did, in fact,
fail under some circumstances; when changing networks. A bit of
investigation found that the cause of this that on macOS, sockets
bound to a wildcard UDP port actually get an IP address assigned
internally. If the computer later switches networks and loses that
address, all subsequent reads fail with EADDRNOTAVAIL. I've added a
patch that addresses this by detecting this error and reestablishing
the connection.
Under normal circumstances, package maintainers shouldn't fix bugs in
upstream code, without at the very least having upstream accept the
fix. However, upstream has effectively abandoned the port; I posted a
patch to their forum a year ago, and received no reply. Not even from
the maintainer of the port, so I've taken the liberty of adopting it.
(Anyway, the port itself is somewhat esoteric: it's for an IPv6
tunneling service that no longer accepts new sign-ups.)
Closes: https://trac.macports.org/ticket/22872
}}}
--
Ticket URL: <https://trac.macports.org/ticket/22872#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list