Package is inherently faulty

Bug #1362888 reported by Michael Bazzinotti on 2014-08-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kamailio (Ubuntu)
Undecided
Unassigned

Bug Description

On ubuntu 14.04 Trusty, the stable package has bugs.

Ok, these bugs I found

/etc/init.d/kamailio: Line 152
replace
"status_of_porc" with "status_of_proc -p"

I would submit a patch, but I'm not accustomed
(sorry I'm not accustomed to submitting patches)

Without this fix, service control is messed up..

Furthermore, when using kamctl to start kamailio, it looks for an alternative PID file.
ie.
$ sudo -u kamailio kamctl start
ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed
a temporary fix:
$ sudo ln -s /var/run/kamailio/kamailio.pid /var/run/kamailio.pid

 It would be nice to see symmetry here inherently, rather than having to hack in symlinks like I have.

For a Kamailio config'd to use MYSQL, starting Kamailio at boot time fails. This may be due to Insserv not installed, LSB ignored afaik. Or maybe because mysql package uses Upstart, some kind of sequencing between init.d and upstart not possible. using etc/init.d sequence levels of 99 01 still failed. I had to make an Upstart wrapper so that Kamailio could run at boot-time after mysql.that is attached below.

description: updated
description: updated
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers