Bug 55540
Summary: | initrd fails with devfs | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Marek Greško <gresko> |
Component: | mkinitrd | Assignee: | Matt Wilson <msw> |
Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | tim_clymo |
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: | 2001-11-18 20:55: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: |
Description
Marek Greško
2001-11-01 19:34:28 UTC
I think this is because nash doesn't play nicely with devfs. Mandrake have done some work on this, and I was able to get it to work by taking their latest Cooker version of the mkinitrd SRPM (mkinitrd-3.1.6-11_8.1mdk.src.rpm). This contains some patches for both nash and the /sbin/mkinitrd script which I applied to the Redhat SRPM (3.2.6-1). A devfs-enabled kernel set to mount /dev now boots very nicely. There is another slight problem - once you've got it started, the next thing you need to do is get it shutdown cleanly and /etc/init.d/halt keeps trying to unmount /dev. This causes the shutdown to hang since /dev doesn't like being unmounted. I'm running initscripts-6.40.2-1, and changed the following: line 29 - from: awk '!/(^#|proc|loopfs|autofs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts to: awk '!/(^#|devfs|proc|loopfs|autofs|^none|^\/dev\/root| \/ )/ {print $2}' /proc/mounts line 181 - from: umount -a -f to: umount -a -f -t nodevfs Perhaps RedHat would like to consider applying the Mandrake fixes for mkinitrd in their own distribution together with this minor fix to initscripts |