Bug 1135118

Summary: mod_ssl invokes the hostname tool in postinst but lacks dependency on hostname package?
Product: [Fedora] Fedora Reporter: Lennart Poettering <lpoetter>
Component: httpdAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jkaluza, jorton, jpopelka, pahan
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd-2.4.41-4.fc30 httpd-2.4.41-5.fc31 httpd-2.4.41-5.fc30 httpd-2.4.41-5.fc29 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-08 00:26:51 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:

Description Lennart Poettering 2014-08-28 20:45:03 UTC
I am playing around with minimal containers install with yum. If I install one with apache + mod_ssl, then I see this in the yum output:

  Installing : 1:mod_ssl-2.4.10-1.fc20.x86_64                                                              3/3 
/var/tmp/rpm-tmp.FbvNM0: line 9: hostname: command not found

I figure mod_ssl is missing the dependency on the hostname binary in the spec file somewhere?

Comment 3 Fedora Update System 2014-09-03 07:27:42 UTC
httpd-2.4.10-8.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/httpd-2.4.10-8.fc21

Comment 4 Fedora Update System 2014-09-03 15:29:44 UTC
httpd-2.4.10-9.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/httpd-2.4.10-9.fc21

Comment 5 Fedora Update System 2014-09-06 01:01:40 UTC
Package httpd-2.4.10-9.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing httpd-2.4.10-9.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-10234/httpd-2.4.10-9.fc21
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-09-23 04:51:11 UTC
httpd-2.4.10-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Jiri Popelka 2019-09-25 12:37:03 UTC
Reopening


bash-5.0# /usr/libexec/httpd-ssl-gencerts
/usr/libexec/httpd-ssl-gencerts: line 5: hostname: command not found

bash-5.0# head /usr/libexec/httpd-ssl-gencerts
...
FQDN=`hostname`
...

bash-5.0# rpm -qf /usr/libexec/httpd-ssl-gencerts
mod_ssl-2.4.41-1.fc30.x86_64

bash-5.0# rpm -q --requires mod_ssl | grep hostname
bash-5.0#

Comment 9 Joe Orton 2019-09-25 14:38:45 UTC
Package: httpd-2.4.41-3.fc32

Comment 10 Joe Orton 2019-10-02 11:28:07 UTC
Package: httpd-2.4.41-4.fc30

Comment 11 Fedora Update System 2019-10-03 09:41:07 UTC
FEDORA-2019-d0255b7710 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d0255b7710

Comment 12 Fedora Update System 2019-10-03 09:41:15 UTC
FEDORA-2019-c39b063554 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c39b063554

Comment 13 Fedora Update System 2019-10-04 22:14:21 UTC
httpd-2.4.41-5.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d0255b7710

Comment 14 Fedora Update System 2019-10-04 22:50:13 UTC
httpd-2.4.41-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c39b063554

Comment 15 Fedora Update System 2019-10-04 23:08:48 UTC
httpd-2.4.41-5.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8df80552fc

Comment 16 Fedora Update System 2019-10-08 00:26:51 UTC
httpd-2.4.41-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-10-09 16:53:34 UTC
httpd-2.4.41-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2019-10-12 01:29:07 UTC
httpd-2.4.41-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.