Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-23 Thread Christian PERRIER
Quoting Sebastian Pipping (sebast...@pipping.org):
> Thanks for that explanation.
> 
> 
> For that keyboard hook to do its work, KEYMAP=y needs to be set in the
> initramfs configuration (see the code of the hook itself).
> 
> What can be done to set KEYMAP=y in a controlled manner from within the
> installer?  The currently resulting KEYMAP=n does not work.


It should IMHO be the default value.

Hence keeping this bug report affected to initramfs-tools. I guess the
package maintainer(s) may have a rationale for this default value but
we need to hear it.

By design, the installer should *not* change default settings of
installed tools and packages.




signature.asc
Description: Digital signature


Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-22 Thread Sebastian Pipping
Thanks for that explanation.


For that keyboard hook to do its work, KEYMAP=y needs to be set in the
initramfs configuration (see the code of the hook itself).

What can be done to set KEYMAP=y in a controlled manner from within the
installer?  The currently resulting KEYMAP=n does not work.

Thanks,



Sebastian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-22 Thread Christian PERRIER
Quoting Sebastian Pipping (sebast...@pipping.org):

> > The problem is the same is users setup their console
> > keymap to be something else than US *after the system installation*.
> 
> Jérémy seems to understand that sentence but honetsly I don't.  Could
> you elaborate?

Sure.

You install Debian by choosing a US keymap.

Then, on the installed system, you reconfigure console-setup
(dpkg-reconfigure console-setup) and pick for instance a German
keymap.

Then, the initramfs will also lack a german keymap to be setup when
prompting you for the encrypted partition password.

Which, in short, confirms that the problem is not in the installer
itself (that does nothing wrt initramfs) but in the tools that create
the initramfsor maybe in console-setup

OTOH, when looking at "dpkg -L initramfs-tools", I see a file named
"/usr/share/initramfs-tools/hooks/keymap" that is apparently meant
exactly for this..:)




signature.asc
Description: Digital signature


Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-22 Thread Sebastian Pipping
On 04/22/2012 07:48 AM, Christian PERRIER wrote:
> I'm not sure this is the installer's job.
> 
> Having the right keymap in the initramfs should be the job of the
> utility that creates the initramfs, based on console keymap
> settings.

I see.


> I don't think the installer can (and should) really do
> something here.

With bug 619711 in mind now: someone still has to set KEYMAP=y in the
initramfs config file before the last initramfs update before reboot (so
the keymap has a real chance to be in effect on first boot afert
installation).  The only one who can do that is the installer in my
eyes.  Not?


> The problem is the same is users setup their console
> keymap to be something else than US *after the system installation*.

Jérémy seems to understand that sentence but honetsly I don't.  Could
you elaborate?

Best,



Sebastian



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-22 Thread Jérémy Bobbio
reassign 669935 initramfs-tools
forcemerge 619711 669935

On Sun, Apr 22, 2012 at 07:48:16AM +0200, Christian PERRIER wrote:
> Having the right keymap in the initramfs should be the job of the
> utility that creates the initramfs, based on console keymap
> settings. I don't think the installer can (and should) really do
> something here. The problem is the same is users setup their console
> keymap to be something else than US *after the system installation*.

It looks like you are right. It seems that the first report is actually
from a year ago.

Cheers,
-- 
Jérémy Bobbio.''`. 
jeremy.bob...@irq7.fr   : :   : lu...@debian.org
`. `'` 
  `-


signature.asc
Description: Digital signature


Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-21 Thread Christian PERRIER
Quoting Sebastian Pipping (sebast...@pipping.org):
> Package: debian-installer
> Version: 20120327+b1
> 
> I have been installing Debian testing/wheezy from a recent snapshot
> netinst with a German keyboard layout selected.  As I chose dm-crypt
> during disk partitioning I have been entering a password with a German
> keyboard layout during installation.
> 
> On reboot cryptsetup asks for a password with a US keyboard layout,
> rather than German.  There is no hint about that and there seems to be
> no way to select a different layout without entering the password under
> a foreign/US keyboard layout first.
> 
> I would expect that the installer makes sure that the keyboard layout of
> the initramfs is the same as the one used during installation or that at
> least I have the option to make that happen.  Currently, nothing tells
> the user that the layout is no longer German on reboot and there is no
> easy way of switching the layout without passing that very password gate
> first.  Please consider solving this problem.  Thanks!
> 
> 
> PS: In case that's relevant: I deselected the installation of desktop
> environment and basic system utilities during the installation process.
> 
> 

I'm not sure this is the installer's job.

Having the right keymap in the initramfs should be the job of the
utility that creates the initramfs, based on console keymap
settings. I don't think the installer can (and should) really do
something here. The problem is the same is users setup their console
keymap to be something else than US *after the system installation*.



-- 




signature.asc
Description: Digital signature


Bug#669935: Debian Installer does apply keymap used during installation to resulting initramfs

2012-04-21 Thread Sebastian Pipping
Package: debian-installer
Version: 20120327+b1

I have been installing Debian testing/wheezy from a recent snapshot
netinst with a German keyboard layout selected.  As I chose dm-crypt
during disk partitioning I have been entering a password with a German
keyboard layout during installation.

On reboot cryptsetup asks for a password with a US keyboard layout,
rather than German.  There is no hint about that and there seems to be
no way to select a different layout without entering the password under
a foreign/US keyboard layout first.

I would expect that the installer makes sure that the keyboard layout of
the initramfs is the same as the one used during installation or that at
least I have the option to make that happen.  Currently, nothing tells
the user that the layout is no longer German on reboot and there is no
easy way of switching the layout without passing that very password gate
first.  Please consider solving this problem.  Thanks!


PS: In case that's relevant: I deselected the installation of desktop
environment and basic system utilities during the installation process.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org