ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Konstantin Lepikhov <lakostis@unsafe.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Странное поведение резолвера
Date: Sat, 4 Apr 2020 13:21:36 +0200
Message-ID: <20200404112135.GA891461@lks.home> (raw)
In-Reply-To: <119671585240491@iva8-03ad76494624.qloud-c.yandex.net>

Hi Maxim!

On 03/26/2020, at 07:59:27 PM you wrote:

> <div> </div><div> </div><div>26.03.2020, 15:10, "Konstantin Lepikhov" &lt;lakostis@unsafe.ru&gt;:</div><blockquote>собирать что-то в LXD это плохая идея (я могу написать уже целую статью по<p>ужасы LXC в Сизифе).</p></blockquote><div>С этого места хотелось бы поподробней :-)</div><div> </div><div>У меня Альт в контейнере, а не контейнер в Альте. Такая конфигурация в связи с потребностью в виртуализации в купе с крайней ограниченностью ресурсов. QEMU/KVM - выходит тяжеловато для моих железок. OpenVZ - скорее никак, чем как-то. Docker вообще не об этом. Поэтому LXD - сыровато, но пока устраивает - умеет крутить на одной машине контейнеры ALT/p9 и Debian Jessie (да-да... этот славный PHP5!)</div><div> </div><blockquote><p>Если у вас какой-то CIтам.</p></blockquote><div>Бог миловал :-) Просто нужно собирать несколько пакетов для Альта и нет возможность выделить под это дело отдельную железку.</div><div> </div><div>С уважением,</div><div>М.П. Вецало.</div><div>---</div><div> </div>
Был занят, поэтому тред не читал )

У меня lxd установлен на centos7, поэтому тут есть свои локальные
проблемы. Но применительно к ALTLinux - пока контейнеры LXC на базе
ALTLinux мало пригодны для использования "из коробки" без дополнительного
напильника и виноват тут как всегда *d софт от г-на П-га:

1.

(There seems to be a race condition in systemd or logind, which results in
the leak of scope unit files in /run/systemd/system. This causes PID 1 to
use 100% CPU and delays logins.)

https://bugzilla.redhat.com/show_bug.cgi?id=1439989
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1591411
https://github.com/systemd/systemd/issues/1961

- воспроизводится на ура на свежем контейнере на базе Сизифа. В баге на
  github предложен workaround, который приходится ставить на cron:

  Delete session files

  find /run/systemd/system -name "session-*.scope" -delete
  Delete session directories

  rm -rf /run/systemd/system/session*scope*
  Remove the abandoned sessions

  systemctl | grep "abandoned" | grep -e "-[[:digit:]]" | sed
  "s/\.scope.*/.scope/" | xargs systemctl stop

Как всегда, г-н П-г говорит "not-our-bug" и посылает всех попробовать
свежий снепшот из git'а.

2. Regression : systemd-networkd does not get an IPv4 address via DHCP
when started at boot

https://bugzilla.redhat.com/show_bug.cgi?id=1733674
https://github.com/moby/moby/issues/26120

workaround: raw.lxc: lxc.mount.auto = "sys" в конфигурации контейнера.

Как всегда, г-н П-г говорит "not-our-bug" и посылает всех нах.

Сизиф я не обновлял пару недель, может быть что-то изменилось, но не
уверен.

-- 
WBR et al.


  parent reply	other threads:[~2020-04-04 11:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26  8:01 ` Michael Shigorin
2020-03-26  8:03 ` Michael Shigorin
2020-03-26 11:33     ` Michael Shigorin
2020-03-29 17:29         ` Michael Shigorin
2020-03-31 16:17           ` Alexey Shabalin
2020-03-31 19:11         ` Alexey Shabalin
2020-03-26 12:10 ` Konstantin Lepikhov
2020-04-04 11:21     ` Konstantin Lepikhov [this message]
2020-04-04 16:42       ` Alexey Shabalin
2020-04-04 18:03         ` Konstantin Lepikhov
2020-04-05  8:28         ` Sergey

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=20200404112135.GA891461@lks.home \
    --to=lakostis@unsafe.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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