Dracut NM module

Thomas HUMMEL thomas.hummel at pasteur.fr
Mon Sep 16 13:43:12 UTC 2024


On 9/16/24 3:24 PM, Andrei Borzenkov wrote:
> On Mon, Sep 16, 2024 at 3:48 PM Thomas HUMMEL <thomas.hummel at pasteur.fr> wrote:

Thanks for your reply.


> Normally modules that need networking are supposed to depend on the
> network which will pick up the backend in order of preference (it will
> prefer NetwoekManager if available). If you explicitly added a
> networking backend already, the network module will respect it.

You mean - that's what I saw at least - passing a "handler" to the 
network module + interfaces as arguments so the network module is 
somewhat a generic hook ?

Is this order of preference expressed in a config somewhere ?


> Generated connection profiles are stored in /run and so should survive
> switching to the real root.

Ok.

And in the case of dracut with legacy module, one switched to the new 
root, NM would I guess still consider the connection as externally 
managed (assuming no one manipulate it with NM afterwards), correct ?

-- 
Thomas HUMMEL
HPC Group
Institut PASTEUR
Paris, FRANCE


More information about the Networkmanager mailing list