Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2018 07:20:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226909] net/asterisk15: rc script malfunction
Message-ID:  <bug-226909-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226909

            Bug ID: 226909
           Summary: net/asterisk15: rc script malfunction
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: madpilot@FreeBSD.org
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)

Having run net/asterisk13 with a simple config (nothing fancy) moving to
net/asterisk15 seemed smooth. But there is a very strange behaviour regardi=
ng
the rc script controlling "service asterisk15 restart" and sibblings.

Running net/asterisk15 on CURRENT (12.0-CURRENT #64 r331494: Sat Mar 24
20:31:34 CET 2018amd64).

The weird thing is the following.

On the console of the PBX, type:

[...]
# service asterisk restart
Stopping asterisk.
Asterisk 15.3.0, Copyright (C) 1999 - 2016, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it un=
der
certain conditions. Type 'core show license' for details.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Running as user 'asterisk'
Running under group 'asterisk'
Connected to Asterisk 15.3.0 currently running on gate (pid =3D 995)
gate*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups
Waiting for PIDS: 995
[...]

It seems, the rc script let me jump immediately into Asterisk's console. tr=
ying
to leave the Asterisk 15 console, leaves me in eternity with the "Waiting f=
or
PIDS:  XXX".

I can escape this issue with performing a "core reload". Typing then QUIT or
EXIT performs as expected.

It doesn't matter what "service asterisk"-command I issue, it always jumps =
into
Asterisk's console.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226909-13>