[Bug 221271] net/asterisk13: rc script fails on "restart" in some occasions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 6 08:27:12 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221271

            Bug ID: 221271
           Summary: net/asterisk13: rc script fails on "restart" in some
                    occasions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(madpilot at FreeBSD.org)
          Assignee: madpilot at FreeBSD.org

While running net/asterisk13, the rc-script fails to do "restart" properly in
cases where the asterisk daemon is still in progress to startup. It seems the
rc script waits, then loose the track on the asterisk13's PID and then fails to
restart, stop and properly start again. While this, a sterisk daemon is still
running, only to be killed by a kill -9.

How to repeat:

Start asterisk via "service asterisk onestart|start". Immediately, when the
carret is back on the console awaiting new commands, type "service asterisk
onerestart|restart". While the prior asterisk daemon is still in progress of a
startup, the shell is intermediately back then and awaits new commands and it
is possible to restart while the asterisk daemon hasn't finished to start in
the first place.

This leads to a kind of zombie asterisk which can not be stoped or restarted
via the rc system, only by kill -9/kill -KILL.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list