[SSSD] [PATCHES] Fixes for async resolver

Stephen Gallagher sgallagh at redhat.com
Tue Dec 14 16:10:46 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Patch 00001: Fix timeouts for DNS resolver

options.tries specifies the number of retries. Setting this to
zero means to try exactly once. Previously we were always trying
twice (internally). We want to simply honor the SSSD configuration
and fail over to the next server (or go offline) after one try.


Patch 0002: Reschedule the fd timeout for secondary lookups

We were unscheduling the timeout handler after the first lookup
(A or AAAA) returned, but not rescheduling it if we went on to
check the secondary record type. This resulted in the resolver
never returning a result for the secondary lookup, which can mean
that logins/screen unlocks after VPN drop or suspend/resume might
never complete.

Fixes https://fedorahosted.org/sssd/ticket/729

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0HlwYACgkQeiVVYja6o6NChgCfaAh7e2tZLqfojBQXpXhxrTl6
F9cAn1JMPyyKv6TTzoej6BoiNsQ3n4F2
=UPAJ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-timeouts-for-DNS-resolver.patch
Type: text/x-patch
Size: 1195 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101214/3e200b58/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Reschedule-the-fd-timeout-for-secondary-lookups.patch
Type: text/x-patch
Size: 1833 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101214/3e200b58/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-timeouts-for-DNS-resolver.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101214/3e200b58/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Reschedule-the-fd-timeout-for-secondary-lookups.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101214/3e200b58/attachment-0001.sig>


More information about the sssd-devel mailing list