Bug 1317907

Summary: mariadb-server needs `hostname` command, but does not declare it as a dependency
Product: [Fedora] Fedora Reporter: Alan Jenkins <alan.christopher.jenkins>
Component: mariadbAssignee: Jakub Dorňák <jdornak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: hhorak, jdornak, jstanek, mmuzila
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mariadb-10.0.25-3.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-04 00:50:39 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 Alan Jenkins 2016-03-15 13:31:50 UTC
Version-Release number:
mariadb-server-10.0.23-1.fc23.x86_64

Steps to Reproduce:

Disclaimer: these involve downloading the 75MB Docker base image.  So it'll likely take a few minutes.

https://fedoraproject.org/wiki/Docker#Installing_Docker

docker build -t test - <<EOF
FROM fedora
RUN dnf -y update && dnf -y install mariadb-server
CMD ["/usr/libexec/mysql-wait-ready", "1"]
EOF

ID=$(docker run -d test)
docker logs $ID
docker kill

Actual results:
/usr/libexec/mysql-scripts-common: line 50: hostname: command not found
/usr/libexec/mysql-scripts-common: line 56: hostname: command not found

Expected results:
No "command not found" errors.

Comment 1 Jakub Dorňák 2016-07-21 10:06:51 UTC
This has already been fixed for a while in f24 and later.

http://pkgs.fedoraproject.org/cgit/rpms/mariadb.git/commit/?h=f23&id=f61d6f22879ff7825cd656dda4859c6357280762

Comment 2 Fedora Update System 2016-07-22 05:18:40 UTC
mariadb-10.0.25-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0513b8170f

Comment 3 Fedora Update System 2016-07-22 19:21:27 UTC
mariadb-10.0.25-3.fc23 has been pushed to the Fedora 23 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-2016-0513b8170f

Comment 4 Fedora Update System 2016-08-04 00:50:33 UTC
mariadb-10.0.25-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.