#6354 regression: certmap.conf file is not backedup during ipa-server-upgrade
Closed: fixed 7 years ago Opened 7 years ago by pvoborni.

See: https://bugzilla.redhat.com/show_bug.cgi?id=1376043#c5 - VERSION line is missing.

Optional fix: make the upgrade file debugging more verbose so it doesn't need such investigation.

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

Created attachment 1200827
ipa-server-upgrade

Description of problem: certmap.conf file is not backedup during
ipa-server-upgrade


Version-Release number of selected component (if applicable):
ipa-server-4.4.0-11.el7.x86_64

How reproducible:Always


Steps to Reproduce:
1. Install ipa-server
2. Run ipa-server-upgrade
3. Check the message displayed on the console.

Actual results:
/etc/dirsrv/slapd-TESTRELM-TEST/certmap.conf is now managed by IPA. It will be
overwritten. A backup of the original will be made.  <======

/etc/dirsrv/slapd-TESTRELM-TEST
[root@master slapd-TESTRELM-TEST]# ls -l
total 1464
-rw-------. 1 dirsrv root    65536 Sep 14 18:01 cert8.db
-rw-rw----. 1 dirsrv dirsrv  65536 Sep 14 16:03 cert8.db.orig
-r--r-----. 1 dirsrv dirsrv   1623 Sep 14 15:59 certmap.conf
-rw-------. 1 dirsrv dirsrv 185075 Sep 14 18:02 dse.ldif
-rw-------. 2 dirsrv dirsrv 185075 Sep 14 18:02 dse.ldif.bak
-rw-------. 1 dirsrv root   185075 Sep 14 17:57 dse.ldif.ipa.0c9848ee71a223f7
-rw-------. 1 dirsrv root   158036 Sep 14 16:03 dse.ldif.ipa.6caae511ef006046
-rw-------. 1 dirsrv root   185075 Sep 14 18:01 dse.ldif.ipa.9e97b50e5209c89f
-rw-r--r--. 1 dirsrv root   185144 Sep 14 18:01 dse.ldif.modified.out
-rw-------. 2 dirsrv dirsrv 185075 Sep 14 18:02 dse.ldif.startOK
-r--r-----. 1 dirsrv dirsrv  36163 Sep 14 15:59 dse_original.ldif
-rw-------. 1 dirsrv root    16384 Sep 14 18:01 key3.db
-rw-rw----. 1 dirsrv dirsrv  16384 Sep 14 16:03 key3.db.orig
-r--------. 1 dirsrv dirsrv     66 Sep 14 16:03 pin.txt
-rw-------. 1 dirsrv dirsrv     40 Sep 14 16:03 pwdfile.txt
drwxrwx---. 2 dirsrv dirsrv   4096 Sep 14 18:02 schema
-rw-------. 1 dirsrv root    16384 Sep 14 18:02 secmod.db
-rw-rw----. 1 dirsrv dirsrv  16384 Sep 14 15:59 secmod.db.orig
-r--r-----. 1 dirsrv dirsrv  15142 Sep 14 15:59 slapd-collations.conf

Expected results: The message displayed during the ipa-server-upgrade on the
console says that '/etc/dirsrv/slapd-TESTRELM-TEST/certmap.conf' is now managed
by IPA. It will be overwritten. A backup of the original will be made.

Backup of the original file i.e certmap.conf is not present.


Additional info:

Metadata Update from @pvoborni:
- Issue assigned to frenaud
- Issue set to the milestone: FreeIPA 4.5

7 years ago

master:

  • c493204 Define template version in certmap.conf

Metadata Update from @mbasti:
- Custom field affects_doc reset
- Custom field tester adjusted to wanted
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata