Why does PackageKit depend on NetworkManager?
hughsient at gmail.com
Wed Aug 27 07:54:18 UTC 2008
On Tue, 2008-08-26 at 23:36 -0400, Dan Williams wrote:
> Right, that's the way it should work. If talking to NM fails, the app
> should either (a) assume a connection, or (b) could be more
> by asking SIOCGIFCONF/netlink for interfaces, and if at least one
> interface is IFF_UP | IFF_RUNNING and has an IP address, then try.
Yes, we do have a metric for the NM isn't present case.
> But only by using NM can PK really do things like "don't update while
> on 3G" and such which would be quite a bit more difficult without NM.
Exactly. To do all the fancy stuff, there's no way we can infer al the
extra information without NM.
More information about the devel