Bug 146057 - isdn script do not test for 2.6.x kernel module
isdn script do not test for 2.6.x kernel module
Status: CLOSED RAWHIDE
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: isdn4k-utils (Show other bugs)
4.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
David Lawrence
:
Depends On:
Blocks: 160675
  Show dependency treegraph
 
Reported: 2005-01-24 19:03 EST by Uwe Beck
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-17 11:42:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch for /etc/rc.d/init.d/isdn script (448 bytes, patch)
2005-01-24 19:04 EST, Uwe Beck
no flags Details | Diff

  None (edit)
Description Uwe Beck 2005-01-24 19:03:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
Names of 2.6.x kernel modules are *.ko.
The test in /etc/rc.d/init.d/isdn srcipt should be for a *.ko module.
The patch in attachment will fix this mistake.


Version-Release number of selected component (if applicable):
isdn4k-utils-3.2-18.p1.1

How reproducible:
Always

Steps to Reproduce:
1. use isdn with the kernel module in the isdn script
2.
3.
    

Actual Results:  test can never find the kernel module because the
name is false for 2.6.x kernel modules

Expected Results:  correct name for 2.6.x kernel module in isdn script

Additional info:
Comment 1 Uwe Beck 2005-01-24 19:04:49 EST
Created attachment 110175 [details]
patch for /etc/rc.d/init.d/isdn script
Comment 2 Ngo Than 2005-01-25 04:54:29 EST
it's now fixed in isdn4k-utils-3.2-22, the new one will be available
in rawhide soon. The module isdn_lzscomp.ko is default disable in
RHEL4, and so this problem will never appear in this case.

I wont do update for RHEL4. Many thanks for your report.
Comment 3 Uwe Beck 2005-02-01 19:27:34 EST
Now there is an other mistake in /etc/rc.d/init.d/isdn in line:

if [ -f $isdn_path/isdn_lzscomp.o -o -f $$isdn_path/isdn_lzscomp.ko ]
;  then

The correct syntax is:
if [ -f $isdn_path/isdn_lzscomp.o -o -f $isdn_path/isdn_lzscomp.ko ] ;
then

Then it works in RHEL4_BETA2 and I think also in FC. My test is only
in RHEL4.

Comment 4 Ngo Than 2005-02-02 04:48:55 EST
the typo bug is now fixed in 3.2-23. Thanks for your report.
Comment 8 Issue Tracker 2007-06-20 05:20:33 EDT
Internal Status set to 'Resolved'
Status set to: Closed by Client
Resolution set to: 'Closed by Client'

This event sent from IssueTracker by Uwe Beck 
 issue 63952

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