[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Why does PackageKit depend on NetworkManager?



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
> intelligent
> 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.

Richard.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]