Bug 507594

Summary: installation of openldap-servers seems interactive
Product: Red Hat Enterprise Linux 6 Reporter: Alexander Todorov <atodorov>
Component: openldapAssignee: Jan Zeleny <jzeleny>
Status: CLOSED CURRENTRELEASE QA Contact: Alexander Todorov <atodorov>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jplans, rwilliam
Target Milestone: beta   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openldap-2.4.16-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-11 14:51:59 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:

Description Alexander Todorov 2009-06-23 12:12:23 UTC
Description of problem:
Installation of openldap-servers seems interactive because prompts for generating RSA key are printed on the console. I suspect this comes from the init script of this package.

install.log looks like:

Installing openldap-servers-2.4.15-3.fc11.x86_64
Generating a 1024 bit RSA private key
...........................................................................................................................++++++
...................++++++
writing new private key to '/tmp/openssl.YugwEa'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:State or Province Name (full name) [Berkshire]:Locality Name (eg, city) [Newbury]:Organization Name (eg, company) [My Company Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:

Version-Release number of selected component (if applicable):
openldap-servers-2.4.15-3.fc11.x86_64

How reproducible:


Steps to Reproduce:
1. @everything installation
2.
3.
  
Actual results:


Expected results:
The key generation should be automatic and no messages printed on the console during installation. init script messages can be redirected to /dev/null when the service is started from %post scriptlet

Additional info:

Comment 2 RHEL Program Management 2009-06-23 12:26:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 releng-rhel@redhat.com 2009-10-29 19:20:52 UTC
Fixed in 'openldap-2.4.16-1'. 'openldap-2.4.16-2.el6' included in compose 'RHEL6.0-20091028.0'.
Moving to ON_QA.

Comment 6 releng-rhel@redhat.com 2010-11-11 14:51:59 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.