Yes, I am running that version of asterisk. I am no longer reproducing the bug. Some failures I had shutting down (using this script) turned out to be hung AGI processes. But I think that would be another bug.
I don't think my patch is necessary after all. Sorry about that. The fix was needed to get me out of the aftermath of bug #47813. In fact, the last if statement is nonsensical, since it checks that the file is readable, and then chowns it, when in fact it would have to check that the file is not readable. But that would be problematic as well, since then the user wouldn't likely have the right to chown the file. Also, as you state, the fix is intended also to accomodate moving the PIDFILE. Since this should never happen, that is not a needed coding practice. [on an aside, what would be helpful would be if more linux programs would clearly notify permissions problems rather than failing with bizarre errors!] Feel free to close this out. -- /etc/init.d/asterisk cannot start because of permissions https://launchpad.net/bugs/57572 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs