[asterisk-bugs] [JIRA] (DAHTOOL-78) race: both init script and hotplug may configure astribanks at boot time
Tzafrir Cohen (JIRA)
noreply at issues.asterisk.org
Thu Aug 31 11:18:07 CDT 2017
Tzafrir Cohen created DAHTOOL-78:
------------------------------------
Summary: race: both init script and hotplug may configure astribanks at boot time
Key: DAHTOOL-78
URL: https://issues.asterisk.org/jira/browse/DAHTOOL-78
Project: DAHDI-Tools
Issue Type: Bug
Security Level: None
Affects Versions: 2.9.1
Reporter: Tzafrir Cohen
Assignee: Wendell Thompson
Severity: Minor
On systems where auto_assign_spans=0 but the dahdi init script is used, there may be a race between the dahdi init script and scrips run from used from initializing the devices.
An example of such a race may be a T1 Astribank. At the wrong timing of the boot process, the init script may run /usr/share/dahdi/dahdi_auto_assign_compat and it will run 'dahdi_registration -Rv on' before the span types were set on the devices to T1. Thus they will be registered as E1, and the configuration will be all wrong.
One fix is to remove the init script altogether. It has hardly any use. However a patch to dahdi_auto_assign_compat will be posted shortly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list