Re: Building/loading dahdi from asterisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,

On Sun, Jul 19, 2015 at 11:04 AM, Bruno Wolff III <bruno@xxxxxxxx> wrote:
> On Sat, Jul 18, 2015 at 19:21:37 -0400,
>  Alex <mysqlstudent@xxxxxxxxx> wrote:
>>
>>
>> I'm really stuck with getting asterisk started. I've built and install
>> the dahdi asterisk modules, but they don't load automatically on boot.
>>
>> The asterisk-dahdi package includes /etc/rc.d/init.d/dahdi which runs
>> "/bin/systemctl start dahdi.service" but it fails to load the modules.
>
> I have been seeing this for a while, but haven't figured out what change
> caused it.

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.
Alex
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux