From: Alexey Gladkov <gladkov.alexey@gmail.com> To: make-initrd@lists.altlinux.org Subject: Re: [make-initrd] Бесконечный цикл в VMware при поднятии сети Date: Tue, 22 Feb 2022 12:57:55 +0100 Message-ID: <20220222115755.radg7eanjizukwqt@example.org> (raw) In-Reply-To: <ff66993e-8275-7dca-2e09-4fb1df3df246@gmail.com> 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 -- Rgrds, legion
next prev parent reply other threads:[~2022-02-22 11:57 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 [this message] 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
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=20220222115755.radg7eanjizukwqt@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