Red Hat Bugzilla – Bug 97464
FQDN determined incorrectly in %post
Last modified: 2007-11-30 17:10:31 EST
Description of problem:
To install a server key, the FQDN is determined as the output of `hostname`.
While this works with a standard installation, many people rather have only the
host part as hostname and do the mapping via /etc/hosts or DNS.
This way, only the hostname and not the FQDN is used in the keys/certs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set hostname to e.g. 'host', not 'host.domain.tld'
2. Install mod_ssl
FQDN in keys/certs.
make the line:
in %post read:
Looking at this for FC2... hostname -f is more risky, since it
actually does a DNS lookup on the system hostname, and this may all
happen at anaconda-time. Since the end result is just a self-signed
cert of limited value anyway, I'd be inclined to stick with the status
Any compelling arguments?
WONTFIX without compelling arguments due to risk of a DNS lookup at