Bug 3003
| Summary: | rc.sysinit is broken in a really dumb way. | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Peter Jones <pjones> |
| Component: | initscripts | Assignee: | David Lawrence <dkl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 1999-05-24 15:27:14 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: | |||
This patch makes the /lib/modules/default and /lib/modules/preferred stuff actually work. already fixed in the latest initscripts... |
--- /etc/rc.d/rc.sysinit.old Mon May 24 11:05:53 1999 +++ /etc/rc.d/rc.sysinit Mon May 24 11:06:19 1999 @@ -174,9 +174,9 @@ mver=`uname -r` else ktag="`cat /proc/version`" - mtag=grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null + mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null` if [ -n "$mtag" ]; then - mver=echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,' -e 's,[ ].*$,,' + mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,' -e 's,[ ].*$,,'` fi if [ -n "$mver" ]; then ln -sf /lib/modules/$mver /lib/modules/default