[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#995189: RFH: isc-dhcp



On 9/28/21 11:49 AM, Vincent Bernat wrote:
  ❦ 28 September 2021 11:16 -05, Richard Laager:

As to what should be the distro default, I'm not sure I am convinced
either way, but to argue the other side... There is some value in
using netplan by default. Some random thoughts:
[...]
OTOH, netplan is just an abstraction above existing systems

Agreed.

and does not
allow proper reconfiguration.
What do you mean?

Make a change, reload your configuration, everything breaks.

Are you saying "everything breaks" as in:
A) the change is not applied (correctly) in the way that it would be if
   the system was rebooted, or
B) the change is applied, but the human made a mistake in the config and
   the change breaks things, or
C) B + the human gets cut off from e.g. SSH due to the error?

I would say (generally) that A is a bug, B is inherent to any tooling applying a human's instructions, and C can be addressed by a rollback function.

`netplan try` covers C (and thus also B).

`netplan apply` (and thus `netplan try`) have a caveat that they don't remove virtual devices that are no longer described in the config. This feels like an example of A, though it's arguable how much it matters.

ifupdown2
is smart and will converge to the new configuration. Network Manager can
restart and minimize impact. AFAIK, systemd-networkd is as dumb as
ifupdown and does not know how to converge.

What does converge mean in this context? Is something needing to apply parts of the changes iteratively to arrive at the desired state?

My point is that ifupdown2 was a possible successor to ifupdown but was
never adopted because written in Python. As netplan is written in
Python, ifupdown2 seems a far better replacement.
Am I understanding correctly that ifupdown2 is an alternative to systemd-networkd and NetworkManager (as opposed to netplan, which is a layer on top of them)?

Can you articulate why ifupdown2 is better than e.g. systemd-networkd + netplan? I'm not looking for an exhaustive comparison or anything, but just a brief statement or two if you're willing?

I've never used it, and if it's better than systemd-networkd + netplan, I might consider switching.

--
Richard


Reply to: