[Bug 2068572] Re: Inoperable NetworkMonitor for non-standard configuration
Bug Watch Updater
2068572 at bugs.launchpad.net
Thu Jun 6 09:58:45 UTC 2024
** Changed in: glib
Status: Unknown => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/2068572
Title:
Inoperable NetworkMonitor for non-standard configuration
Status in GLib:
Fix Released
Status in glib2.0 package in Ubuntu:
Won't Fix
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glib/+bug/2068572/+subscriptions
More information about the foundations-bugs
mailing list