[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Dimitri John Ledkov
aoetools is effectively unchanged, and their initramfs_hook is the same
since xenial.

in the initramfs-tools the changes between 18.04 LTS and 20.04 LTS are
that for automatic IP bring up, more methods are now supported with more
robust IPv4 DHCP and IPv6 DHCP.

Was your 18.04 LTS installation customized to prevent DCHP in the
initrd? Or was DHCP attempted in 18.04 LTS and simply was failing,
keeping things working? Is this something you can rectify with preup
ifupdown hooks, such that dhcp leases that are not needed are removed in
the running system? Or is booting with ip=none parameter sufficient for
you?

Please indicate what has changed, to cause failures. Because the
behaviour of aoetools in stock configuration between 18.04 LTS and 20.04
LTS is expected to be the same, with dhcp being performed from the
initrd by default.

** Changed in: aoetools (Ubuntu)
   Status: New => Incomplete

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Incomplete

** Summary changed:

- Something starts dhcclient for every intrface on boot
+ aoetools initramfs hooks starts dhcclient for every intrface on boot

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

Title:
  aoetools initramfs hooks starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Dimitri John Ledkov
aoe hook is provided by
https://packages.ubuntu.com/source/hirsute/aoetools

If you need this package, but you do not want aoe hook to fire in the
initramfs, you can as a local override dissable it with:

dpkg-statoverride --add --update root root 0644 /usr/share/initramfs-
tools/scripts/local-top/aoe

Or if you have recommendations to improve it, please share your
thoughts.

Your remarks in your comments are not polite. Please check out
https://ubuntu.com/community/code-of-conduct

** Changed in: ifupdown (Ubuntu)
   Status: Incomplete => Invalid

** Changed in: netplan.io (Ubuntu)
   Status: Incomplete => Invalid

** Also affects: aoetools (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: initramfs-tools (Ubuntu)
   Status: Incomplete => New

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

Title:
  Something starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Dimitri John Ledkov
I marked the bug incomplete, when asking for additional information.
Which is a normal bug processing procedure. This happened _before_ your
comment #4 and #5.

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

Title:
  Something starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aoetools/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Andrey Lelikov
Oh, and just noticed that it was marked as "incomplete". Truly, I CAN
see the future...

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

Title:
  Something starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Andrey Lelikov
This has nothing to do with network, as mentioned earlier netplan is
masked and ifupdown works as expected. Moreover it is known EXACTLY what
happens (in initramfs):

local_top/aoe calls configure_networking

In absence of any kernel args, configure_networking tries to bring up
every interface, by launching dhcpc for 3(?) seconds. This succeeds for
interface that will be configured as part of bridge by ifupdown later,
so bridge is left unconfigured and network is lost.

The current workaround is to add ip=none to kernel line

The proper fix is to change configure_networking to have a mode/arg
where it brings up network interfaces bot does not try to assign ip
addresses, and call it this way from local_top/aoe . Probably even split
configure_networking into two functions...

p.s. I can predict the future though (I have such a gift) - the
resolution would be "AOE is used by 0.01% of ubuntu
users, we power the word and store petabytes of data, mark this as
enhancement for a future version N+5".

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

Title:
  Something starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-03-04 Thread Dimitri John Ledkov
ubuntu-core-initramfs project is not used on Ubuntu 20.04 LTS servers
and desktops.

However I also don't think this is caused by initramfs.

It would help for you to check your NetworkManager configuration,
netplan configuration and ifupdwon configurations.

** Project changed: ubuntu-core-initramfs => initramfs-tools (Ubuntu)

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Incomplete

** Also affects: ifupdown (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: ifupdown (Ubuntu)
   Status: New => Incomplete

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: netplan.io (Ubuntu)
   Status: New => Incomplete

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

Title:
  Something starts dhcclient for every intrface on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1905472/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1905472] Re: Something starts dhcclient for every intrface on boot

2021-01-03 Thread Andrey Lelikov
The culprit is intramfs. Starting with 20 LTS, having an AOE device
brings in local_top/aoe, which calls configure_networking . This causes
dhcp configuration of the primary net interface, which screws up all
network later (as this physical interface is part of the bridge, and
bridge can't get a dhcp lease later).

AOE stands for "ATA over ETHERNET", not ATA over IP. There is zero need
to bring up ip stack for aoe to function.


** Also affects: ubuntu-core-initramfs
   Importance: Undecided
   Status: New

** No longer affects: isc-dhcp (Ubuntu)

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

Title:
  Something starts dhcclient for every intrface on boot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs