Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 254504

Summary: openrc: /etc/init.d/keymaps have an issue with kbd utils from busybox
Product: Gentoo Linux Reporter: Alexander Weber <web.alexander>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Weber 2009-01-11 00:33:37 UTC
kbd_mode from busybox does not support -C parameter. This is current not considered by openrc script /etc/init.d/keymaps.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to openrc/baselayout-2
2. set symlink /bin/sh -> /bin/busybox
3. restart /etc/init.d/keymaps

Actual Results:  
~ # /etc/init.d/keymaps restart
keymaps          |* WARNING: you are stopping a boot service
keymaps          |* Caching service dependencies...                       [ ok ]
keymaps          |* Loading key mappings [de]...                          [ ok ]
keymaps          |* Setting keyboard mode [UTF-8]...
keymaps          |kbd_mode: invalid option -- C
keymaps          |BusyBox v1.11.1 (2008-10-04 05:12:32 CEST) multi-call binary
keymaps          |
keymaps          |Usage: kbd_mode [-a|k|s|u]
keymaps          |
keymaps          |Report or set the keyboard mode
keymaps          |
keymaps          |Options set mode:
keymaps          |	-a	Default (ASCII)
keymaps          |	-k	Medium-raw (keyboard)
keymaps          |	-s	Raw (scancode)
keymaps          |	-u	Unicode (utf-8)
keymaps          |
keymaps          |kbd_mode: invalid option -- C
keymaps          |BusyBox v1.11.1 (2008-10-04 05:12:32 CEST) multi-call binary
keymaps          |
keymaps          |Usage: kbd_mode [-a|k|s|u]
keymaps          |
keymaps          |Report or set the keyboard mode
keymaps          |
keymaps          |Options set mode:
keymaps          |	-a	Default (ASCII)
keymaps          |	-k	Medium-raw (keyboard)
keymaps          |	-s	Raw (scancode)
keymaps          |	-u	Unicode (utf-8)
keymaps          |
keymaps          |kbd_mode: invalid option -- C
Comment 1 Roy Marples 2009-01-12 11:49:17 UTC
busybox upstream have already patched this to allow -C.
Not an OpenRC issue.