Building/loading dahdi from asterisk

Bruno Wolff III bruno at wolff.to
Mon Jul 20 01:55:06 UTC 2015


On Sun, Jul 19, 2015 at 21:21:42 -0400,
  Alex <mysqlstudent at gmail.com> wrote:
>
>I figured it out, but it's really weird.
>
>The file /etc/init.d/functions contains a bunch of shell script
>functions, of course. However, it runs one of those functions called
>strstr() and checks to see if /proc/cmdline contains "rc.debug". If it
>doesn't, it returns 1, and apparently the dahdi script doesn't
>anticipate that, and just exits.
>
>If someone can confirm my logic is correct, I'll open a bug report. In
>the meantime, commenting out that last line of /etc/init.d/functions,
>where strstr() is called, fixes it.
>
>#strstr "$(cat /proc/cmdline)" "rc.debug" && set -x
>
>Thanks for any ideas.

That's helpful, and I recommend going ahead with the bug report.
Really the init scripts should get converted to systemd, but in the short 
run it would be nice to get it working again.

Thanks for looking into this.


More information about the users mailing list