Hide Forgot
Description of problem: per conversation w/ Chris and Slagle 1. Run nss-db-gen automagically and store info somewhere in /etc/pulp and update answers file. 2. Remark out the nss-db-gen lines in the default sample answer file 3. Change the directories in default sample answer file
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