Bug 1022056

Summary: Missing openssl dependency in tog-pegasus
Product: [Fedora] Fedora Reporter: waiki
Component: tog-pegasusAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: hamzy, vcrhonek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tog-pegasus-2.13.0-5.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-04 14:18:47 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:

Description waiki 2013-10-22 14:55:08 UTC
Description of problem:
A missing openssl runtime Requires causing these errors during tog-pegasus installation:
chmod: cannot access '/etc/Pegasus/*.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/cert.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/key.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/file.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/server.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/server.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/client.pem': No such file or directory

The postinstall script for tog-pegasus is using openssl:
-bash-4.2# cat /usr/share/Pegasus/scripts/genOpenPegasusSSLCerts |grep openssl
    /usr/bin/openssl req -x509 -days 3650 -newkey rsa:2048 \

Version-Release number of selected component (if applicable):
-bash-4.2# rpm -q tog-pegasus
tog-pegasus-2.12.1-9.fc20.s390x

How reproducible:
Make sure openssl is not installed.
Install tog-pegasus

Steps to Reproduce:
1. rpm -q openssl
package openssl is not installed

2. yum install tog-pegasus 

Actual results:
chmod: cannot access '/etc/Pegasus/*.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/cert.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/key.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/file.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/server.pem': No such file or directory
cp: cannot stat '/etc/Pegasus/server.pem': No such file or directory
chmod: cannot access '/etc/Pegasus/client.pem': No such file or directory

Expected results:
No error messages should be displayed.

Additional info:

Comment 1 Vitezslav Crhonek 2013-11-04 14:18:47 UTC
Thanks for report. I fixed it in Rawhide for future releases. I will not push special update for this into F20. (Only if there will be more important fix in the future to ship it with.)