--- Begin Message ---
Package: console-setup-linux
Version: 1.141
Severity: important
Dear Maintainer,
After latest system update (can't say for sure console-setup-linux or console-tools package was updated or both) keyboard-setup.sh started to fail at boot time.
The point is that the script calls /etc/console-setup/cached_setup_keyboard.sh which in turn calls kbd_mode (utility from console-tools package) located in /usr/bin directory.
The /usr filesystem isn't available at that stage as keyboard-setup.sh runs before mountall.sh.
I believe that tools required at boot time must be within the rootfs (/bin or /sbin directories) or order of the init scripts must be changed.
Thank you in advance,
Andriy Martynets
-- System Information:
Debian Release: stretch/sid
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages console-setup-linux depends on:
ii console-tools 1:0.2.3dbs-70
ii init-system-helpers 1.29
ii initscripts 2.88dsf-59.3
ii keyboard-configuration 1.141
console-setup-linux recommends no packages.
Versions of packages console-setup-linux suggests:
ii console-setup 1.141
Versions of packages keyboard-configuration depends on:
ii debconf 1.5.59
ii liblocale-gettext-perl 1.07-1+b1
Versions of packages console-setup depends on:
ii debconf 1.5.59
ii keyboard-configuration 1.141
ii xkb-data 2.17-1
Versions of packages console-setup suggests:
ii locales 2.22-5
ii lsb-base 9.20160110
Versions of packages console-setup-linux is related to:
pn console-common <none>
pn console-data <none>
ii console-tools 1:0.2.3dbs-70
pn gnome-control-center <none>
pn kbd <none>
ii systemd 229-3
-- debconf information:
console-setup/use_system_font:
* keyboard-configuration/layoutcode: us,ua
* keyboard-configuration/toggle: Control+Shift
console-setup/fontsize: 8x16
* keyboard-configuration/store_defaults_in_debconf_db: true
* keyboard-configuration/layout:
* keyboard-configuration/other:
console-setup/charmap47: UTF-8
console-setup/codeset47: # Latin1 and Latin5 - western Europe and Turkic languages
* keyboard-configuration/variant: Ukrainian
* keyboard-configuration/switch: No temporary switch
console-setup/store_defaults_in_debconf_db: true
* keyboard-configuration/altgr: The default for the keyboard layout
* keyboard-configuration/xkb-keymap: ua
debian-installer/console-setup-udeb/title:
* keyboard-configuration/compose: No compose key
console-setup/fontface47: Fixed
keyboard-configuration/ctrl_alt_bksp: false
console-setup/framebuffer_only:
keyboard-configuration/unsupported_options: true
console-setup/fontsize-fb47: 8x16
* keyboard-configuration/modelcode: pc105
keyboard-configuration/unsupported_config_layout: true
* keyboard-configuration/optionscode: grp:ctrl_shift_toggle,grp_led:scroll
keyboard-configuration/unsupported_layout: true
console-setup/fontsize-text47: 8x16
console-setup/codesetcode: Lat15
keyboard-configuration/unsupported_config_options: true
* keyboard-configuration/model: Generic 105-key (Intl) PC
* keyboard-configuration/variantcode: ,
console-setup/guess_font:
--- End Message ---
--- Begin Message ---
On Fri, Apr 08, 2016 at 08:38:25PM +0100, Steve McIntyre wrote:
> On Fri, Apr 08, 2016 at 09:33:39PM +0300, Andriy Martynets wrote:
> >
> >/etc/console-setup/cached_setup_keyboard.sh which in turn calls
> >kbd_mode (utility from console-tools package) located in /usr/bin
O! There are people using console-tools! Please, install kbd instead:
apt-get install kbd
If you use kbd instead of console-tools, the utility kbd_mode will be
located in /bin.
I am closing this bug for the following two reasons:
1. The package console-tools no longer exists in Debian archives.
2. I suppose that despite the error messages the console is configured
properly even with console-tools. Isn't it?
> This isn't a bug - if you have a separate /usr, it's expected that it
> will be mounted by the initramfs before you get this far.
Is this so? The script keyboard-setup.sh is used very early -- before
the fsck of the root file system.
Anton Zinoviev
--- End Message ---