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

Vinson Lee 1793060 at bugs.launchpad.net
Thu Sep 20 15:02:36 UTC 2018


(initramfs) configure_networking
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[ 1058.743798] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1058.770773] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 279132 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 255077 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 237655 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 252887 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 279002 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 285138 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 266690 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 302349 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 259470 seconds.
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPREQUEST of xxx.xxx.xxx.xxx on eth0 to 255.255.255.255 port 67 (xid=0xXXXXXXXX)
DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
ip: RTNETLINK answers: File exists
/sbin/dhclient-script: line 468: chown: not found
chmod: unrecognized option '--reference=/etc/resolv.conf'
BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu4) multi-call binary.

Usage: chmod [-R] MODE[,MODE]... FILE...

Each MODE is one or more of the letters ugoa, one of the
symbols +-= and one or more of the letters rwxst

    -R    Recurse
bound to xxx.xxx.xxx.xxx -- renewal in 289198 seconds.
no search or nameservers found in /run/net-.conf /run/net-*.conf /run/net6-*.conf

-- 
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:
  Confirmed

Bug description:
  initramfs-tools 0.131ubuntu10 modified configure_networking to use
  run_dhclient instead of ipconfig. configure_networking 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