[Touch-packages] [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
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

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

Status in aoetools package in Ubuntu:
  Incomplete
Status in ifupdown package in Ubuntu:
  Invalid
Status in initramfs-tools package in Ubuntu:
  Incomplete
Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in aoetools package in Ubuntu:
  New
Status in ifupdown package in Ubuntu:
  Invalid
Status in initramfs-tools package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in aoetools package in Ubuntu:
  New
Status in ifupdown package in Ubuntu:
  Invalid
Status in initramfs-tools package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  Invalid

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in ifupdown package in Ubuntu:
  Incomplete
Status in initramfs-tools package in Ubuntu:
  Incomplete
Status in netplan.io package in Ubuntu:
  Incomplete

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in ifupdown package in Ubuntu:
  Incomplete
Status in initramfs-tools package in Ubuntu:
  Incomplete
Status in netplan.io package in Ubuntu:
  Incomplete

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in ifupdown package in Ubuntu:
  Incomplete
Status in initramfs-tools package in Ubuntu:
  Incomplete
Status in netplan.io package in Ubuntu:
  Incomplete

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [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
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1905472

Title:
  Something starts dhcclient for every intrface on boot

Status in ubuntu-core-initramfs:
  New

Bug description:
  After upgrade frpm 18LTS to 20LTS I've lost the network.

  Network is managed by ifupdown
  Netplan is not installed
  Network manger is disabled (masked)

  Yet, at boot, SOMETHING starts dhclient for every network interface.
  This has disastrous results - dhcp request succeeds on physical
  interface that is a base for a vlan-based interface, causing real dhcp
  request on to fail on vlan interface.

  Expected behavior - dhclient starts only for interfaces marked as dhcp
  in /etc/network/interfaces .

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: isc-dhcp-client 4.4.1-2.1ubuntu5
  ProcVersionSignature: Ubuntu 5.8.0-29.31~20.04.1-generic 5.8.14
  Uname: Linux 5.8.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.12
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Wed Nov 25 00:07:45 2020
  SourcePackage: isc-dhcp
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp