ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morozov <morozov@novosoft.ru>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] startup
Date: Mon, 26 May 2003 13:44:34 +0700
Message-ID: <20030526064434.GB2655@bebi.novosoft.ru> (raw)
In-Reply-To: <20030525125237.GD27601@basalt.office.altlinux.org>

On Sun, May 25, 2003 at 04:52:37PM +0400, Dmitry V. Levin wrote:
> On Sun, May 25, 2003 at 06:57:20PM +0700, Alexey Morozov wrote:
> > Кстати, еще вопрос сообществу: а что, у всех цмосовые часы в GMT идут?
> Да, у всех. :)
Ну, тихо печалясь, удаляюсь.

> > Если да, то я, тихо печалясь, удаляюсь... Если нет, то хочу сказать,
> > что в [альтовых] initscript'ах (конкретно, rc.sysinit) есть /недочет/.
> > Поскольку /etc/init.d/clock set делается до маунта /usr, то о правильной
> > установке таймзоны говорить не приходится. Положение отчасти спасает
> > вызов clock set после завершения монтирования, но остаются проблемы с
> > DST.
> Какие будут предложения?
Ну, как... Вообще, правильное решение, похоже, просто и компактно. Но
поскольку я уже неделю не могу отослать Майку поправленный спек на
ImageMagick (ненавижу autotools), то говорить, что-де сейчас все будет,
я уже не хочу. Поэтому пока можно оставить все как есть :-).

Впрочем, и для Вас найдется работа :-). Во-первых, можно вставить
clock set после того, как файловые системы примонтированны. Будет
пятимесячная пауза для раздумий :-).

--- /etc/rc.d/rc.sysinit.orig	2003-05-26 12:06:22 +0700
+++ /etc/rc.d/rc.sysinit	2003-05-26 12:30:10 +0700
@@ -411,6 +411,9 @@
 
 # At this point everything should be mounted.
 
+# Now we can use proper TZ description
+/etc/init.d/clock set
+
 # Set system font again, if required.
 [ -n "$SETSYSFONT_DONE" ] || /sbin/setsysfont >/dev/null 2>&1

Во-вторых, все же хотелось бы, чтобы prefdm запускался с локалью, отличной
от рутовой.

--- /etc/X11/prefdm.orig	2003-05-26 12:37:08 +0700
+++ /etc/X11/prefdm	2003-05-26 12:36:09 +0700
@@ -1,12 +1,20 @@
 #!/bin/sh
 
-HOME=/root
 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
-export HOME PATH
+export PATH
+
+# root has POSIX locale,so we shouldn't use her/his home
+# for I18Nization if we want to get translated messages.
+
+HOME=/etc/X11/xdm
+export HOME
 
 # We need to source this so that the login screens get translated
 . /etc/profile.d/lang.sh
 
+HOME=/root
+export HOME
+
 signal_handler () {
     kill -TERM $!
     exit

P.S. Майк, я обязательно исправлюсь. На самом деле, все, что нужно, у Вас
уже есть, остается только скомпоновать:-).



  reply	other threads:[~2003-05-26  6:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-23 17:00 [sisyphus] proper layout for Meta keys :-) Alexey Morozov
2003-05-23 17:43 ` Maxim Tyurin
2003-05-25  8:51   ` Alexey Morozov
2003-05-25  9:39     ` Alexey Morozov
2003-05-25  9:43       ` [sisyphus] " Michael Shigorin
2003-05-25 11:57         ` Alexey Morozov
2003-05-25 12:52           ` [sisyphus] startup Dmitry V. Levin
2003-05-26  6:44             ` Alexey Morozov [this message]
2003-05-26  7:20               ` [sisyphus] startup Michael Shigorin
2003-05-26  9:07               ` [sisyphus] startup Dmitry V. Levin
2003-05-26  9:41                 ` Sviatoslav Sviridov/Lintec Project
2003-05-26 10:23                 ` Alexey Morozov
2003-05-26  9:25                   ` Dmitry V. Levin
2003-05-26 10:52                     ` Alexey Morozov
2003-05-26  9:53                       ` Dmitry V. Levin
2003-05-26 11:40                         ` Alexey Morozov
2003-05-26 15:16                   ` [sisyphus] startup Michael Shigorin
2003-05-27  5:43                     ` Alexey Morozov
2003-05-27  9:28                       ` Michael Shigorin
2003-05-27 14:14                         ` Alexey Morozov
2003-06-09  6:10                   ` [sisyphus] startup Епифанов Сергей
2003-05-25 14:02           ` [sisyphus] /etc/localtime (was: proper layout for Meta keys :-) Michael Shigorin
2003-05-25 23:04 ` [sisyphus] " Alexey Borovskoy
2003-05-26  6:46   ` Alexey Morozov
2003-05-26  7:12     ` [sisyphus] " Artem K. Jouravsky
2003-05-26 10:15       ` [sisyphus] [JT] " Alexey Morozov
2003-05-26  9:17         ` [sisyphus] " Artem K. Jouravsky
2003-05-26  9:26           ` Alex Ott
2003-05-26  8:04 ` [sisyphus] " Alex Ott
2003-05-26 10:13   ` Alexey Morozov

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=20030526064434.GB2655@bebi.novosoft.ru \
    --to=morozov@novosoft.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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