Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sssd clients do not reconnect after sssd is restarted #1613

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

sssd clients do not reconnect after sssd is restarted #1613

sssd-bot opened this issue May 2, 2020 · 0 comments
Assignees
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/571


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

Comments


Comment from sgallagh at 2010-07-30 13:12:37

Fields changed

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


Comment from sgallagh at 2010-07-30 13:12:55

Fields changed

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


Comment from sgallagh at 2010-07-30 13:21:54

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.


Comment from mkosek at 2011-12-16 15:54:48

Fields changed

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=607233 607233]


Comment from sbose at 2017-02-24 14:51:07

Metadata Update from @sbose:

  • Issue assigned to sbose
  • Issue set to the milestone: SSSD 1.2.2
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants