Red Hat Bugzilla – Bug 146152
/usr/sbin/ptal-init references /etc/modules.conf, needs to reference /etc/modprobe.conf for 2.6 kernel
Last modified: 2008-08-02 19:40:32 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. read the script
Actual Results: script will fail when running on 2.6 kernel when
effected subs are called due to incorrent file name.
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.
That script is no longer shipped in FC5 since the HPLIP update.