Issue #394 has been updated by Nick Milas.

Please allow me to re-open this issue, to ask something. 

I've copied the RPMs (which I have built) on another box and tried to install. 

After that, the following happened. As you see, there are some things 
(openldap-servers, openldap-servers-overlays) remaining from a much older 
installation on the same box, which I had not cleaned up.

It looks strange that there were some conflicts, since the new RPMs should not 
affect anything in the default /etc/openldap/ directory.

As you see, I removed the package for which I got yum complaints, and 
installation proceeded successfully. 

Yet, there were some actions performed on some files in directory: 
/etc/openldap/schema/ which I wouldn't expect, and I thought you might want to 
check.

Can you please inform me if I did something wrong or I missed something during 
the build process, or this has to do with something on your (LTB Project) part? 

Thank you.

<pre>
[root@ldap 2.4.29b2]# rpm -Uvh openldap-ltb-2.4.29b2-2.x86_64.rpm 
openldap-ltb-debuginfo-2.4.29b2-2.x86_64.rpm
error: Failed dependencies:
        openldap-servers = 2.3.43-12.el5_7.10 is needed by (installed) 
openldap-servers-overlays-2.3.43-12.el5_7.10.x86_64
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# yum erase openldap-servers-overlays
Loaded plugins: downloadonly, fastestmirror, priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package openldap-servers-overlays.x86_64 0:2.3.43-12.el5_7.10 set to be 
erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================
 Package                                         Arch                         
Version                                     Repository                       
Size
================================================================================================================================================================
Removing:
 openldap-servers-overlays                       x86_64                       
2.3.43-12.el5_7.10                          installed                       358 
k

Transaction Summary
================================================================================================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : openldap-servers-overlays                                    
                                                                            1/1 

Removed:
  openldap-servers-overlays.x86_64 0:2.3.43-12.el5_7.10                         
                                                                                

Complete!
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# rpm -Uvh openldap-ltb-2.4.29b2-2.x86_64.rpm 
openldap-ltb-debuginfo-2.4.29b2-2.x86_64.rpm
Preparing...                ########################################### [100%]
   1:openldap-ltb           warning: /etc/default/slapd created as 
/etc/default/slapd.rpmnew
warning: /etc/logrotate.d/openldap created as /etc/logrotate.d/openldap.rpmnew
########################################### [ 50%]
   2:openldap-ltb-debuginfo ########################################### [100%]
warning: /etc/openldap/schema/misc.schema saved as 
/etc/openldap/schema/misc.schema.rpmsave
warning: /etc/openldap/schema/cosine.schema saved as 
/etc/openldap/schema/cosine.schema.rpmsave
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# service slapd start
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] Launching OpenLDAP configuration test...
slapd: [OK] OpenLDAP configuration test successful
slapd: [INFO] No db_recover done
slapd: [INFO] Launching OpenLDAP...
slapd: [OK] File descriptor limit set to 1024
slapd: [OK] OpenLDAP started
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# service slapd status
slapd: [INFO] Using /etc/default/slapd for configuration
slapd: [INFO] LDAP Tool Box OpenLDAP init script version 1.4
slapd: [INFO] Process OpenLDAP is running
slapd: [INFO] Listening to services ldap://*:389 ldaps://*:636
slapd: [INFO] Detected suffix: dc=noa,dc=gr
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# 
[root@ldap 2.4.29b2]# tail -14 /var/log/openldap.log
Feb 11 21:30:43 ldap slapd[1022]: [INFO] Using /etc/default/slapd for 
configuration
Feb 11 21:30:43 ldap slapd[1024]: [INFO] Launching OpenLDAP configuration 
test...
Feb 11 21:30:43 ldap slapd[1047]: [OK] OpenLDAP configuration test successful
Feb 11 21:30:43 ldap slapd[1057]: [INFO] No db_recover done
Feb 11 21:30:43 ldap slapd[1058]: [INFO] Launching OpenLDAP...
Feb 11 21:30:43 ldap slapd[1059]: [OK] File descriptor limit set to 1024
Feb 11 21:30:43 ldap slapd[1060]: @(#) $OpenLDAP: slapd 2.4.29 (Feb  6 2012 
23:14:45) $         
[email protected]:/home/swbuilder/rpmbuild/BUILD/openldap-2.4.29b2/servers/slapd
 
Feb 11 21:30:43 ldap slapd[1061]: slapd starting 
Feb 11 21:30:44 ldap slapd[1065]: [OK] OpenLDAP started
Feb 11 21:30:59 ldap slapd[1087]: [INFO] Using /etc/default/slapd for 
configuration
Feb 11 21:30:59 ldap slapd[1089]: [INFO] LDAP Tool Box OpenLDAP init script 
version 1.4
Feb 11 21:30:59 ldap slapd[1092]: [INFO] Process OpenLDAP is running
Feb 11 21:30:59 ldap slapd[1093]: [INFO] Listening to services ldap://*:389 
ldaps://*:636
Feb 11 21:30:59 ldap slapd[1153]: [INFO] Detected suffix: dc=noa,dc=gr
</pre>

----------------------------------------
Feature #394: Building ltb OpenLDAP RPMs
http://tools.lsc-project.org/issues/394

Author: Nick Milas
Status: Closed
Priority: Normal
Assigned to: 
Category: OpenLDAP RPM
Target version: 


Hello, 

I would like to know if you publish the detailed process of building your fine 
OpenLDAP RPMs.

We would like to test current OpenLDAP development source code versions on our 
CentOS systems, which use your LTB RPMs, as a kind of beta-testing.

So, I would like to ask whether I can build LTB-compatible RPMs myself or you 
can provide such beta-source-code RPMs (for the OpenLDAP RE24 branch).

Thanks,
Nick


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to