[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Re: ifupdown maintenance

Thread information [Search the all archive]
 ` Daniel Gröber
   ` Martin-Éric Racine
     ` Santiago Ruano Rincón
       ` Martin-Éric Racine
       ` Daniel Gröber
         ` Santiago Ruano Rincón
           ` Julien Fortin
           ` Daniel Gröber
             ` Martin-Éric Racine
               ` Josh Triplett [this message]
               ` Martin-Éric Racine
               ` Andrej Shadura
       ` Sean Whitton
         ` Martin-Éric Racine
           ` Santiago Ruano Rincón
             ` Martin-Éric Racine
               ` Replacing isc-dhcp-client with dhcpcd-base (Was: ifupdown maintenance) Daniel Gröber
                 ` Colin Watson
                 ` Henrique de Moraes Holschuh
                   ` Daniel Gröber
             ` ifupdown maintenance Sean Whitton
   ` Martin-Éric Racine
     ` Marco d'Itri
       ` Matthias Urlichs
         ` Bjørn Mork
           ` Simon McVittie
             ` Thomas Goirand
           ` Matthias Urlichs
             ` Bjørn Mork
               ` Marco d'Itri
             ` Stephan Seitz
         ` default network management tools (was: ifupdown maintenance) Simon McVittie
           ` Bernd Zeimetz
             ` default network management tools Michael Biebl
               ` Thomas Goirand
                 ` Lukas Märdian
             ` default network management tools (was: ifupdown maintenance) Marc Haber
               ` default network management tools Matthias Urlichs
                 ` Marco d'Itri
                   ` Marc Haber
           ` Thomas Goirand
           ` default network management tools (was: ifupdown maintenance) Santiago Ruano Rincón
         ` ifupdown maintenance Simon Richter
           ` Luca Boccassi
             ` Simon Richter
               ` Marco d'Itri
                 ` Simon Richter
                   ` Ansgar 🙀
                     ` Marc Haber
                       ` Jose Luis Tallon
                     ` Simon Richter
                       ` Andrej Shadura
                   ` Marco d'Itri
                   ` Matthias Urlichs
           ` Ansgar 🙀
             ` Simon McVittie
               ` what about Netplan? Philip Hands
                 ` Marco d'Itri
                   ` Lukas Märdian
                     ` Luca Boccassi
                       ` Lukas Märdian
                         ` Andrey Rakhmatullin
                           ` Luca Boccassi
                             ` Philip Hands
                               ` Luca Boccassi
                             ` Steve McIntyre
                               ` Simon McVittie
                                 ` Luca Boccassi
                                 ` Cyril Brulebois
                                 ` Lukas Märdian
                                   ` Marvin Renich
                                     ` Lukas Märdian
                                       ` Marvin Renich
                                   ` Luca Boccassi
                                     ` Steve Langasek
                                       ` Luca Boccassi
                                     ` thomas
                                   ` Marc Haber
                                     ` Lukas Märdian
                                       ` thomas
                                         ` Lukas Märdian
                                       ` Jose Luis Tallon
                                         ` Lukas Märdian
                                       ` Stephan Seitz
                                         ` Colin Watson
                                         ` Philip Hands
                                           ` gregor herrmann
                                             ` Luca Boccassi
                                             ` Philip Hands
                                             ` Lukas Märdian
                                               ` Ansgar 🙀
                                                 ` Matthias Urlichs
                                                   ` Arne Pisch
                                         ` Lukas Märdian
                                           ` Stephan Seitz
                                 ` Luca Boccassi
                                   ` Lukas Märdian
                                   ` Size measuring contest (Was: what about Netplan?) Daniel Gröber
                                     ` Luca Boccassi
                               ` what about Netplan? Thomas Goirand
                                 ` Guus Sliepen
                 ` Lukas Märdian
                   ` Cyril Brulebois
                     ` Noah Meyerhans
                 ` Thomas Goirand
               ` ifupdown maintenance Luca Boccassi
         ` Michael Stone
           ` Chris Hofstaedtler
     ` Daniel Gröber
       ` Martin-Éric Racine
         ` Daniel Gröber
           ` Martin-Éric Racine
             ` Daniel Gröber
               ` Martin-Éric Racine
             ` Jose Luis Tallon
           ` Michael Stone
             ` Ansgar 🙀
               ` Michael Stone
   ` Vincent Bernat
     ` Marco d'Itri

From:  Josh Triplett <josh-AT-joshtriplett.org>
To:  debian-devel-AT-lists.debian.org
Subject:  Re: ifupdown maintenance
Date:  Sun, 14 Jul 2024 22:49:16 -0700
Message-ID:  <ZpS4XIXP7RNkOF9m@localhost>

Martin-Éric Racine wrote:
> la 13. heinäk. 2024 klo 2.02 Daniel Gröber (dxld@darkboxed.org) kirjoitti:
> > On Thu, Jul 11, 2024 at 12:57:52PM +0300, Martin-Éric Racine wrote:
> > What I'd like to know is why is removing all traces of ifupdown* from a
> > minimal Debian install important? Clearly Desktop/Cloud image maintainers
> > think a different tool is more well suited for their users. That's fine.
> >
> > The question is: What problems does ifupdown* cause that make its removal
> > from the base system worthwhile?
>
> I haven't seen any answer to this one either.

Leaving aside the questions of "what use cases does ifupdown not handle"
(which it sounds like folks are generally acknowledging the existence
of), the question of "why is it important to remove ifupdown and its
configuration from the system" has a fairly simple answer: because
different network tools trying to poke at the same network devices, *or*
network tools working around each other to carefully *not* poke at the
same network devices, causes problems and conflicts and user surprises,
and should be treated as an unusual non-default configuration rather
than a common one. It is possible to carefully configure a system such
that ifupdown handles one set of interfaces while NetworkManager or
systemd-networkd handles a disjoint set, but there's little to no
benefit to doing so for most users: once you're using one of those,
*most* users will want to let that tool handle a *complete* picture of
the attached network devices in order to set up the configuration the
user wants.

NetworkManager has a dedicated plugin with a pile of logic to attempt to
detect if an interface lives in /etc/network/interfaces and treat it as
"unmanaged". In practice, however, *most* desktop users running
NetworkManager will get a suboptimal experience if they have any
interfaces configured in /e/n/i, compared to the experience they get if
NetworkManager manages all interfaces. This is why, for instance,
debian-installer already has logic to check if the user is installing a
desktop system, and in that case, copy the network configuration over to
NetworkManager if needed and remove it from /etc/network/interfaces.

Given that, I would suggest in general that it makes sense for the
installer to treat network management tools as mutually exclusive rather
than keeping more than one tool installed: e.g. if installing the
desktop task install and configure NetworkManager, else install and
configure something else. That doesn't *stop* people from installing
whatever they want, it just makes the common case have just one tool and
one path for the user to deal with.

If a user with an unusual use case wants to install more than one
network management tool and configure them to carefully manage disjoint
sets of interfaces, they can absolutely do that; I'm not suggesting that
the tools should have Conflicts with each other. But if there were some
kind of "Recommends-Conflict" for "packages that would *not* be found
together except in unusual installations", it'd make sense for network
management tools to Recommends-Conflict each other. And in the meantime,
it makes sense for the installer to treat them as effectively mutually
exclusive so that the user's installed system ends up with at most one
of them.

- Josh Triplett



Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds