ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Проблема с ALT 4.0 Server (i18n)
Date: Sat, 21 Apr 2007 15:25:56 +0400
Message-ID: <20070421112556.GA32089@basalt.office.altlinux.org> (raw)
In-Reply-To: <462966C7.5000309@neural.ru>

[-- Attachment #1: Type: text/plain, Size: 1271 bytes --]

On Sat, Apr 21, 2007 at 04:20:07AM +0300, Ivan Fedorov wrote:
> Dmitry V. Levin пишет:
> 
> >>>>>> Пусто, но у меня подозрение, что где-то useradd хватает первый skel в 
> >>>>>> котором есть ru_RU. То есть я думаю, что он не тупо сравнивает локаль, 
> >>>>>> но и пользуется простейшей "эвристикой".
> >>>>> useradd использует SKEL из /etc/default/useradd (или /etc/skel, если этот
> >>>>> SKEL не определён).  Локаль влияет на useradd только через этот SKEL, а
> >>>>> именно, при каждом старте системы /etc/rc.d/rc.sysinit запускает скрипт
> >>>>> /etc/rc.d/scripts/lang, который может изменить файл /etc/default/useradd.
> >>>> ну я исходников не смотрел, но 2 раза такое уже словил! :(
> >>> А какие /etc/skel* вообще установлены в системе?
> >> $ ls -ld /etc/skel*
> >> drwxr-xr-x 6 root root 4096 Апр 20 15:30 /etc/skel
> >> drwxr-xr-x 7 root root 4096 Апр 20 15:30 /etc/skel.ru_RU.CP1251
> >> drwxr-xr-x 7 root root 4096 Апр 20 15:30 /etc/skel.ru_RU.KOI8-R
> > 
> > А что в файлах /etc/rpm/macros и /etc/sysconfig/i18n?
> 
> $ cat /etc/rpm/macros
> %_install_langs en_US:ru_RU
> 
> $ cat /etc/sysconfig/i18n
> LANG=ru_RU.UTF-8
> SUPPORTED=ru_RU

Не понимаю, откуда в такой ситуации мог взяться ~/.i18n с упоминанием 1251?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-04-21 11:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-20 17:23 [devel] Проблема с ALT 4.0 Server Ivan Fedorov
2007-04-20 20:57 ` Dmitry V. Levin
2007-04-20 21:15   ` Ivan Fedorov
2007-04-20 21:27     ` Dmitry V. Levin
2007-04-20 21:39       ` Ivan Fedorov
2007-04-20 21:48         ` Dmitry V. Levin
2007-04-20 22:17           ` Ivan Fedorov
2007-04-20 22:29             ` Dmitry V. Levin
2007-04-20 22:42               ` Ivan Fedorov
2007-04-20 22:51                 ` Dmitry V. Levin
2007-04-20 23:23                   ` Ivan Fedorov
2007-04-20 23:37                     ` Dmitry V. Levin
2007-04-20 23:47                       ` Ivan Fedorov
2007-04-20 23:51                         ` Dmitry V. Levin
2007-04-21  1:20                           ` Ivan Fedorov
2007-04-21 11:25                             ` Dmitry V. Levin [this message]
2007-04-21  5:57                     ` [devel] Проблема с ALT 4.0 Server [вылазит cp1251] Michael Shigorin
2007-04-22  5:55                       ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070421112556.GA32089@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git