Bug 508

Summary: bug in /etc/rc.d/rc.sysinit
Product: [Retired] Red Hat Linux Reporter: Paul Millar <paulm>
Component: initscriptsAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: paulm
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1998-12-22 16:40:03 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 Paul Millar 1998-12-17 15:02:47 UTC
The default /etc/rc.d/rc.sysinit file contains a section:

if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
    # Get ready for kerneld if module support in the kernel
    echo -n "Finding module dependencies... "
    if [ -e /lib/modules/preferred ]; then
        depmod -a preferred
    else
        depmod -a preferred
    fi
    echo "done"
fi


The second "depmod" line should be just:
        depmod -a


Apologies if this has already be spotted.

Cheers,
Paul.

Comment 1 David Lawrence 1998-12-17 20:55:59 UTC
What version of initscripts is installed on your system?

Find out by doing:

rpm -q initscripts

This problem should be fixed in initscripts-3.67-1 and newer.