#6165 ipa-backup is not keeping the /etc/tmpfiles.d/dirsrv-<instance>.conf
Closed: Fixed None Opened 8 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:

/etc/tmpfiles.d/dirsrv-<instance>.conf

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):
ipa-server-4.2.0-15.el7_2.3.x86_64


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
/etc/tmpfiles.d/dirsrv-<instance>.conf

master:

  • 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

8 years ago

Log in to comment on this ticket.

Metadata