NetBSD Problem Report #50850

From www@NetBSD.org  Thu Feb 25 20:02:35 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B49567ACCE
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Feb 2016 20:02:35 +0000 (UTC)
Message-Id: <20160225200234.B16CC7ACDB@mollari.NetBSD.org>
Date: Thu, 25 Feb 2016 20:02:34 +0000 (UTC)
From: tim.korn@freenet.de
Reply-To: tim.korn@freenet.de
To: gnats-bugs@NetBSD.org
Subject: Keymap not set when /etc/rc.d/cgd asks for pass phrase
X-Send-Pr-Version: www-1.0

>Number:         50850
>Category:       misc
>Synopsis:       Keymap not set when /etc/rc.d/cgd asks for pass phrase
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 25 20:05:00 +0000 2016
>Originator:     Tim Korn
>Release:        all
>Organization:
>Environment:
all
>Description:
When /etc/rc.d/cgd asks for the pass phrase to decrypt a partition, the final keymap is not set. But it is not possible to enter a good password or phrase (>= 32 arbitrary random characters with ASCII code [33 ... 126]) when the input is not echoed and the keymap is not correct. The same problem occurs when the is a file system issue and the system boots into single user mode to repair the file system. It asks then for the root password.

So setting the keymap should be done as early as possbile (that means, that the tool should be in /bin or /sbin and not in /usr/... and the keymaps should be in /etc/... and not in /usr/share/... since these file systen may not yet be mounted or may be corrupted).

It is only acceptable for the NetBSD boot prompt that the keymap is not correct.
>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.