Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261954 - Updating Hal breaks keymaps
Summary: Updating Hal breaks keymaps
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-10 08:04 UTC by Neil
Modified: 2009-03-10 11:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2009-03-10 08:04:23 UTC
Recently after upgrading sys-apps/hal my GB keymap has switched to US

Reproducible: Always

Steps to Reproduce:
1. Start off with a GB keymap by defining GB <merge key="input.xkb.layout" type="string">gb</merge> in /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi

2. Emerge hal
3. Reboot and you'll have a gb keymap

Actual Results:  
Keymap is now US

Expected Results:  
Keymap should remain as GB

Simply editing /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to reflect a GB layout resolves this problem, but its a bit of a pain having to do it each and everytime HAL updates.  If config files are being updated such as this, then dispatch-conf should recognise a difference between the default and that which is installed and ask if the file should be updated.
Comment 1 Tony Vroon gentoo-dev 2009-03-10 10:58:59 UTC
Please note that you should be overriding the HAL configuration in /etc/hal, not /usr/share/hal (as /usr/share/hal gets overwritten in the next merge).
Also, should you require further information you'll need to include:
- emerge --info
- emerge -pv hal
- the previous version of HAL you used
Comment 2 Neil 2009-03-10 11:28:16 UTC
(In reply to comment #1)
> Please note that you should be overriding the HAL configuration in /etc/hal,
> not /usr/share/hal (as /usr/share/hal gets overwritten in the next merge).

Ahh, ok, I hadn't realised this, thanks for pointing it out.  I'd imagine that will resolve it fine.  I clearly need to do some more reading on how HAL is setup and configured under Gentoo, will see what I can findout.

Cheers

slack