[Bug 864149] Re: initrd doesn't set Fr keyboard layout anymore => couldn't open root luks at boot

Steve Langasek steve.langasek at canonical.com
Sat Oct 1 18:51:16 UTC 2011


This is a result of recent changes in the nvidia-graphics-drivers
package; I see from your bug report that you have the binary driver
enabled.

When cryptsetup is installed, /usr/share/initramfs-tools/conf-
hooks.d/cryptsetup sets the 'FRAMEBUFFER' option to 'y'.  This causes
the plymouth, framebuffer, and brltty hooks to be run, and causes
/usr/share/initramfs-tools/scripts/init-top/console_setup to be run in
the initramfs... where it would *not* be by default except when the
initramfs is interrupted.

The oneiric nvidia packages now install an override hook that
unconditionally sets FRAMEBUFFER=n in the initramfs.  This fixes a
legitimate bug, because letting the framebuffer module be loaded in the
initramfs garbles the display (in my experience).  However, it does so
in a way that prevents *any* access to plymouth from within the
initramfs, which is a serious regression for those using luks root
partitions.

We should try to find a better way to enable the FRAMEBUFFER option to
enable the *correct* modules being loaded from within the initramfs,
instead of disabling the FRAMEBUFFER option.

** Package changed: cryptsetup (Ubuntu) => nvidia-graphics-drivers
(Ubuntu)

** Changed in: nvidia-graphics-drivers (Ubuntu)
   Importance: Undecided => High

** Changed in: nvidia-graphics-drivers (Ubuntu)
       Status: New => Triaged

** Also affects: initramfs-tools (Ubuntu)
   Importance: Undecided
       Status: New

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

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => High

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

Title:
  initrd doesn't set Fr keyboard layout anymore => couldn't open root
  luks at boot

Status in “initramfs-tools” package in Ubuntu:
  Triaged
Status in “nvidia-graphics-drivers” package in Ubuntu:
  Triaged

Bug description:
  I added a fr/us layout compatible passphrase so i can open my root
  luks partition again.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: cryptsetup 2:1.1.3-4ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Sat Oct  1 18:09:56 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: cryptsetup
  UpgradeStatus: Upgraded to oneiric on 2011-10-01 (0 days ago)
  crypttab:
   # <target name>	<source device>						<key file>	<options>
   #sunny		/dev/disk/by-uuid/63cacbac-1630-422e-9e55-87ea3f0e7b90	none 		luks
   #sunnyRootLuks	/dev/sda5						none		luks
   sunnyRootLuks	/dev/disk/by-uuid/63cacbac-1630-422e-9e55-87ea3f0e7b90	none	luks

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




More information about the foundations-bugs mailing list