[PATCHES] fix SRV expansion
by Pavel Březina
https://fedorahosted.org/sssd/ticket/1947
A fast explanation how _srv_ expansion works. _srv_ is inserted into
server list as so called meta server. Let us consider following
configuration:
*Setup*
ipa_server = _srv_, ipa.pb
server list will contain: meta -> ipa.pb
*Expansion*
meta -> ipa.pb:389 -> ipa.pb ; remove meta
ipa.pb:389 -> ipa.pb ; meta
*Collapse*
remove ipa.pb:389 ; insert meta
meta -> ipa.pb
The main problem is that expanded SRV servers are marked as NEUTRAL
during online check, but they don't collapse back into a meta server.
This will trigger another SRV expansion, leaving the old server in the
list and trying to add the servers again. This is present in both master
and 1.9 (and probably older versions), although the result is slightly
different.
In master, we don't insert a server into server list if it is already
present. Because state->meta is orphaned from the previous SRV
expansion, state->meta->next is NULL and SSSD crashes later.
In 1.9, we simply insert duplicate servers. Those servers are inserted
after orphaned state->meta, state->meta is orphaned again, leaving those
servers globally unreachable. However, it seemingly does not affect the
fail over. You just run into d25e7c65.
Here are four patches for master, and two patches for 1.9.
10 years, 10 months
[PATCH] Don't use srcdir with tests
by Jakub Hrozek
Without this patch I can't build SSSD for rawhide as new autoconf
versions error out when $(srcdir) is used in TESTS:
Makefile.am:149: error: using '$(srcdir)' in TESTS is currently broken:
'$(srcdir)/src/config/SSSDConfigTest.py'
parallel-tests: installing 'build/test-driver'
Makefile.am:149: error: using '$(srcdir)' in TESTS is currently broken:
'$(srcdir)/src/tests/pyhbac-test.py'
Makefile.am:149: error: using '$(srcdir)' in TESTS is currently broken:
'$(srcdir)/src/tests/pysss_murmur-test.py'
Not using srcdir is OK as the GNU manual states:
"Automake ensures that each file listed in TESTS is built before it is
run; you can list both source and derived programs (or scripts) in
TESTS; the generated rule will look both in srcdir and .."
This is an excerpt from:
http://www.gnu.org/software/automake/manual/automake.html#Scripts_002dbas...
10 years, 10 months
I heard you were in a need for a logo?
by Tuomas Kuosmanen
Hello. And nice to meet you.
I was being asked by Alexander Bokovoy to do a new logo to represent SSSD. I gave it some cycles. Here are two ideas that came to my mind, please let me know if you like them?
http://www.tigert.com/designspace/sssd-logoideas.png
The designs are more or less just the "metaphor" - focusing on the basic idea, not the actual representation yet.
Let me know how you like them? :-)
I know Garrett had some ideas too, I'll poke him about the discussion here as well, put him on Cc, if he has something to share.
//Tuomas
10 years, 10 months