/etc/init.d/console-screen.sh Searches /etc/environment with wrong regexp.
Bug #18575 reported by
Ralph Corderoy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
console-tools (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
/etc/init.
for var in LANG LC_ALL LC_CTYPE ; do
eval $var=$value
done
egrep's pattern will match FOOLANG, OLDLANG, etc., same goes for the
other values of $var causing, e.g. LANG to be assigned FOOLANG's value.
See also bug #18448. These two bugs account for both misreadings of
/etc/environment in my installation but it's possible the code has been
copied to other /etc/init.d/* scripts that I don't have; perhaps
there's a big installation somewhere that someone can grep?
To post a comment you must log in.
Setting to Confirmed since the script is still the same in Dapper, Ubuntu 6.06.