You are not logged in.

#1 2020-01-22 17:31:29

damnbug
Member
Registered: 2012-09-18
Posts: 84

Disabling NetworkManager's NMBluezManager plugin

I want NetworkManager to stop loading a device plugin, in this case, NMBluezManager.

"journalctl | grep -i blue" shows:

NetworkManager[xxx]: <info>  [xxxxxxxxxx.xxxx] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.22.4-1/libnm-device-plugin-bluetooth.so)

NetworkManager.conf manual shows:

Minimal system settings configuration file looks like this:

           [main]
           plugins=keyfile

       As an extension to the normal keyfile format, you can also append a value to a previously-set list-valued key by doing:

           plugins+=another-plugin
           plugins-=remove-me

So I tried to edit /etc/NetworkManager/NetworkManager.conf in different ways:
- added "plugins-=bluetooth" below "plugins=keyfile";
- replaced "plugins=keyfile" with either "plugins-=bluetooth" or "plugins-=bluetooth";
- left "plugins=keyfile" and added "plugins-=bluetooth", etc.;
- reloaded (nmcli con reload) and restarted (via systemctl) NetworkManager.

Despite all these attempts, NMBluezManager (bluetooth.so) is still loaded, perhaps because keyfile is always used.

Any solution via configuration file?

Edit: moving/removing libnm-device-plugin-bluetooth.so from /usr/lib/NetworkManager/1.22.4-1/ is a way to stop loading the plugin.

Last edited by damnbug (2020-01-22 17:40:53)

Offline

Board footer

Powered by FluxBB