Bug 645061

Summary: Upgrade: 06inetorgperson.ldif and 05rfc4524.ldif are not upgraded in the server instance schema dir
Product: [Retired] 389 Reporter: Noriko Hosoi <nhosoi>
Component: MigrationAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2.6CC: amsharma, jgalipea
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 16:53:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 576869, 639035    
Attachments:
Description Flags
diff -r -twU4 /etc/dirsrv/schema/ /etc/dirsrv/slapd-ID/schema
none
git patch file (master) nhosoi: review?, rmeggins: review+

Description Noriko Hosoi 2010-10-20 19:12:45 UTC
Created attachment 454649 [details]
diff -r -twU4 /etc/dirsrv/schema/ /etc/dirsrv/slapd-ID/schema

Description of problem:
Install 389 v1.2.5
Then, upgrade it to v1.2.6

06inetorgperson.ldif and 05rfc4524.ldif are not upgraded in /etc/dirsrv/slapd-ID/schema.

Comment 1 Noriko Hosoi 2010-10-20 20:23:56 UTC
Created attachment 454667 [details]
git patch file (master)

Description: To replace 06inetorgperson.ldif and 05rfc4524.ldif
in teh server instance schema dir, adding the 2 schema files to
the toremove list in the schema upgrade script 60upgradeschemafiles.pl.

File: ldap/admin/src/scripts/60upgradeschemafiles.pl

Comment 2 Noriko Hosoi 2010-10-20 20:46:40 UTC
Reviewed by Rich (Thanks!!)

Pushed to master.

$ git merge 645061
Updating 28f83cc..904698e
Fast-forward
 ldap/admin/src/scripts/60upgradeschemafiles.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

$ git push
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (7/7), 738 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
   28f83cc..904698e  master -> master

Comment 4 Noriko Hosoi 2011-07-26 21:57:36 UTC
This bug would be verified with the upgrade test.
Once upgrade is done, run 
diff -r /etc/dirsrv/schema/06inetorgperson.ldif /etc/dirsrv/slapd-ID/schema/06inetorgperson.ldif
diff -r /etc/dirsrv/schema/05rfc4524.ldif /etc/dirsrv/slapd-ID/schema/05rfc4524.ldif

Both files should be identical.

Comment 5 Amita Sharma 2011-08-16 08:05:16 UTC
followed comment#4 to verify :

Upgraded from 8.2 to 9.0
============================
On 9.0 DS, executed --
[root@aminew ~]# diff -r /etc/dirsrv/schema/06inetorgperson.ldif /etc/dirsrv/slapd-aminew/schema/06inetorgperson.ldif
[root@aminew ~]# diff -r /etc/dirsrv/schema/05rfc4524.ldif /etc/dirsrv/slapd-aminew/schema/05rfc4524.ldif
[root@aminew ~]# 

Both files are identical. Hence VERIFIED.