Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 884666 - sudo: if first full refresh fails, schedule another first full refresh
sudo: if first full refresh fails, schedule another first full refresh
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
6.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Jakub Hrozek
Nikolai Kondrashov
:
Depends On:
Blocks: 895654
  Show dependency treegraph
 
Reported: 2012-12-06 09:20 EST by Dmitri Pal
Modified: 2013-02-21 04:42 EST (History)
5 users (show)

See Also:
Fixed In Version: sssd-1.9.2-51.el6
Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-02-21 04:42:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0508 normal SHIPPED_LIVE Low: sssd security, bug fix and enhancement update 2013-02-20 16:30:10 EST

  None (edit)
Description Dmitri Pal 2012-12-06 09:20:44 EST
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/1689

When SSSD starts we need to perform sudo full refresh in order to obtain current USN values. Without these values, smart refresh won't work correctly.

At the moment, if the first full refresh fails because of server error (e.g. offline), we just continue as planned - i.e. schedule new full refresh after a long period (like 6 hours) and schedule smart refresh in short period (15 minutes). This means that the smart refresh won't work for several hours, until the full refresh is performed.

We should reset the state and try to perform the first full refresh again after a short interval.
Comment 1 Jakub Hrozek 2012-12-11 12:49:30 EST
Oops, wrong bug. Flipping back to assigned, I confused this bug with one that fixes #1682.
Comment 3 Nikolai Kondrashov 2013-01-09 08:40:28 EST
Verified as fixed with the following packages:

libsss_idmap-1.9.2-59.el6.x86_64
sssd-client-1.9.2-59.el6.x86_64
sudo-1.8.6p3-6.el6.x86_64
sssd-1.9.2-59.el6.x86_64
libsss_sudo-1.9.2-59.el6.x86_64

Relevant sudo suite output:

:: [   PASS   ] :: full_refresh_init_retry
Comment 4 errata-xmlrpc 2013-02-21 04:42:18 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0508.html

Note You need to log in before you can comment on or make changes to this bug.