Bug#364490: 'dpkg-reconfigure locales' does not update /etc/environment
Gary V wrote: * Locale variables are now stored in /etc/default/locale and no more /etc/environment. The reason is that Debian Policy forbids modifying configuration files of other packages, and /etc/environment is a configuration file for PAM. Make sure to remove old definitions from /etc/environment, this file is no more modified for the reason explained above. OK, thank you. Does this mean the administrator has to change /etc/environment herself? The note only mentions removing old definitions. Should /etc/environment just source /etc/default/locale? Also (not sure if this is a bug, or I'd file it separately) - shouldn't /etc/default/locale be a conffile? Thanks, -- Mourad -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#364490: 'dpkg-reconfigure locales' does not update /etc/environment
On Wed, May 10, 2006 at 06:44:32PM +0200, Mourad De Clerck wrote: Gary V wrote: * Locale variables are now stored in /etc/default/locale and no more /etc/environment. The reason is that Debian Policy forbids modifying configuration files of other packages, and /etc/environment is a configuration file for PAM. Make sure to remove old definitions from /etc/environment, this file is no more modified for the reason explained above. OK, thank you. Does this mean the administrator has to change /etc/environment herself? Yes. But you should wait until all applications which read /etc/environment are modified to read locale variables from /etc/default/locale. The note only mentions removing old definitions. Should /etc/environment just source /etc/default/locale? No, this is not possible, because /etc/environment is a PAM configuration file, which AFAICT does not support including other files. Also (not sure if this is a bug, or I'd file it separately) - shouldn't /etc/default/locale be a conffile? There is no default configuration, so the locales package cannot ship an /etc/default/locale conffile, it is handled by maintainer scripts instead, as described in policy 10.7. Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#364490: 'dpkg-reconfigure locales' does not update /etc/environment
On Sun, Apr 23, 2006 at 12:23:36PM -0600, Gary V wrote: Package: locales Version: 2.3.6-7 I thought answering the prompt: Default locale for the system environment: would change the LANG variable in /etc/environment as it appears to do in version 2.3.5-6 which I have installed in another (Sarge) machine. Using the 2.3.6-7 version, I can't see that it ever touches the file. Hi, due to a packaging bug, this change is explained in /usr/share/doc/locales/NEWS.Debian/locales.NEWS.Debian instead of /usr/share/doc/locales/NEWS.Debian and is thus not displayed by apt-listchanges, it will be fixed by the next upload. Does this file contain enough information? Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#364490: 'dpkg-reconfigure locales' does not update /etc/environment
* Locale variables are now stored in /etc/default/locale and no more /etc/environment. The reason is that Debian Policy forbids modifying configuration files of other packages, and /etc/environment is a configuration file for PAM. Make sure to remove old definitions from /etc/environment, this file is no more modified for the reason explained above. OK, thank you. Gary V -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#364490: 'dpkg-reconfigure locales' does not update /etc/environment
Package: locales Version: 2.3.6-7 I thought answering the prompt: Default locale for the system environment: would change the LANG variable in /etc/environment as it appears to do in version 2.3.5-6 which I have installed in another (Sarge) machine. Using the 2.3.6-7 version, I can't see that it ever touches the file. Using Debian Etch beta2 CD kernel 2.6.15-1-486 Gary V -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]