Bug 1317907 - mariadb-server needs `hostname` command, but does not declare it as a dependency
Summary: mariadb-server needs `hostname` command, but does not declare it as a dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mariadb
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Dorňák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-15 13:31 UTC by Alan Jenkins
Modified: 2016-08-08 13:16 UTC (History)
4 users (show)

Fixed In Version: mariadb-10.0.25-3.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-04 00:50:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.