Is there any way to determine is this is a primary interface or not? I think we should treat interface through which we established connection th the server (in my terms "primary" interface) differently from other interfaces. If we get notification from the NM about the interface that we used to talk to server (i.e. "primary interface) we should go offline. If we get notification from a different interface we should ignore it.
Thoughts? Thanks Dmitri -------- Original Message -------- Subject: Re: [SSSD] #456: Register with NetworkManager for notifications Date: Wed, 28 Apr 2010 15:02:49 -0000 From: SSSD <t...@fedorahosted.org> Reply-To: nob...@fedoraproject.org To: undisclosed-recipients:; References: <048.d00731159f061af1a3cdebde3f0f8...@fedorahosted.org> #456: Register with NetworkManager for notifications ------------------------------+--------------------------------------------- Reporter: sgallagh | Owner: somebody Type: enhancement | Status: new Priority: major | Milestone: NEEDS_TRIAGE Component: Data Provider | Version: 1.1.1 Resolution: | Keywords: Fixedin: | Doc: 0 Tests: 1 | Docupdated: 0 Testsupdated: 0 | ------------------------------+--------------------------------------------- Comment (by simo): Note: this maybe harder then it seem at a first sight. We can really force offline mode only if *all* interfaces have been shut down. If only one of many is stopped we can't just blindly go oflline. Same sort of consideration for trying to go online apply. -- Ticket URL: <https://fedorahosted.org/sssd/ticket/456#comment:2> SSSD <http://fedorahosted.org/sssd> System Security Services Daemon -- Thank you, Dmitri Pal Engineering Manager IPA project, Red Hat Inc. ------------------------------- Looking to carve out IT costs? www.redhat.com/carveoutcosts/ _______________________________________________ sssd-devel mailing list sssd-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/sssd-devel