Make-initrd development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] Бесконечный цикл в VMware при поднятии сети
Date: Tue, 22 Feb 2022 15:04:04 +0100
Message-ID: <20220222140404.y4lw7f42b7nsbmaa@example.org> (raw)
In-Reply-To: <f2f232eb-796a-5cde-da9b-7ed3d2b3220e@gmail.com>

On Tue, Feb 22, 2022 at 04:29:33PM +0300, Leonid Krivoshein wrote:
> 
> 22.02.2022 16:04, 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. На такое
> > > периодически натыкаюсь, используя более легковесный read -r вместо head -n1
> > > в субшеле.
> > Я не очень понял. Где ты на это натыкаешься ?
> 
> В своём коде, конечно. :-)

Я знаю про такую ситуацию (отсутствие \n у последней строки). Код, который
такое обрабатывает есть и в runtime, и для генерации. Такие строки могут
быть даже в /sys.

> > Чтобы исправить что-то мне нужно либо способ воспроизвести, либо указание
> > на проблемный код. Иначе я не понимаю, что мы исправляем (что писать в
> > commit message) и проблемный код так и останется неисправленным.
> 
> Да, это понятно. Мне тоже неясно, почему именно эта "волшебная таблетка"
> помогает, почему в других конфигурациях нет таких же проблем. Тем более, в
> указанном файле изменений в гите не видать.

Вот-вот.

-- 
Rgrds, legion



      reply	other threads:[~2022-02-22 14:04 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
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 [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=20220222140404.y4lw7f42b7nsbmaa@example.org \
    --to=gladkov.alexey@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