#571 sssd clients do not reconnect after sssd is restarted
Closed: Fixed None Opened 13 years ago by sbose.

Long running programs like gdm cannot reconnect to sssd after sssd is restarted, e.g. after an upgrade.

There is a corresponding report in https://bugzilla.redhat.com/show_bug.cgi?id=607233


Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.2.2
owner: somebody => sbose

Fields changed

fixedin: => 1.2.2
resolution: => fixed
status: new => closed

Testing notes: this can be verified by running the following C program

/* License: Public Domain */

#include <sys/types.h>
#include <pwd.h>
#include <stdio.h>

int main(int argc, char **argv)
{
    while(1) {
        struct passwd *pwd;

        pwd = getpwnam(argv[1]);
        fprintf(stderr, "User [%s] has UID [%d]\n", pwd->pw_name, pwd->pw_uid);
        sleep(5);
    }
}

This will do a getpwnam() lookup every five seconds on the user specified in the commandline. Usage:

gcc -o getpwnam.test getpwnam.c
./getpwnam.test <username>

Before this fix, the {{{getpwnam.test}}} function would have crashed with a segfault if the SSSD server was restarted (e.g. with {{{service sssd restart}}}. Now it will properly reconnect to the SSSD with no user-visible error.

Metadata Update from @sbose:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.2.2

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1613

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata