Am 01.03.21 um 10:41 schrieb Andrei POPESCU:
Control: reassign -1 network-manager

On Lu, 01 mar 21, 10:00:26, Michel Meyers wrote:
Package: networkmanager
Severity: normal

Dear Maintainer,

I had a bond configured as described in Example 1 on: 
https://wiki.debian.org/Bonding

This morning, my server's bond interface showed down, and its slaves
kept getting removed. After some digging, I found that networkmanager
had gotten installed and a check in nmcli showed that it had taken over each of 
the slave interfaces
while listing bond0 as unmanaged.

It appears that NM ignores the "slaves eth0 eth1" directive in
/etc/network/interfaces so unless each of the interfaces is specifically
named as in Example 2, NM takes over the slaves, killing the bond.

If you want to prevent NM to "auto" manage your devices, you could use
/usr/share/doc/network-manager/examples/server.conf (copy it to /etc/NetworkManager/conf.d/)


Alternative, you can tell NM explicitly which devices it should ignore.
See man NetworkManager.conf → unmanaged-devices

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to