From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] Re: [sisyphus] startup Date: Mon, 26 May 2003 15:21:32 +0400 Message-ID: <20030526112132.GC6654@basalt.office.altlinux.org> (raw) In-Reply-To: <20030526114042.GL2655@bebi.novosoft.ru> [-- Attachment #1: Type: text/plain, Size: 1765 bytes --] On Mon, May 26, 2003 at 06:40:42PM +0700, Alexey Morozov wrote: > Ну, в общем, наверное, можно использовать схему, когда при выборе > таймзоны (в инсталляторе) соответствующий файлик просто копируется > в /etc/localtime, и /etc/init.d/clock не пытается даже использовать > данные из /usr/share/zoneinfo... $ ls -l /etc/localtime -rw-r--r-- 1 root root 815 Мар 23 21:14 /etc/localtime $ rpmquery -lv glibc-core |fgrep /etc/localtime -rw-r--r-- 1 root root 815 Мар 23 21:14 /etc/localtime Я не знаю, какая программа портит /etc/localtime. Боюсь, что installer. > Но тогда автоматически встает вопрос корректных апдейтов этого файла > при апдейтах glibc-timezones. > > Я так вот вижу возможные пути решения проблемы. > > > Только если > > is_yes "$HWCLOCK_SET_AT_HALT" > В случае домашних машинок без внешних ntp-серверов это единственный > более-менее приемлемый способ поддерживать системные часы. Если верить Значит, надо заменить на if ! is_no "$HWCLOCK_SET_AT_HALT" > докам на hwclock, величина убегания цмосовских часов более-менее постоянна, > так что и бороться с этим тоже можно... Но тогда встает во весь рост вопрос > DST. Наверное, можно где-либо сохранять последнюю использовавшуюся таймзону, > и, с одной стороны, при апдейте glibc-timezones копировать в /etc/localtime > нужный файлик (по правилам config(noreplace)), а с другой, при "перещелке" > DST переводить соответственно хардварные часы. Переводить их нужно, потому > что использоваться это вся конструкция (часы не в GMT, отсутствие NTP) будет > преимущественно на дуалбутных домашних машинках, а Windows (TM) часы > переводит. Ну, в общих чертах вот так вот, но но на оформление этого всего > аккуратно меня сейчас не хватит. У кого хватит? -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next parent reply other threads:[~2003-05-26 11:21 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-05-26 11:21 ` Dmitry V. Levin [this message] 2003-05-26 12:54 ` 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=20030526112132.GC6654@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@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 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