[Bug 719563] Re: mountall: fatal error: cannot open /dev/mapper/crypthome_unformatted

Steve Langasek steve.langasek at canonical.com
Thu May 3 18:00:29 UTC 2012


Ok.  That's basically unsupported (and unsupportable), then.  mountall
receives notifications directly from udev when devices become available,
but if you ask it to look for a UUID, that UUID becomes available on the
system before the device is "ready".  The cryptsetup code creates the
device first under a temporary name explicitly, so that it can access
the device and run post-setup checks prior to exposing the device to the
rest of the system.  So the rest of the system *must* not reference the
device by UUID, but by symbolic name instead.

** Changed in: mountall (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: cryptsetup (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/719563

Title:
  mountall: fatal error: cannot open /dev/mapper/crypthome_unformatted

Status in “cryptsetup” package in Ubuntu:
  Won't Fix
Status in “mountall” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: mountall

  I have upgraded from Maverick to Natty yesterday, while there are
  still some (apparently irrelevant) packages pending.

  I am using cryptsetup and after entering the passphrase for my crypthome device (where keys for other devices are stored), I am getting a fatal error from mountall (translated from German):
    fsck.ext4: file/dir not found when trying to access /dev/mapper/crypthome_unformatted - Possibly non-existent device?
    mountall: fsck /home [$ID] exited with code 8
    mountall: fatal fsck error: /home

  Then it says that /root is still not mounted, which resides on /home,
  and nothing happens anymore.

  I can fix this using the "M"anual recovery, and doing the following:
  1. mount /home
  2. start every cryptdisk device using cryptdisk_start (necessary for all of them except crypthome)
  3. mount -a
  4. ctrl-d
  --- 
  Architecture: i386
  DistroRelease: Ubuntu 11.04
  NonfreeKernelModules: nvidia
  Package: mountall 2.21
  PackageArchitecture: i386
  ProcEnviron:
   LANGUAGE=de_DE:de:en_US:en_GB:en
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/zsh
  ProcVersionSignature: Ubuntu 2.6.38-3.30-generic 2.6.38-rc4
  Tags: natty
  Uname: Linux 2.6.38-3-generic i686
  UserGroups: adm admin audio cdrom dialout dip floppy fuse libvirtd lpadmin plugdev pulse sambashare sbuild scanner src video

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/719563/+subscriptions




More information about the foundations-bugs mailing list