|
|
|
|
|
|
| Author |
Message |
Denis Barbier *nix forums beginner
Joined: 22 Jul 2005
Posts: 12
|
Posted: Wed Jul 19, 2006 10:40 am Post subject:
(Not so fresh) News about locales
|
|
|
Hi,
locales.postinst has been modified to write locale variables
into /etc/default/locale instead of /etc/environment; the
latter file is a PAM configuration file, so modifying it
was a policy violation. Most packages have been modified
accordingly, but if you have trouble with some programs,
please file bugs against them. You may also need to manually
copy locale variables from /etc/default/locale into
/etc/environment if you reconfigure the locales package,
this file is no more updated since it is a policy violation.
A new update-locale( program is provided so that /etc/default/locale
can be modified by other maintainer scripts.
A new locales-all package has been introduced in glibc 2.3.6-10,
it contains all supported compiled locale files. The main
reason is that generating UTF-8 locales on low resource machines
is a major pain. It does not need to conflict with locales (because
it contains compiled locale files and not source data files), so
both packages can be installed simultaneously, which means that
locales-all cannot ship an /usr/lib/locale/locale-archive archive.
It currently ships files under /usr/lib/locales-all/ and instructions
on how to use these files can be found in README.Debian. There has
been some discussions on #375829, and my current plan for etch is to
let locales-all ship a compressed /usr/lib/locales-all/supported.tar.gz
tarfile containing current files, and its postinst will uncompress it
and run localedef --add-to-archive on all locales.
We will see after etch how this can be improved.
Denis
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Frank Küster *nix forums Guru
Joined: 20 Feb 2005
Posts: 432
|
Posted: Wed Jul 19, 2006 11:20 am Post subject:
Re: (Not so fresh) News about locales
|
|
|
Denis Barbier <barbier@linuxfr.org> wrote:
| Quote: | Hi,
locales.postinst has been modified to write locale variables
into /etc/default/locale instead of /etc/environment; the
latter file is a PAM configuration file, so modifying it
was a policy violation. Most packages have been modified
accordingly, but if you have trouble with some programs,
please file bugs against them.
|
localeconfig.postinst does write /etc/environment, is this a bug?
If yes, which package is supposed to handle the file, then? It isn't
registered with dpkg, no other maintainer script except localeconfig's
handles it, and it isn't in /var/lib/ucf/hashfile, either.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive) |
|
| Back to top |
|
 |
Denis Barbier *nix forums beginner
Joined: 22 Jul 2005
Posts: 12
|
Posted: Wed Jul 19, 2006 9:50 pm Post subject:
Re: (Not so fresh) News about locales
|
|
|
On Wed, Jul 19, 2006 at 01:12:32PM +0200, Frank Küster wrote:
| Quote: | Denis Barbier <barbier@linuxfr.org> wrote:
Hi,
locales.postinst has been modified to write locale variables
into /etc/default/locale instead of /etc/environment; the
latter file is a PAM configuration file, so modifying it
was a policy violation. Most packages have been modified
accordingly, but if you have trouble with some programs,
please file bugs against them.
localeconfig.postinst does write /etc/environment, is this a bug?
If yes, which package is supposed to handle the file, then? It isn't
registered with dpkg, no other maintainer script except localeconfig's
handles it, and it isn't in /var/lib/ucf/hashfile, either.
|
You Cc: Progeny folks, so it looks like you believe that localeconf
is the culprit; maybe the contents of this file can shed some light.
This package is unmaintained for years, and is mostly useless nowadays.
I just filed #378941.
Thanks.
Denis
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Frank Küster *nix forums Guru
Joined: 20 Feb 2005
Posts: 432
|
Posted: Thu Jul 20, 2006 7:20 am Post subject:
Re: (Not so fresh) News about locales
|
|
|
Denis Barbier <barbier@linuxfr.org> wrote:
| Quote: | On Wed, Jul 19, 2006 at 01:12:32PM +0200, Frank Küster wrote:
Denis Barbier <barbier@linuxfr.org> wrote:
Hi,
locales.postinst has been modified to write locale variables
into /etc/default/locale instead of /etc/environment; the
latter file is a PAM configuration file, so modifying it
was a policy violation. Most packages have been modified
accordingly, but if you have trouble with some programs,
please file bugs against them.
localeconfig.postinst does write /etc/environment, is this a bug?
If yes, which package is supposed to handle the file, then? It isn't
registered with dpkg, no other maintainer script except localeconfig's
handles it, and it isn't in /var/lib/ucf/hashfile, either.
You Cc: Progeny folks, so it looks like you believe that localeconf
is the culprit; maybe the contents of this file can shed some light.
This package is unmaintained for years, and is mostly useless nowadays.
I just filed #378941.
|
Thank you, indeed I thought that localeconfig was wrong, but I wasn't
sure. I've written an e-mail to mia@qa.debian.org about the progeny
packages.
Anyway, my other question is not answered: Which packages does handle
/etc/environment? There must be one that creates it upon installations.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive) |
|
| Back to top |
|
 |
Christian Perrier *nix forums Guru Wannabe
Joined: 22 Mar 2005
Posts: 204
|
Posted: Thu Jul 20, 2006 5:30 pm Post subject:
Re: (Not so fresh) News about locales
|
|
|
| Quote: | Anyway, my other question is not answered: Which packages does handle
/etc/environment? There must be one that creates it upon installations.
|
The installer.. ...or the local admin.
More precisely localechooser's post-base-installer creates
*both* /etc/environment AND /etc/default/locale with LANG set to the
default locale and LANGUAGE set to a a list of alternatives if such a
thing exists in the localechooser reference file (actually for very
few languages, namely both Chinese flavours and Norwegian languages).
So /etc/environment doesn't technically belong to any package. |
|
| Back to top |
|
 |
Denis Barbier *nix forums beginner
Joined: 22 Jul 2005
Posts: 12
|
Posted: Thu Jul 20, 2006 8:30 pm Post subject:
Re: (Not so fresh) News about locales
|
|
|
[Progeny dropped from Cc]
On Thu, Jul 20, 2006 at 09:15:13AM +0200, Frank Küster wrote:
| Quote: | Denis Barbier <barbier@linuxfr.org> wrote:
On Wed, Jul 19, 2006 at 01:12:32PM +0200, Frank Küster wrote:
Denis Barbier <barbier@linuxfr.org> wrote:
Hi,
locales.postinst has been modified to write locale variables
into /etc/default/locale instead of /etc/environment; the
latter file is a PAM configuration file, so modifying it
was a policy violation. Most packages have been modified
accordingly, but if you have trouble with some programs,
please file bugs against them.
localeconfig.postinst does write /etc/environment, is this a bug?
If yes, which package is supposed to handle the file, then? It isn't
registered with dpkg, no other maintainer script except localeconfig's
handles it, and it isn't in /var/lib/ucf/hashfile, either.
You Cc: Progeny folks, so it looks like you believe that localeconf
is the culprit; maybe the contents of this file can shed some light.
This package is unmaintained for years, and is mostly useless nowadays.
I just filed #378941.
Thank you, indeed I thought that localeconfig was wrong, but I wasn't
sure. I've written an e-mail to mia@qa.debian.org about the progeny
packages.
Anyway, my other question is not answered: Which packages does handle
/etc/environment? There must be one that creates it upon installations.
|
This is because in your original mail, I thought that 'the file' was
referring to localeconf.postinst and not /etc/environment ;)
The latter is a PAM configuration file, so I would say that libpam-runtime
'owns' it. But this file does not have to exist, it is optional, this is
why libpam-runtime does not create it.
It used to be created by d-i when user performs an installation in a
language different than English. When the locales package have been
modified, Christian and I decided to let d-i create both files
(/etc/environment and /etc/default/locale) until most packages have
been patched. Maybe it is time to finish this transition, and modify
d-i to no more create /etc/environment, this can surely be done after
d-i beta3.
Denis
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Mon Dec 01, 2008 6:09 pm | All times are GMT
|
|
Remortgages | Online Advertising | Gas Suppliers | Mobile Phones | Home Loan
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|