#6165 ipa-backup is not keeping the /etc/tmpfiles.d/dirsrv-<instance>.conf
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1360631

Description of problem:

since ipa-backup is storing all the conf files created by ipa/ns-slapd, this
file should also be stored:


this file allows daemon tmpfiles.d to re-create the dirs in volatile
directories like /var/run or /var/lock

I had a case where customer after restore had issues to restart dirsrv and it
was because this file was missing. Having said this, this file should always be
present after a backup and restore. I cannot imagine how it has disappeared at
customer side.

But if the policy is the store in files.tar all the files created by
ipa/ns-slapd, this one should also be created.

Version-Release number of selected component (if applicable):

How reproducible: always

Steps to Reproduce:
1. ipa-backup

Actual results:

tar tvf files.tar | grep tmpfiles.d
(no file)

Expected results:

tar tvf files.tar | grep tmpfiles.d


  • 148e021 ipa-backup: backup /etc/tmpfiles.d/dirsrv-<instance>.conf

Metadata Update from @pvoborni:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.4.1

6 years ago

Login to comment on this ticket.