#3811 [RFE] SSSD does not create missing files during startup
Closed: Invalid Opened by adamkosseck.

During startup of the SSSD service if non-critical files or folders are missing, service startup will fail.

e.g. logs
rm -f /var/log/sssd/*

e.g. Also files & folders under /var/lib/sss
rm -rf /var/lib/sss/db

During startup SSSD should scan for and recreate any missing files or folders and assign appropriate permissions.

Platforms: RHEL 7.5, Ubuntu 16.04.5, Ubuntu 18.04.1
SSSD Versions tested: 1.13.3, 1.16.x


SSSD do create the files, but not the dirs.

Creating the dirs is responsibility of the package during installation time and the user should never ever be removing them by any reason.

I'd prefer to have it closed as a "NOTABUG".

+1, the directory ownership is something sssd can't even create properly during runtime.

If you removed the dirs, please dnf reinstall the package that owns the dirs. In the future, don't remove the caches directly, but use the sssctl command.

Metadata Update from @jhrozek:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

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/4805

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.

Metadata