Activity log for bug #1362888

Date Who What changed Old value New value Message
2014-08-29 01:51:14 Michael Bazzinotti bug added bug
2014-08-29 01:56:52 Michael Bazzinotti description 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 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. /var/run/kamailio.pid rather than /var/run/kamailio/kamailio.pid like /etc/init.d. It would be nice to see symmetry here inherently, rather than having to hack in symlinks like I have.
2014-08-29 01:59:59 Michael Bazzinotti description 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. /var/run/kamailio.pid rather than /var/run/kamailio/kamailio.pid like /etc/init.d. It would be nice to see symmetry here inherently, rather than having to hack in symlinks like I have. 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.
2014-08-31 10:36:50 Michael Bazzinotti description 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. 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.
2014-08-31 10:51:38 Michael Bazzinotti attachment added Upstart wrapper script for MYSQL startup compatibility https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1362888/+attachment/4191482/+files/kamailio.conf
2014-08-31 10:55:36 Michael Bazzinotti 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. 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.