URL: https://github.com/SSSD/sssd/pull/5343 Title: #5343: autofs: distinguish between empty cache and offline state
alexey-tikhonov commented: """
If the cache is empty and SSSD is offline we now return a proper error code to autofs so it can iplement a proper retry logic to fetch the maps when SSSD comes back offline.
This is, of course, out of SSSD scope, but what happens - currently and planned - if: `automount: db1 db2` and `db1` returns `EHOSTDOWN`? (IIUC, in case of `ENOENT` autofs would ask `db2`)
In some sense this is a change of API between autofs and plugin. Is this change backward compatible with autofs that doesn't implement proper handling of this error code yet?
"""
See the full comment at https://github.com/SSSD/sssd/pull/5343#issuecomment-706388498