Bug 716857

Summary: openldap-servers should depend on initscripts
Product: [Fedora] Fedora Reporter: Jan Vcelak <jvcelak>
Component: openldapAssignee: Jan Vcelak <jvcelak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 15CC: jplans, jstodola, jvcelak, mbanas, rmeggins, rvokal, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openldap-2.4.24-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 712358 Environment:
Last Closed: 2011-07-18 22:33:23 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: 712358    
Bug Blocks:    

Description Jan Vcelak 2011-06-27 09:20:37 UTC
+++ This bug was initially created as a clone of Bug #712358 +++

Description of problem:
openldap-servers runs '/sbin/service' in its installation scriplets, but the package doesn't depend on initscripts:

[root@rtt6 ~]# rpm --nogpg -q --scripts -p rpms/openldap-servers-2.4.23-15.el6.s390x.rpm | grep /sbin/service
                /sbin/service slapd condrestart
        /sbin/service slapd stop > /dev/null 2>&1 || :
[root@rtt6 ~]# rpm -qf /sbin/service
initscripts-9.03.23-1.el6.s390x
[root@rtt6 ~]# rpm --nogpg -q --requires -p rpms/openldap-servers-2.4.23-15.el6.s390x.rpm | grep initscripts
[root@rtt6 ~]#


It causes error messages in some cases:
...
  Installing : ca-certificates-2010.63-3.el6.noarch                       51/53 
  Installing : openssl-1.0.0-10.el6.s390x                                 52/53 
  Installing : openldap-servers-2.4.23-15.el6.s390x                       53/53 
/
/var/tmp/rpm-tmp.1HrrSm: line 69: /sbin/service: No such file or directory


Version-Release number of selected component (if applicable):
openldap-servers-2.4.23-15.el6

How reproducible:
always

Steps to Reproduce:
1. yum --installroot=/root/new_install_root install openldap-servers

Actual results:
errors during installation

Expected results:
openldap-servers depends on initscripts, no error messages during installation

Comment 1 Jan Vcelak 2011-06-27 17:29:48 UTC
(This issue is resolved in Rawhide with openldap-2.4.25-1.fc16.)

Comment 2 Jan Vcelak 2011-06-28 10:41:50 UTC
Fixed in openldap-2.4.24-3.fc15

Comment 3 Fedora Update System 2011-06-28 10:44:44 UTC
openldap-2.4.24-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/openldap-2.4.24-3.fc15

Comment 4 Fedora Update System 2011-06-28 20:28:08 UTC
Package openldap-2.4.24-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openldap-2.4.24-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/openldap-2.4.24-3.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-07-18 22:32:57 UTC
openldap-2.4.24-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.