Bug 745249

Summary: medusa on x86_64 is searching modules in a wrong path
Product: [Fedora] Fedora Reporter: Othman Madjoudj <athmanem>
Component: medusaAssignee: Michal Ambroz <rebus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: medusa-1.5-13.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-22 05:24:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Othman Madjoudj 2011-10-11 18:59:31 UTC
Description of problem:
medusa on x86_64 is searching modules in '/usr/lib/medusa/modules/' instead of '/usr/lib64/medusa/modules/'

Version-Release number of selected component (if applicable):
medusa-1.5-12.fc15.x86_64

How reproducible:
100%

Steps to Reproduce (example with ssh):

# medusa  -M ssh <extra arguments>
Medusa v1.5 [http://www.foofus.net] (C) JoMo-Kun / Foofus Networks <jmk>

IMPORTANT: Couldn't load "ssh" [/usr/lib/medusa/modules/ssh.mod: cannot open shared object file: No such file or directory]. Place the module in the medusa directory, set the MEDUSA_MODULE_NAME environment variable or run the configure script again using --with-default-mod-path=[path].
invokeModule failed - see previous errors for an explanation


Additional info:
The default path in the spec file seems good:

%{configure} \
%ifarch x86_64
	--with-default-mod-path=/usr/lib64/medusa/modules \

Comment 1 Othman Madjoudj 2011-10-11 20:29:18 UTC
Actually the spec from medusa-1.5-12.fc15.src.rpm is different from pkgs[1] (missing --with-default-mod-path):


[1] http://pkgs.fedoraproject.org/gitweb/?p=medusa.git;a=blob_plain;f=medusa.spec;hb=HEAD

Comment 3 Fedora Admin XMLRPC Client 2012-01-20 07:45:33 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Michal Ambroz 2012-01-20 09:24:54 UTC
Hello Athmane,
please could you try to use medusa from attached build?
I have backported the configuration of the mod path from fc16 to fc15. Hopefully it should work but I do not have 64 bit machine to confirm.


http://koji.fedoraproject.org/koji/taskinfo?taskID=3717068

Thank you
Michal Ambroz

Comment 5 Othman Madjoudj 2012-01-20 10:51:22 UTC
I don't have access to F15 box (upgraded all machines to F16), but I tested it in a mock chroot (fedora-15-x86_64 config) and it seems fixed.

mock-chroot> arch
x86_64
mock-chroot> cat /etc/fedora-release 
Fedora release 15 (Lovelock)
mock-chroot> rpm -q medusa
medusa-1.5-13.fc15.x86_64
mock-chroot> medusa  -M ssh -h 192.168.1.NN -u root -p ********
Medusa v1.5 [http://www.foofus.net] (C) JoMo-Kun / Foofus Networks <jmk>

ACCOUNT CHECK: [ssh] Host: 192.168.1.NN (1 of 1, 1 complete) User: root (1 of 1, 1 complete) Password: ******** (1 of 1 complete)
ACCOUNT FOUND: [ssh] Host: 192.168.1.NN User: root Password: ******** [SUCCESS]

Comment 6 Michal Ambroz 2012-01-21 11:57:50 UTC
Thank you Athmane for confirmation
I will release the update for f15.

Comment 7 Fedora Update System 2012-01-21 12:00:36 UTC
medusa-1.5-13.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/medusa-1.5-13.fc15

Comment 8 Fedora Update System 2012-01-22 05:24:38 UTC
medusa-1.5-13.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.