Bug 1652980

Summary: mod_auth_mellon Cert files name wrong when hostname contains a number (fixed in upstream package)
Product: Red Hat Enterprise Linux 7 Reporter: jbgorrie
Component: mod_auth_mellonAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED CURRENTRELEASE QA Contact: Scott Poore <spoore>
Severity: high Docs Contact:
Priority: high    
Version: 7.7CC: cpelland, jhrozek, nkinder, rcadova, spoore, toneata, tscherf
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_auth_mellon-0.14.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1697487 (view as bug list) Environment:
Last Closed: 2019-08-08 12:55:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1697487    

Description jbgorrie 2018-11-23 20:00:27 UTC
Description of problem:
When executing mellon_create_metadata.sh with a hostname with
a number in the output files are generated incorrectly.

Version-Release number of selected component (if applicable):
mod_auth_mellon-0.14.0-2.el7.x86_64 (latest that I could find)

How reproducible:
Stock script from RPM contains issue.


Steps to Reproduce:
1. Install mod_auth_mellon
2. grep ^OUTFILE /usr/libexec/mod_auth_mellon/mellon_create_metadata.sh
3. Compare to upstream package - https://github.com/Uninett/mod_auth_mellon/issues/43

Actual results:
removes digits from hostname in cert paths

Expected results:
FQDN has all digits

Additional info:
https://github.com/Uninett/mod_auth_mellon/issues/43 has the fix