if devtmpfs unavailable, system will probably fail to boot.

Bug #870031 reported by James Hunt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

/usr/share/initramfs-tools/init does this:

if ! mount -t devtmpfs -o mode=0755 udev /dev; then
    echo "W: devtmpfs not available, falling back to tmpfs for /dev"
    mount -t tmpfs -o mode=0755 udev /dev
    ...

fi

Later, /usr/share/initramfs-tools/scripts/init-bottom/udev does this:

mount -n -o move /dev ${rootmnt}/dev

However, if devtmpfs is unavailable and /dev is mounted with tmpfs, attempting to move it to the real root device will fail with:

mount: /dev is not a block device

This will likely cause the boot to fail since /dev being unavailable is bad....

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: initramfs-tools 0.99ubuntu7
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu2
Architecture: i386
Date: Fri Oct 7 15:14:37 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to oneiric on 2011-09-25 (12 days ago)

Revision history for this message
James Hunt (jamesodhunt) wrote :
Revision history for this message
dino99 (9d9) wrote :

This version has expired

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.