networkAgent.js: NM_VPN_PLUGIN_DIR is not monitored
Affected version
gnome-shell 3.30.2 on Wayland, Debian 10
Bug summary
Only /usr/lib/NetworkManager/VPN is monitored for changes, but network-manager looks for plugins also in NM_VPN_PLUGIN_DIR
https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/3.30.2/js/ui/components/networkAgent.js#L623 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/1.14.6/libnm-core/nm-vpn-plugin-info.c#L192
Ideally, the locations to be monitored should not be hard-coded, and instead the libnm API to get the list of directories should be used.
Edited by Luca Boccassi