When using dnsmasq as a local caching nameserver, sssd does not recover if it is started before DNS is available.
Steps to reproduce: stop local caching nameserver stop/start sssd start local caching nameserver
sssd never switches to online mode or retries the DNS lookup for the SRV record.
Isn't that just a case of getting your init ordering (or dependencies if you've something like systemd) correct, so that your DNS is started before sssd?
John
On 22 March 2016 at 20:03, Robert Bayerl rbayerl@fedoraproject.org wrote:
When using dnsmasq as a local caching nameserver, sssd does not recover if it is started before DNS is available.
Steps to reproduce: stop local caching nameserver stop/start sssd start local caching nameserver
sssd never switches to online mode or retries the DNS lookup for the SRV record. _______________________________________________ sssd-users mailing list sssd-users@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/sssd-users@lists.fedorahosted.org
That would be the workaround we are implementing, but one would think it would retry the DNS lookup rather than just continuing to fail.
On (22/03/16 20:54), Robert Bayerl wrote:
That would be the workaround we are implementing, but one would think it would retry the DNS lookup rather than just continuing to fail.
Which verison of sssd do you use?
BTW another workaround is to send USR2 to the sssd process. It will force sssd to reset offline state.
LS
On (22/03/16 22:45), Robert Bayerl wrote:
On (22/03/16 20:54), Robert Bayerl wrote: Which verison of sssd do you use?
1.11.5 on Ubuntu 12.04
That's buggy version and it might explain issues.
I would recommed to upgrade to lastes 1.12 (or 1.13) There is a ppa with sssd https://launchpad.net/~sssd/+archive/ubuntu/updates
I didn't test whether 1.12.5 is also for precise but there is definitely for trusty.
LS
sssd-users@lists.fedorahosted.org