From: Mikhail Efremov <sem@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] /etc/timezone
Date: Tue, 20 Aug 2019 19:13:12 +0300
Message-ID: <20190820191312.42f84ad1@sem.office.basealt.ru> (raw)
In-Reply-To: <4652e5b6-548a-88c1-841e-23785f8246d0@gmail.com>
On Sat, 10 Aug 2019 23:19:43 +0300 Alexei V. Mezin wrote:
> > А разве кто-то должен?
> > Все ориентируются по /etc/localtime, который берётся из /usr/share/zoneinfo/$ZONE
>
> Ок. Спрошу тогда вот в каком ключе:
>
> понадобилось сменить sddm на lightdm. Сделал apt-get install lightdm,
> сказал systemd не запускать sddm, но запускать lightdm. Все работает,
> кроме того, что на экране логина часы показывают неправильное время
> (скорее всего UTC). При том, что в консоли, в графической сессии и т.п.
> всё в порядке, все /etc/sysconfig/* и /etc/localtime указывают куда надо.
>
> Сделал echo "Europe/Moscow" > /etc/timezone, и сразу в lightdm все
> наладилось.
Я тут почитал glib, там все плохо. Способы, которыми там определяют
timezone, у нас нормально работать не будут. Что с этим делать пока не
ясно, думать надо.
Использование /etc/timezone на данный момент вполне нормальный
workaround, пожалуй.
--
WBR, Mikhail Efremov
prev parent reply other threads:[~2019-08-20 16:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-10 20:19 Alexei V. Mezin
2019-08-19 9:53 ` Alexei V. Mezin
2019-08-20 16:13 ` Mikhail Efremov [this message]
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=20190820191312.42f84ad1@sem.office.basealt.ru \
--to=sem@altlinux.org \
--cc=sisyphus@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 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