Description of problem: The script at /usr/share/doc/dovecot-1.0/examples/mkcert.sh generates errors. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1.sh /usr/share/doc/dovecot-1.0/examples/mkcert.sh 2. 3. Actual results: Various, depending on whether you set SSLDIR and which working directory you run it from. See attached file. I works properly if you set SSLDIR and cd to the proper directory: # export SSLDIR=/etc/pki/dovecot # cd /etc/pki/dovecot Expected results: Should run without errors when run without setting SSLDIR and when run from any location. Additional info:
Created attachment 125291 [details] shows the errors in two cases of the problem
the following seems to be all that's needed --- /usr/share/doc/dovecot-1.0/examples/mkcert.sh.orig 2006-09-15 09:11:40.000000000 +0800 +++ /usr/share/doc/dovecot-1.0/examples/mkcert.sh 2006-09-15 09:28:22.000000000 +0800 @@ -4,8 +4,8 @@ # Edit dovecot-openssl.cnf before running this. OPENSSL=${OPENSSL-openssl} -SSLDIR=${SSLDIR-/etc/ssl} -OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf} +SSLDIR=${SSLDIR-/etc/pki/dovecot} +OPENSSLCONFIG=${OPENSSLCONFIG-/etc/pki/dovecot/dovecot-openssl.cnf} CERTFILE=$SSLDIR/certs/dovecot.pem KEYFILE=$SSLDIR/private/dovecot.pem
Ping? Petr, you seem to have updated to 1.0rc7 a few days ago. This quick patch would have been a welcome change, as it fixes this issue and would allow to close this FC6Blocker bug.
Sorry, i must have overlooked this. I have no idea why it is a blocker though, it is just a documentation issue -- the script is installed under /usr/share/doc/. It does not affect functionality of the package in any way and self-signed certificates are generated by scriptlets anyway. Either way, i have fixed this in CVS.
Fixed in FC-5 CVS as well, will push update soon or later.
dovecot-1.0-0.beta8.3.fc5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.