[Bug 1793060] [NEW] configure_networking uses features not available in initramfs.

Vinson Lee 1793060 at bugs.launchpad.net
Tue Sep 18 05:19:14 UTC 2018


Public bug reported:

initramfs-tools 0.131ubuntu10 modified configure_networking to use
run_dhclient instead of ipconfig. configure_network now fails to
configure networking in the initramfs because it now uses features not
available in the initramfs.

https://git.launchpad.net/ubuntu/+source/initramfs-
tools/commit/?id=a77729e9a69ff7af4911285c771d80e01b7addfe

run_dhclient calls dhclient which calls /sbin/dhclient-script.

/sbin/dhclient-script calls 'chown --reference=$resolv_conf
$new_resolv_conf', but chown isn't available in initramfs
/boot/initrd.img-4.18.0-7-generic.

/sbin/dhclient-script also calls 'chmod --reference=$resolv_conf
$new_resolv_conf' but busybox chmod in the initramfs does not support
the option --reference.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: cosmic

-- 
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/1793060

Title:
  configure_networking uses features not available in initramfs.

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  initramfs-tools 0.131ubuntu10 modified configure_networking to use
  run_dhclient instead of ipconfig. configure_network now fails to
  configure networking in the initramfs because it now uses features not
  available in the initramfs.

  https://git.launchpad.net/ubuntu/+source/initramfs-
  tools/commit/?id=a77729e9a69ff7af4911285c771d80e01b7addfe

  run_dhclient calls dhclient which calls /sbin/dhclient-script.

  /sbin/dhclient-script calls 'chown --reference=$resolv_conf
  $new_resolv_conf', but chown isn't available in initramfs
  /boot/initrd.img-4.18.0-7-generic.

  /sbin/dhclient-script also calls 'chmod --reference=$resolv_conf
  $new_resolv_conf' but busybox chmod in the initramfs does not support
  the option --reference.

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



More information about the foundations-bugs mailing list