← Back to team overview

touch-packages team mailing list archive

[Bug 870031] Re: if devtmpfs unavailable, system will probably fail to boot.

 

This version has expired

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/870031

Title:
  if devtmpfs unavailable, system will probably fail to boot.

Status in initramfs-tools package in Ubuntu:
  Invalid

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/870031/+subscriptions