Bug 1148643 (who's-on-first)

Summary: mariadb-galera packages missing dependency on "which" package
Product: [Fedora] Fedora Reporter: Lars Kellogg-Stedman <lars>
Component: mariadb-galeraAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: hhorak, mattdm, rohara
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mariadb-galera-5.5.40-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-03 01:02:02 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 Lars Kellogg-Stedman 2014-10-02 01:53:44 UTC
Description of problem:

Attempting to start wsrep replication on a system without the "which" package installed (e.g., Fedora docker or cloud images) results in:

  /usr//bin/wsrep_sst_common: line 133: which: command not found

Version-Release number of selected component (if applicable):

  mariadb-galera-server-5.5.39-2.fc20.x86_64

Solution:

  Add a "Requires: which" to the mariadb-galera package, or fix scripts to use something other than "which".

Comment 1 Lars Kellogg-Stedman 2014-10-02 02:01:27 UTC
Aaaaand...it also requires, for terrible reasons, "lsof".  In fact, it needs "which" in order to locate "lsof".

So...

  Requires: lsof

Comment 2 Matthew Miller 2014-10-02 02:09:41 UTC
Wouldn't it be _at least_ better to patch it to use the lsof in the location where we know it should be on Fedora (/usr/sbin/lsof)?

Then `which` is not required. That still leaves the issue of lsof and its terrible reasons.

Comment 3 Fedora Update System 2014-11-11 18:10:15 UTC
mariadb-galera-5.5.40-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mariadb-galera-5.5.40-2.fc20

Comment 4 Fedora Update System 2014-11-13 18:05:35 UTC
Package mariadb-galera-5.5.40-2.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mariadb-galera-5.5.40-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-14791/mariadb-galera-5.5.40-2.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-12-03 01:02:02 UTC
mariadb-galera-5.5.40-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.