Bug 398121

Summary: capiplugin.so uses non-existent libcapi20.so
Product: [Fedora] Fedora Reporter: Christian Krause <chkr>
Component: isdn4k-utilsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-19 14:26:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.