/etc/environment is parsed incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I use the /etc/environment file to set locale variables, and the lines are:
LC_COLLATE=
LC_MONETARY=
If there are spaces after the lines, the lines that have the variable
enclosed in quotation marks are parsed incorrectly and in "locale" output
they show as:
LC_COLLATE=
LC_MONETARY=
which then causes some programs to fail (at least the quoted format, because it has only one quote left). There is no manpage for /etc/environment that defines the right syntax and the spaces after the end of line are not the easiest thing to notice. I don't know which program parses the environment file, but this should be fixed.
I'm using Ubuntu Feisty Fawn 7.04 and bash as a shell.
Thanks for your report this is a duplicate of Bug #116438 please make further comments there and don't hesitate on report new bugs