Bug 1148643 (who's-on-first) - mariadb-galera packages missing dependency on "which" package
Summary: mariadb-galera packages missing dependency on "which" package
Keywords:
Status: CLOSED ERRATA
Alias: who's-on-first
Product: Fedora
Classification: Fedora
Component: mariadb-galera
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-02 01:53 UTC by Lars Kellogg-Stedman
Modified: 2014-12-03 01:02 UTC (History)
3 users (show)

Fixed In Version: mariadb-galera-5.5.40-2.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-03 01:02:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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