Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #67576 > unrolled thread

Bug#965935: configure_networking() should wait for specified interface

Started bydann frazier <dannf@dannf.org>
First post2020-07-21 02:30 +0200
Last post2021-03-13 20:00 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#965935: configure_networking() should wait for specified interface dann frazier <dannf@dannf.org> - 2020-07-21 02:30 +0200
    Bug#965935: MR link dann frazier <dannf@dannf.org> - 2020-07-21 02:40 +0200
    Bug#965935: marked as done (configure_networking() should wait  for specified interface) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-03-13 20:00 +0100

#67576 — Bug#965935: configure_networking() should wait for specified interface

Fromdann frazier <dannf@dannf.org>
Date2020-07-21 02:30 +0200
SubjectBug#965935: configure_networking() should wait for specified interface
Message-ID<AuOkp-1i3-1@gated-at.bofh.it>
Package: initramfs-tools-core
Version: 0.137
Severity: normal
Tags: patch

configure_networking() will do a `udevadm settle` before trying to configure
an interface. However it is possible for a NIC to appear after the event
queue has settled. This is pretty reproducible with a USB NIC I have.
There doesn't appear to be a good way to wait for all devices that
were connected at boot time to become available - `udevadm settle` is
just the closest thing we have.

However, in the case that the user has told us which interface they expect
to be used in the initramfs, we can just wait for it specifically. As a
bonus, this should shave off some time on systems where the NIC is available
before the udev event queue has emptied. I've a patch to do this, which
I'll submit as an MR in salsa.

Note: This should help out with the following issue in clevis, which
provides a mechanism for unlocking a LUKS root device from the initramfs
by communicating with a tang server:
  https://github.com/latchset/clevis/issues/145

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.7.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages initramfs-tools-core depends on:
ii  coreutils    8.32-3
ii  cpio         2.13+dfsg-3
ii  e2fsprogs    1.45.6-1
ii  klibc-utils  2.0.7-1
ii  kmod         27+20200310-2
ii  logsave      1.45.6-1
ii  udev         245.6-3

Versions of packages initramfs-tools-core recommends:
ii  busybox  1:1.30.1-5
ii  pigz     2.4-1+b1

Versions of packages initramfs-tools-core suggests:
ii  bash-completion  1:2.10-1

-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed [not included]

-- no debconf information

[toc] | [next] | [standalone]


#67577 — Bug#965935: MR link

Fromdann frazier <dannf@dannf.org>
Date2020-07-21 02:40 +0200
SubjectBug#965935: MR link
Message-ID<AuOu5-1lb-3@gated-at.bofh.it>
In reply to#67576
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/32

[toc] | [prev] | [next] | [standalone]


#69805 — Bug#965935: marked as done (configure_networking() should wait for specified interface)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2021-03-13 20:00 +0100
SubjectBug#965935: marked as done (configure_networking() should wait for specified interface)
Message-ID<BShEv-7oR-29@gated-at.bofh.it>
In reply to#67576

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 13 Mar 2021 18:49:40 +0000
with message-id <E1lL9KW-000HhQ-86@fasolo.debian.org>
and subject line Bug#965935: fixed in initramfs-tools 0.140
has caused the Debian Bug report #965935,
regarding configure_networking() should wait for specified interface
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
965935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965935
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web