From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Problems with handicapped 'bash' from glibc package Date: Wed, 12 Feb 2014 02:12:07 -0500 Message-ID: <871tz8oldk.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDU0I-0006Js-ST for guix-devel@gnu.org; Wed, 12 Feb 2014 02:13:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDU0B-0005Md-JA for guix-devel@gnu.org; Wed, 12 Feb 2014 02:13:06 -0500 Received: from world.peace.net ([96.39.62.75]:57310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDU0B-0005Lf-FK for guix-devel@gnu.org; Wed, 12 Feb 2014 02:12:59 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Hello all, The 'bash' in the glibc package is handicapped in at least two ways: * It can't set the locale, because it looks for locales in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.18-locales * It can't look up anything from NSS, such as passwd data, because it tries to load the modules from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-intermediate-2.18 There are two problems that need to be addressed, I think: * Users could easily end up with this handicapped 'bash' as their primary bash, if they installed (or upgraded?) 'glibc' since the last time I installed 'bash'. This happened to me, for example. * Some (most?) programs in Guix that launch subprocesses with the shell use this handicapped one. For example, every time I run 'w3m', it prints two warnings about 'sh' being unable to set the locale. Any suggestions about how we should address these problems? Thanks, Mark