Make-initrd development discussion
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Бесконечный цикл в VMware при поднятии сети
Date: Tue, 22 Feb 2022 15:20:14 +0300
Message-ID: <30e5e22c-d9b5-e266-5cab-a4e7f43922ce@gmail.com> (raw)
In-Reply-To: <20220222115755.radg7eanjizukwqt@example.org>


22.02.2022 14:57, Alexey Gladkov пишет:
> On Tue, Feb 22, 2022 at 01:59:11PM +0300, Leonid Krivoshein wrote:
>> Алексей, привет!
>>
>> Раньше в этом файле:
>> features/network/data/etc/network/ifaces/lo/ipv4address
>>
>> был перенос строки (\n), с его исчезновением после обновления initrd системы
>> в VMware стали уходить в вечный цикл сразу после запуска udevd.
> Это же lo, который срабатывает всегда на всех системах. Я ни разу не видел
> такого ни в тестах, ни на железе.
>
> Эти файлы читаются cat_config[1], которая учитывает то что перевода строки
> может не быть.
>
>> На такое
>> периодически натыкаюсь, используя более легковесный read -r вместо head -n1
>> в субшеле.
> Правильно ли я понимаю, что падает не фича network, а твой код, который
> читает этот конфиг ?
>
> [1] https://github.com/osboot/make-initrd/blob/master/features/network/data/bin/network-sh-functions#L30-L42

Нет. У заказчиков не воспроизводимая для нас конфигурации на серверах в 
продуктовой VMware, дебажили они сами по нашим наводкам. Суть в том, что 
виновник зависания установлен на 100%. Они добавляют конец строки в 
указанный файл, запускают make-initrd и сабжевая проблема исчезает. А 
вот почему она возникает именно у них на VMware, я сказать не могу, у 
нас нет VMware и подробностей нет, к сожалению. Могу сказать только, что 
это на p10 с последними ядрами стало проявляться, сначала грешили на 
непопадание нужных модулей.


-- 
Best regards,
Leonid Krivoshein.



  reply	other threads:[~2022-02-22 12:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 10:59 Leonid Krivoshein
2022-02-22 11:57 ` Alexey Gladkov
2022-02-22 12:20   ` Leonid Krivoshein [this message]
2022-02-22 12:44     ` Alexey Gladkov
2022-02-22 13:25       ` Leonid Krivoshein
2022-02-22 13:04 ` Alexey Gladkov
2022-02-22 13:29   ` Leonid Krivoshein
2022-02-22 14:04     ` Alexey Gladkov

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=30e5e22c-d9b5-e266-5cab-a4e7f43922ce@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=make-initrd@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

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

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

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


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