From: Eugene Prokopiev <enp@itx.ru>
To: shaba@altlinux.ru,
ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] delayed network start in systemd-nspawn container
Date: Tue, 8 Sep 2015 20:33:08 +0300
Message-ID: <CANM4Ruivadun2p-t73zuq5Z3DqBvZE=GS7imxxd1-S_qR+C+vw@mail.gmail.com> (raw)
In-Reply-To: <CAEdvWkQWrHxHnWV1CHOk2LVsiCKskpHgEL9pRYP2b4rzRHZJ7A@mail.gmail.com>
6 сентября 2015 г., 22:30 Alexey Shabalin написал:
> А теперь оборотная сторона такой молчаливости, с которой я сам сталкивался.
> Пока сервер сам не пошлёт пакет, коммутатор не выучил его mac-адресс и
> ничего к нему не будет посылать. И даже может забыть сервер, если он ничего
> не будет посылать.
> Настройте, например, ntp клиента (можно systemd-timesyncd), и проверьте
> исправиться ли поведение.
Как я понимаю, время не может идти по-разному в хост-системе и в
контейнерах, поэтому в них ntp-клиент не нужен. Я попробовал сделать
нечто не менее бессмысленное: таймер с пингом ближайшего
маршрутизатора раз в минуту - и это действительно помогло :)
Странно, что с таким вроде бы очевидным эффектом я никогда не
сталкивался - ни на железных, ни на виртуальных (в т.ч. на OpenVZ)
системах.
--
WBR,
Eugene Prokopiev
next prev parent reply other threads:[~2015-09-08 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-06 14:40 Eugene Prokopiev
2015-09-08 17:33 ` Eugene Prokopiev [this message]
2015-09-08 18:59 ` Sergey Alembekov
2015-09-09 12:26 ` Eugene Prokopiev
2015-09-09 13:49 ` Eugene Prokopiev
2015-09-10 9:28 ` Anton Farygin
2015-09-10 13:05 ` Eugene Prokopiev
2015-09-10 13:33 ` Eugene Prokopiev
2015-09-09 9:34 ` Anton Farygin
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='CANM4Ruivadun2p-t73zuq5Z3DqBvZE=GS7imxxd1-S_qR+C+vw@mail.gmail.com' \
--to=enp@itx.ru \
--cc=shaba@altlinux.ru \
--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