Bug 146152 - /usr/sbin/ptal-init references /etc/modules.conf, needs to reference /etc/modprobe.conf for 2.6 kernel
Summary: /usr/sbin/ptal-init references /etc/modules.conf, needs to reference /etc/mod...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hpoj
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-25 18:24 UTC by Paul F. Almquist
Modified: 2008-08-02 23:40 UTC (History)
1 user (show)

Fixed In Version: FC5
Clone Of:
Environment:
Last Closed: 2006-07-11 12:41:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paul F. Almquist 2005-01-25 18:24:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
/usr/sbin/ptal-init, a perl script, references hard coded file name
"/etc/modules.conf".  It needs to reference /etc/modprobe.conf for 2.6
kernel.  Perhaps set a variable to the proper name based on the kernel
in use and reference the variable instead of using a literal value.

/etc/modules.conf appears in 4 places (3 in code, 1 in a comment)

This will bite someone some day but I did not encounter a problem with
this as it appears to be related to USB devices only.  My OfficeJet
R40 is a parallel port only device.

This script needs a lot more comments to document what is going on. 
It does not seem to be well organized.  Lot of little subs.  Lack of
precision in names of some subs also.

Printing was working ok but xsane would not recognize the R40 scanner
until after I installed libsane-hpoj-0.91-9.i386.rpm and ran "service
hpoj setup"

Version-Release number of selected component (if applicable):
hpoj-0.91-9

How reproducible:
Always

Steps to Reproduce:
1. read the script
2.
3.
    

Actual Results:  script will fail when running on 2.6 kernel when
effected subs are called due to incorrent file name.

Additional info:

Comment 1 Matthew Miller 2006-07-10 20:41:13 UTC
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!


Comment 2 Tim Waugh 2006-07-11 12:41:28 UTC
That script is no longer shipped in FC5 since the HPLIP update.


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