[Bug 1873907] Re: initramfs no dhcp because of 'Error getting hardware address for " en2s0": No such device'

Benjamin Drung 1873907 at bugs.launchpad.net
Fri Sep 20 11:56:57 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better. This has been addressed at least since:

initramfs-tools (0.142ubuntu9) mantic; urgency=medium

  * Replace dhclient by dhcpcd (LP: #2024164)
  * Merge consecutive manual_add_modules calls into one

 -- Benjamin Drung <bdrung at ubuntu.com>  Mon, 14 Aug 2023 18:09:08 +0200

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1873907

Title:
  initramfs no dhcp because of 'Error getting hardware address for "
  en2s0": No such device'

Status in initramfs-tools package in Ubuntu:
  Fix Released

Bug description:
  kernel cmdline "ip=dhcp"

  results in: 
  Error getting hardware address for " en2s0": No such device
  No network during boot

  I have to change /usr/share/initramfs-tools/scripts/functions

  fix:
  run_dhclient() {
  ...
          dhclient -v -1 -cf "$conffile" -pf "$pidfile" "$@"
  to 
          dhclient -v -1 -cf "$conffile" -pf "$pidfile" $@

  regards

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: initramfs-tools-core 0.136ubuntu6 [modified: usr/share/initramfs-tools/hook-functions usr/share/initramfs-tools/scripts/functions]
  ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30
  Uname: Linux 5.4.0-25-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: KDE
  Date: Mon Apr 20 18:49:00 2020
  InstallationDate: Installed on 2020-04-18 (2 days ago)
  InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1873907/+subscriptions




More information about the foundations-bugs mailing list