Bug 508 - bug in /etc/rc.d/rc.sysinit
bug in /etc/rc.d/rc.sysinit
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1998-12-17 10:02 EST by Paul Millar
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1998-12-22 11:40:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Paul Millar 1998-12-17 10:02:47 EST
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 15:55:59 EST
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.

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