[Bug 1237556] Re: cryptsetup removed from initrd.img on upgrade to 13.10

Steve Langasek steve.langasek at canonical.com
Mon Mar 17 01:16:13 UTC 2014


On Sun, Mar 16, 2014 at 11:52:11PM -0000, Andres Gomez wrote:
> It actually is a bug in Ubuntu because:

> 1. The /etc/crypttab was autogenerated during the installation. I never
> touched it before.  The warning was always there.

In that case, it would be a bug in whatever method you used to install
Ubuntu, yes.  Please provide us details on how you installed Ubuntu, so we
can reproduce this error.

> 2. A WARNING,  in a file that actually has 1 valid cryptsetup line
> shouldn't lead to NOT including the cryptsetup tool in the initrd image. 

Yes, it should.  It was a bug that we were unconditionally installing
cryptsetup to the initramfs before for all users that had cryptsetup
installed, bloating the initramfs and slowing down their boot.  This bug has
now been *fixed*, and in the process it has exposed a problem with your
system.  That may, as you say, also be a bug in the Ubuntu installer; but
that is NOT grounds for restoring the previous buggy behavior.

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

Title:
  cryptsetup removed from initrd.img on upgrade to 13.10

Status in “cryptsetup” package in Ubuntu:
  Invalid

Bug description:
  After an apparently successful upgrade from 13.04 to 13.10 (Kubuntu), reboot was requested. My computer failed to boot. Error:
  /scripts/local-top/cryptroot: line1: /sbin/cryptsetup: not found.

  `lsinitramfs initrd.img-3.11.0-11-generic` does not list cryptsetup

  It should have been detected that my filesystem is encrypted, and
  cryptsetup and associated files should have been placed into the
  initramfs

  I have an encrypted partition, created with `cryptsetup luksFormat`,
  containing LVM for /root /home and swap.

  apt-cache policy cryptsetup
  cryptsetup:
    Installed: 2:1.4.3-4ubuntu4
    Candidate: 2:1.4.3-4ubuntu4
    Version table:
   *** 2:1.4.3-4ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: cryptsetup 2:1.4.3-4ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-54.82-generic 3.2.50
  Uname: Linux 3.2.0-54-generic x86_64
  NonfreeKernelModules: twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common serpent nls_iso8859_1 nls_cp437 vfat fat ext2 snd_hrtimer rfcomm bnep bluetooth parport_pc ppdev binfmt_misc snd_hda_codec_via snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi nvidia snd_rawmidi psmouse snd_seq_midi_event snd_seq snd_timer snd_seq_device snd joydev serio_raw lp asus_atk0110 mac_hid soundcore parport snd_page_alloc xts gf128mul dm_crypt vesafb usbhid hid pata_jmicron atl1e usb_storage
  ApportVersion: 2.12.5-0ubuntu1
  Architecture: amd64
  Date: Wed Oct  9 11:10:38 2013
  InstallationDate: Installed on 2013-04-25 (166 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/usr/bin/zsh
  SourcePackage: cryptsetup
  UpgradeStatus: Upgraded to saucy on 2013-10-05 (3 days ago)
  crypttab: lvm_crypt UUID=0c3f710d-9844-4145-a8f8-465c6d6be4f8 none luks

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



More information about the foundations-bugs mailing list