Subject: LC_CTYPE makes dynamic /bin/sh spin?
To: None <current-users@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: current-users
Date: 01/04/2003 18:11:34
  Ever since I switched to an all-dynamic root, I had problems
with the package system and other applications. I finally traced
that down to my LC_CTYPE setting.

  It seems, that with that LC_CTYPE setting /bin/sh swallows all
available memory and then is killed, for example:


[~] % echo $LC_CTYPE
en_US.ISO8859-1

[~] % mktexpk --mfmode ljfive --bdpi 600 --mag 1+0/600 --dpi 600 cmbx10
/usr/pkg/bin/mktexpk: Out of space

[~/netbsd/pkgsrc/shells/bash2] % make fetch
Out of space
*** Error code 2


  Whereas without LC_CTYPE:

[~] % unsetenv LC_CTYPE

[~] % mktexpk --mfmode ljfive --bdpi 600 --mag 1+0/600 --dpi 600 cmbx10
mktexpk: /var/spool/texfonts/pk/ljfive/public/cm/cmbx10.600pk already exists.

[~/netbsd/pkgsrc/shells/bash2] % make fetch
=> bash-2.05b.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch bash-2.05b.tar.gz from ftp://ftp.gnu.org/pub/gnu/bash/.
=> [1956216 bytes] [..]


  Perhaps that LC_CTYPE setting is wrong (this is a separate issue),
but it should in no case result in that strange behaviour, should it.

  Is it a bug? Is it a plane?

	mjl