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

Russ Meyerriecks (JIRA) noreply at issues.asterisk.org
Mon Dec 30 11:33:03 CST 2013


    [ https://issues.asterisk.org/jira/browse/DAHTOOL-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213365#comment-213365 ] 

Russ Meyerriecks commented on DAHTOOL-65:
-----------------------------------------

Works correctly in centos 6.2, modinfo chooses actual module first, instead of subdirectory. Tzafrir reported it working correctly in debian stable as well.
                
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list