← Back to team overview

touch-packages team mailing list archive

[Bug 1273261] Re: Cryptsetup error during boot: /scripts/local-top/cryptroot: line 1: can't open /dev/mapper/ubuntu--vg-root: no such file

 

It would appear this message comes from:

eval $(fstype < "$NEWROOT")

on line 295 of:

/usr/share/initramfs-tools/scripts/local-top/cryptroot

It seems to be a timing issue. An extra udev_settle seems to fix it:

udev_settle
eval $(fstype < "$NEWROOT")

Then rebuild the initramfs:

update-initramfs -u

To be honest I'm not exactly sure it's udev it's waiting for or whether
this just introduced a delay. I don't expect it to fix much apart from
the message. I still had a bootable system even with the message.

-- 
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/1273261

Title:
  Cryptsetup error during boot: /scripts/local-top/cryptroot: line 1:
  can't open /dev/mapper/ubuntu--vg-root: no such file

Status in cryptsetup package in Ubuntu:
  Confirmed
Status in initramfs-tools package in Ubuntu:
  Confirmed

Bug description:
  While booting cryptsetup outputs following error: /scripts/local-
  top/cryptroot: line 1: can't open /dev/mapper/ubuntu--vg-root: no such
  file, seems to be not related to this particular installation as saw
  the same output on other machines, also seems to be nothing major as
  everything boots fine, so just reporting to let you know it's there.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: cryptsetup 2:1.4.3-4ubuntu4
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Mon Jan 27 15:58:16 2014
  InstallationDate: Installed on 2014-01-18 (8 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  SourcePackage: cryptsetup
  UpgradeStatus: No upgrade log present (probably fresh install)
  crypttab: sda3_crypt UUID=68851a49-83a4-41eb-84c0-27d15280bbc1 none luks

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