Bug 398121 - capiplugin.so uses non-existent libcapi20.so
Summary: capiplugin.so uses non-existent libcapi20.so
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: isdn4k-utils
Version: 9
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-25 03:19 UTC by Christian Krause
Modified: 2009-01-19 14:26 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-19 14:26:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christian Krause 2007-11-25 03:19:14 UTC
Description of problem:
when using "plugin capiplugin" to access ISDN modems, pppd crashs:
-----------------------------
Plugin userpass.so loaded.
userpass: $Revision: 1.5 $
Plugin capiplugin.so loaded.
capiplugin: $Revision: 1.36 $
capiconn:  1.13 
Couldn't load shared library libcapi20.so
libcapi20.so: cannot open shared object file: No such file or directory
Couldn't load shared library libcapi20.so
libcapi20.so: cannot open shared object file: No such file or directory
scripts/ppp-on: line 3:  2886 Segmentation fault   
-------------------------------

Version-Release number of selected component (if applicable):
ppp: 2.4.4
isdn4k-utils: 3.2-54.fc7

How reproducible:
100%

Steps to Reproduce:
1. configure a ppp peer with "plugin capiplugin.so"
2. start pppd

  
Actual results:
crash (see above)

Expected results:
no crash ;-)

Additional info:
The reason is a bug in isdn4k-utils package:

The capiplugin (/usr/lib/pppd/2.4.4/capiplugin.so from isdn4k-utils package)
tries to load libcapi20.so (most likely via dlopen). Unfortunately isdn4k-utils
does only include:
/usr/lib/libcapi20.so.3
/usr/lib/libcapi20.so.3.0.4 .
The required libcap20.so file is only available in the isdn4k-utils-devel package.

So there is a workaround: just install the devel package. ;-)

A short-term solution could be to put the *.so link into the isdn4k-utils
package itself.

If it would be better to let the capiplugin.so dlopen the the libcapi20 using
the long name (libcap20.so.3) or something like this I'm not 100% sure.

I'm setting the severity to high because it is (from a high level point of view)
a crash/segfault.

Comment 1 Christian Krause 2007-12-30 18:36:19 UTC
Any news regarding this issue? It looks like that the same problem is also in F8
and RAWHIDE. Is there anything I can do to help to fix the problem?

Regards,
Christian

Comment 2 Christian Krause 2008-05-04 15:25:06 UTC
Unfortunately the problem is still in current RAWHIDE / upcoming F9. I'm setting
the version to RAWHIDE...

Comment 3 Bug Zapper 2008-05-14 03:59:21 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Than Ngo 2009-01-19 14:26:27 UTC
it's fixed in isdn4k-utils-3_2-62_fc11.


Note You need to log in before you can comment on or make changes to this bug.