[asterisk-bugs] [JIRA] (DAHTOOL-65) modinfo dahdi fails when run from /etc on centos 5

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Mon Feb 22 09:55:56 CST 2016


     [ https://issues.asterisk.org/jira/browse/DAHTOOL-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tzafrir Cohen closed DAHTOOL-65.
--------------------------------

    Resolution: Fixed

Why does an init script run from /etc ? I have not encountered this with the standard init script.

Closing this issue as a solution was proposed and there has been no progress since.

> modinfo dahdi fails when run from /etc on centos 5
> --------------------------------------------------
>
>                 Key: DAHTOOL-65
>                 URL: https://issues.asterisk.org/jira/browse/DAHTOOL-65
>             Project: DAHDI-Tools
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>         Environment: Centos 5. Issue in modprobe seems to have been fixed in Centos 6.
>            Reporter: Tzafrir Cohen
>            Assignee: Russ Meyerriecks
>            Severity: Minor
>
> The dahd init script may use the commands 'modinfo dahdi' or 'modprobe dahdi'.
> Those commands will fail if the user is in a directory that has a subdirectory called 'dahdi'.
> My workaround is to try instead (cd /sys; modinfo dahdi) . But is /sys guaranteed to exist? I don't want to assume that the system will not have the directory /dahdi . Any better fix?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list