ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vladimir Didenko <vladimir.didenko@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Долгий запуск Firefox/Thunderbird из-за невозможности разрезолвить hostname.
Date: Sat, 5 Dec 2020 22:34:53 +0300
Message-ID: <CAHRK1yMkoeMJP4Nr2YX0zhjY48qoNHyWnFROcDnEKb9TFL9Kqw@mail.gmail.com> (raw)
In-Reply-To: <CAHRK1yM82FE3Cm9NovZz45O_QTonX7dr7iR7+D45N06D2QxN1A@mail.gmail.com>

сб, 5 дек. 2020 г. в 22:14, Vladimir Didenko:
>
> Я даже не уверен, что тут инсталлер виноват. Я выставлял через
> hostnamectl и если верить разработчикам systemd см.
>
> https://github.com/systemd/systemd/issues/12793#issuecomment-502588145
>
> должно хватить присутствия myhostname в /etc/nsswitch.conf. У меня там
>
> hosts:      files dns myhostname
>
> и не работает. Видимо, нужно баг на наш systemd вешать.
>

Разобрался. Оказывается, порядок в nsswitch играет роль, myhostname
работает только после того, как DNS резолвинг не смог ничего найти.
Оказывается, что уже год как просят поменять дефолтный порядок на
files myhostname dns

https://github.com/systemd/systemd/issues/14073
https://github.com/systemd/systemd/issues/14073#issuecomment-555141250

Может, у нас стоит поменять?

-- 
С уважением,
Владимир.

      reply	other threads:[~2020-12-05 19:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04 18:27 Vladimir Didenko
2020-12-05  8:06 ` Anton Gorlov
2020-12-05 12:59 ` Michael Shigorin
2020-12-05 14:29   ` Mikhail Efremov
2020-12-05 19:14   ` Vladimir Didenko
2020-12-05 19:34     ` Vladimir Didenko [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=CAHRK1yMkoeMJP4Nr2YX0zhjY48qoNHyWnFROcDnEKb9TFL9Kqw@mail.gmail.com \
    --to=vladimir.didenko@gmail.com \
    --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