[Yaird-devel] Bug#353283: yaird: Load boottime keymap before cryptsetup_luks

Gabriel Kerneis kerneis at enst.fr
Mon Jan 8 13:26:11 CET 2007


Package: yaird
Version: 0.0.12-18
Followup-For: Bug #353283

Hi,

the patch provided for this bug is nice but it didn't solve the problem
in my configuration : it applies only to the TEMPLATE cryptsetup, and i
use cryptsetup_luks. I do not fully understand the inner differences but
i managed to load the correct keymap on my system by copy/pasting the
following lines (provided in the patch) from the TEMPLATE cryptsetup 
part to the TEMPLATE cryptsetup_luks one (in /etc/yaird/Template.cfg) :

TEMPLATE cryptsetup_luks
BEGIN
FILE "/bin/loadkeys"
FILE "/bin/gunzip"
FILE "/etc/console/boottime.kmap.gz"
FILE "/sbin/cryptsetup"
SCRIPT "/init"
BEGIN
	!if [-e	/etc/console/boottime.kmap.gz]
	!then gunzip /etc/console/boottime.kmap.gz
	!fi
	!if [-e /etc/console/boottime.kmap]
	!then loadkeys /etc/console/boottime.kmap
	!fi
(...)

It would be nice to integrate this in the next version (unless i missed
something and there is another way of making things work).

Note that i used the debian etch installer to create my encrypted disk,
and that everything worked out of the box. It stopped working when i
have updated my system : i may have break something uncounsciously at 
some point.

Sincerely,
Gabriel Kerneis

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)

Versions of packages yaird depends on:
ii  cpio                         2.6-17      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-6     The Debian Almquist Shell
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-3 Generates recursive-descent parser
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information




More information about the Yaird-devel mailing list