nixpkgs/pkgs
Lluís Batlle i Rossell 952bcf5e58 Setting the patch for the glibc locale archive, which addresses some problems
found before:
- programs linked with this glibc, will be able to find its locale-archive
  at LOCALE_ARCHIVE_2_11
- for any problem we forgot to mention, we also add the LOCALE_ARCHIVE
  variable, checked after LOCALE_ARCHIVE_2_11. I don't know a strong reason to
  have it though.
- setuid programs will expect the locale-archive in
  /var/run/current-system/sw/lib/locale, usual path of the locale-archive in
  nixos, and a path that a sysadmin can set pointing to the locale-archive in
  case of non-nixos. setuid programs don't receive the LOCALE_ARCHIVE
  variables.
- non-nixos systems will have a check for the locale-archive in /usr/lib/locale
- the glibc programs 'locale' and 'localedef' may be able to find the proper
  locale-archive too.

We were also considering getting rid of the locale-archive, and using
locale files directly (like Ubuntu seems to do [1]), maybe using the LOCPATH
variable. But this would not solve the problem of localized setuid programs.

All this came after a 'meeting' with niksnut on irc about this.

[1] http://lwn.net/Articles/244204/

svn path=/nixpkgs/branches/stdenv-updates/; revision=22977
2010-08-05 21:19:32 +00:00
..
applications Merging from trunk (the callPackage change) 2010-08-03 08:14:13 +00:00
build-support Merging from trunk (the callPackage change) 2010-08-03 08:14:13 +00:00
data * ltrace: updated to 0.5.3. 2010-07-29 18:55:16 +00:00
desktops Merging from trunk (the callPackage change) 2010-08-03 08:14:13 +00:00
development Setting the patch for the glibc locale archive, which addresses some problems 2010-08-05 21:19:32 +00:00
games svn path=/nixpkgs/trunk/; revision=22839 2010-08-01 15:14:33 +00:00
lib More changes beyond stdenv-linux for the fuloong2f platform 2010-08-05 18:51:12 +00:00
misc Adding nanonote kernel and uboot 2010-08-04 11:07:13 +00:00
os-specific More changes beyond stdenv-linux for the fuloong2f platform 2010-08-05 18:51:12 +00:00
servers pulseaudio: udev and bluez support 2010-07-31 13:05:58 +00:00
shells
stdenv Trying to bootstrap gcc 4.5 with ppl, so it does not depend on libstdc++ from the boostrap-tools. 2010-08-04 12:36:35 +00:00
test
tools Updating diffutils 2010-08-04 11:05:53 +00:00
top-level More changes beyond stdenv-linux for the fuloong2f platform 2010-08-05 18:51:12 +00:00