It is not IPA deleting the dse.ldif, but possibly a startup/shutdown issue with Directory Server (389-ds-base).  There was a known bug about this, but it was fixed a few years ago. What version of 389-ds-base are you running?  Do you see any "Disorderly shutdown" messages in the DS errors log? (/var/log/dirsrv/slapd-YOUR_INSTANCE/errors)

For now moving dse.ldif.startOK to dse.ldif should be fine.

Thanks,

Mark

On 7/14/21 3:42 AM, lejeczek via FreeIPA-users wrote:
Hi guys.


I'd find these:
-rw-------. 1 dirsrv root   221792 Jul  9 11:53 /etc/dirsrv/.../dse.ldif.ipa.e70ef09741825387 -rw-rw----. 1 dirsrv root   221845 Jul  9 11:53 /etc/dirsrv/.../dse.ldif.modified.out -rw-------. 1 dirsrv dirsrv 221650 Jul 13 18:26 /etc/dirsrv/.../dse.ldif.startOK -rw-------. 1 dirsrv dirsrv      0 Jul 13 18:28 /etc/dirsrv/.../dse.ldif.bak

and not 'ldif' so IPA would fail for 'dirsrv' fails to start.
Use 'dse.ldif.startOK' as a source for a 'ldif' copy and IPA starts seemingly okey.

In what circumstances - that is, if that should happen at all - 'dse.ldif' would be deleted by IPA?

many thanks, L
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

--
Directory Server Development Team
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to