[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#210353: marked as done (locales: LANG= not removed from /etc/environment)

Your message dated Sat, 1 Nov 2003 23:20:13 +0100
with message-id <20031101222013.GB31492@zobe.linuxfr.org>
and subject line Bug already fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 10 Sep 2003 23:01:59 +0000
>From barbier@liberte.polytechnique.fr Wed Sep 10 18:01:57 2003
Return-path: <barbier@liberte.polytechnique.fr>
Received: from smtp-104-thursday.nerim.net (kraid.nerim.net) [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19xDyG-0006Iq-00; Wed, 10 Sep 2003 18:01:56 -0500
Received: from localhost.localdomain (sinibar.net1.nerim.net [])
	by kraid.nerim.net (Postfix) with ESMTP
	id 3DCCA40ED0; Thu, 11 Sep 2003 01:01:54 +0200 (CEST)
Received: by localhost.localdomain (Postfix, from userid 1000)
	id 7482D23CEE; Thu, 11 Sep 2003 01:02:42 +0200 (CEST)
Date: Thu, 11 Sep 2003 01:02:42 +0200
From: Denis Barbier <barbier@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: locales: LANG= not removed from /etc/environment
Message-ID: <20030910230242.GA3354@imacs.polytechnique.fr>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="BXVAT5kNtrzKuDFl"
Content-Disposition: inline
X-Reportbug-Version: 2.28
User-Agent: Mutt/1.5.4i
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-14.3 required=4.0
	autolearn=ham version=2.53-bugs.debian.org_2003_8_27
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: locales
Version: 2.3.2-6
Severity: normal
Tags: patch


as explained by Joey Hess in #209279, if /etc/environment already
contains a LANG= line, it won't be removed if None was selected
in the locales/default_environment_locale question.
Here is a patch; as I proposed a patch against debian/changelog
5 minutes ago, I prefer putting a new entry just below:
  - debian/locales/DEBIAN/postinst: If /etc/environment sets the LANG
    variable and a new configuration asks for not setting it, the
    line was not removed from this file.


Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="postinst.patch"

Index: locales/DEBIAN/postinst
RCS file: /cvs/glibc/glibc-package/debian/locales/DEBIAN/postinst,v
retrieving revision 1.10
diff -u -r1.10 postinst
--- locales/DEBIAN/postinst	21 Aug 2003 04:06:18 -0000	1.10
+++ locales/DEBIAN/postinst	10 Sep 2003 22:48:44 -0000
@@ -55,6 +55,8 @@
     # Set default LANG environment variable
     if [ -e $EE ]; then
         sed -e '/^ *LANG=/d' $EE > $EE.tmp || true
+        #  $EE has to be updated if $SELECTED is empty or 'None'
+        cp -f $EE.tmp $EE
         :> $EE.tmp


Received: (at 210353-done) by bugs.debian.org; 1 Nov 2003 22:20:14 +0000
>From barbier@linuxfr.org Sat Nov 01 16:20:13 2003
Return-path: <barbier@linuxfr.org>
Received: from zobe.linuxfr.org [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AG46P-0000Vw-00; Sat, 01 Nov 2003 16:20:13 -0600
Received: by zobe.linuxfr.org (Postfix, from userid 1015)
	id 48206EDD2; Sat,  1 Nov 2003 23:20:13 +0100 (CET)
Date: Sat, 1 Nov 2003 23:20:13 +0100
To: 210353-done@bugs.debian.org
Subject: Bug already fixed
Message-ID: <20031101222013.GB31492@zobe.linuxfr.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
From: barbier@linuxfr.org (Denis Barbier)
Delivered-To: 210353-done@bugs.debian.org
X-Spam-Status: No, hits=-1.5 required=4.0
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_1 (

This bug has been fixed in 2.3.2-9, closing it now.


Reply to: