| Summary: | include nssdbgen in rhui install | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | wes hayutin <whayutin> | ||||||||
| Component: | RHUA | Assignee: | mkovacik | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | mkovacik | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 2.1 | CC: | dmacpher, kbidarka, sghai, tsanders | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: |
Red Hat Update Infrastructure uses an NSS database to secure QPID communication. NSS database generation was a user interactive process during rh-rhui-tools installation. This update automates the NSS database generation and configuration with the nss-db-gen script during the rh-rhui-tools installation.
|
Story Points: | --- | ||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-08-24 11:54:09 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
wes hayutin
2012-04-16 19:55:38 UTC
You can get nss-db-gen to run w/o user prompts w/ the following edits.. just an example.. sed -i s/'DB_PASSWORD=""'/'DB_PASSWORD="dog8code"'/g /usr/bin/nss-db-gen sed -i s/'read -p'/'#read -p'/g /usr/bin/nss-db-gen sed -i s/'read -sp'/'#read -sp'/g /usr/bin/nss-db-gen sed -i s/'-o client.p12'/'-o client.p12 -w $PWDFILE -W $DB_PASSWORD -k $PWDFILE -K $DB_PASSWORD'/g /usr/bin/nss-db-gen sed -i s/'openssl pkcs12 -in client.p12 -nodes -out client.crt'/'openssl pkcs12 -in client.p12 -nodes -out client.crt -password file:$PWDFILE'/g /usr/bin/nss-db-gen Created attachment 585051 [details]
patch to allow nss-db-gen to run w/o user interaction
Created attachment 585055 [details]
patch for install_tools to automatically run nss-db-gen
cloude commit d2657e7f6465774e1dbbf097900df28eae8bb026 had to also update the sample answers file commit 1921d3f5423505ffd14b351e1bb297d8e6fbb212 Created attachment 601308 [details]
Verifying screen log
Verified that
- the patch is present in rh-rhui-tools version 2.1.4 (build RHEL-6.3-RHUI-2.1-20120719.0-Server-x86_64-DVD1.iso)
- the nss-db-gen script is part of the install_tools.sh script in that version
- the nss-db-gen in that version doesn't require user interaction while generating qpid nss stuff
See the screen log attached
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Red Hat Update Infrastructure uses an NSS database to secure QPID communications. NSS database generation was a user interactive process during rh-rhui-tools installation. This update automates the NSS database generation and configuration with the nss-db-gen script during the rh-rhui-tools installation.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-Red Hat Update Infrastructure uses an NSS database to secure QPID communications. NSS database generation was a user interactive process during rh-rhui-tools installation. This update automates the NSS database generation and configuration with the nss-db-gen script during the rh-rhui-tools installation.+Red Hat Update Infrastructure uses an NSS database to secure QPID communication. NSS database generation was a user interactive process during rh-rhui-tools installation. This update automates the NSS database generation and configuration with the nss-db-gen script during the rh-rhui-tools installation.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2012-1205.html |