Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11127 - /sbin/rc-envupdate.sh breaks XMODIFIERS='@im=kinput2'
Summary: /sbin/rc-envupdate.sh breaks XMODIFIERS='@im=kinput2'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-23 11:08 UTC by Georgi Georgiev
Modified: 2003-11-19 06:22 UTC (History)
0 users

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


Attachments
patch for /sbin/rc-envupdate.sh (rc-envupdate.patch,847 bytes, patch)
2002-11-23 11:09 UTC, Georgi Georgiev
Details | Diff
/lib/rcscripts/awk/genenviron.awk (genenviron.awk.diff,341 bytes, patch)
2002-11-30 04:53 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2002-11-23 11:08:37 UTC
I have the line
XMODIFIERS='@im=kinput2'
in /etc/env.d/04i18n (I think I decided to put it here)

running /usr/sbin/env-update works correctly and after sourcing /etc/profile the
XMODIFIERS variable has the value '@im=kinput2'. However, running
/sbin/rc-envupdate.sh sets XMODIFIERS to '@im'. Changing gsub to sub in the
rc-envupdate.sh file fixes the problem for me. Patch attached.
Comment 1 Georgi Georgiev 2002-11-23 11:09:19 UTC
Created attachment 5893 [details, diff]
patch for /sbin/rc-envupdate.sh
Comment 2 Georgi Georgiev 2002-11-30 04:51:37 UTC
I recently upgraded to sys-apps/baselayout-1.8.5.3
The problem is still there, though it now sets XMODIFIERS to kinput2 rather than
@im.

I am attaching a diff with the  very small change to
/lib/rcscripts/awk/genenviron.awk that I made, that fixed the problem
Comment 3 Georgi Georgiev 2002-11-30 04:53:24 UTC
Created attachment 6056 [details, diff]
/lib/rcscripts/awk/genenviron.awk

patch checked against sys-apps/baselayout-1.8.5.4
Comment 4 Georgi Georgiev 2003-06-04 23:38:39 UTC
It seems the bug was fixed at some point of time. Could someone mark it as FIXED.
Comment 5 Markus Nigbur (RETIRED) gentoo-dev 2003-11-19 06:22:07 UTC
See comment #4