tags 361048 patch thanks Hi Denis,
>> In that case, what business does the locales package have editing this file >> at all? > As you can imagine, this is exactly what I am trying to fix. Right. The locales package still shouldn't be trying to "clean up" this config file, because two wrong writes to the file don't make a right write. :) So since there are still other packages that use /etc/environment (including the package it belongs to!), I think it's a release-critical bug for locales to edit it, and have marked the bug as such. And prepared a simple patch, which I've attached. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/
diff -u glibc-2.3.6/debian/debhelper.in/locales.postinst glibc-2.3.6/debian/debhelper.in/locales.postinst --- glibc-2.3.6/debian/debhelper.in/locales.postinst +++ glibc-2.3.6/debian/debhelper.in/locales.postinst @@ -21,7 +21,6 @@ found=1 fi fi - sed -i -e "s/^ *$i=/#&/" $OLDEE done if [ -z "$exist" ] && [ -z "$found" ]; then rm -f $EE diff -u glibc-2.3.6/debian/changelog glibc-2.3.6/debian/changelog --- glibc-2.3.6/debian/changelog +++ glibc-2.3.6/debian/changelog @@ -1,3 +1,11 @@ +glibc (2.3.6-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Don't edit /etc/environment on upgrade -- this isn't glibc's config + file, so look don't touch. Closes: 361048. + + -- Steve Langasek <[EMAIL PROTECTED]> Thu, 13 Apr 2006 22:12:10 -0700 + glibc (2.3.6-6) unstable; urgency=low [ Aurelien Jarno ]
signature.asc
Description: Digital signature