Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-52842

SSSD DB version too old after upgrade

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • rhel-10.0
    • rhel-8.10
    • sssd
    • No
    • Moderate
    • sst_idm_sssd
    • ssg_idm
    • 1
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      After sssd update, sssd fails to start with error

      [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.23], expected [0.24]

      Please provide the package NVR for which bug is seen:

      sssd-2.9.4-3.el8_10.x86_64

      Steps to reproduce

      1. Upgrade sssd from a version that uses older DB version
      2. try to start sssd
      3. sssd fails with
      [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.23], expected [0.24] for domain implicit_files!
      Higher version of database is expected!
      In order to upgrade the database, you must run SSSD.
      Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.

      Expected results

      If cache is invalid for currently installed sssd version, there is little sense to keeping it. We should either remove it automatically, or back it up and create new cache.

      Actual results

      SSSD fails until manual intervention

        1. groupadd.strace
          516 kB
          Cesar Goslawski

            atikhono@redhat.com Alexey Tikhonov
            rhn-support-asharov Aleksandr Sharov
            SSSD Maintainers SSSD Maintainers
            SSSD QE SSSD QE
            Louise McGarry Louise McGarry
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: