Public bug reported:

There is an issue with the API of Gio NetworkMonitor - it is only
possible to get the "default" with g_network_monitor_get_default.

Which one is the default is based on hardcoded "priorities" which by
default are set to e.g. 30 for NetworkManager, 20 for netlink.

This means that in a scenario when e.g. NetworkManager is running, but
not used for network management (for instance networkd is used for that
purpose) Gio API will return a useless NetworkMonitor without any
available function to get the next one in the list (with lower
priority).

I believe it would make sense to extend the API to get next
NetworkMonitor if the first one is inoperable.

There are some cloud use cases where the NetworkManager is installed as
a dependency of the ubuntu-desktop metapackage, but the administrator
has chosen to use networkd instead.

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068572

Title:
  Inoperable NetworkMonitor for non-standard configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/2068572/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to