[Bug 860982] New: mount.ocfs2 fails if libcorosync-devel not installed
https://bugzilla.novell.com/show_bug.cgi?id=860982 https://bugzilla.novell.com/show_bug.cgi?id=860982#c0 Summary: mount.ocfs2 fails if libcorosync-devel not installed Classification: openSUSE Product: openSUSE Factory Version: 13.2 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: High Availability AssignedTo: rgoldwyn@suse.com ReportedBy: tserong@suse.com QAContact: qa-bugs@suse.de CC: lmb@suse.com Found By: --- Blocker: --- ocfs2-tools includes the patch 0001-Use-cmap-for-getting-cluster-name.patch, which uses dlopen("libcmap.so") to talk to corosync. Ordinarily, with libcorosync4 installed, you only get libs with version numbers in their names: /usr/lib64/libcmap.so.4 /usr/lib64/libcmap.so.4.1.0 This means that mount.ocfs2 fails: # mount.ocfs2 /dev/vdb2 /srv/clusterfs/ mount.ocfs2: Unable to access cluster service while trying to join the group If you install libcorosync-devel, you get: /usr/lib64/libcmap.so And then the dlopen() works, and the mount succeeds. But we shouldn't need the devel package installed. Do we have to use dlopen()? Can we just "-lcmap" and let the compiler and linker sort things out? Or, if that doesn't work, at least we should probably dlopen("libcmap.so.4"). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=860982 https://bugzilla.novell.com/show_bug.cgi?id=860982#c1 --- Comment #1 from Goldwyn Rodrigues <rgoldwyn@suse.com> 2014-01-31 16:57:57 UTC --- Created an attachment (id=576752) --> (http://bugzilla.novell.com/attachment.cgi?id=576752) Updated patch: Use libcmap.so.4 Thanks. We use dlopen for DLM libraries as well. This is how the code was structured. Since cmap is a helper function here to retrieve for fs/dlm we continue the tradition. Thanks for testing and suggesting the fix, I am supplying the complete filename now. Fixed in factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=860982 https://bugzilla.novell.com/show_bug.cgi?id=860982#c3 Goldwyn Rodrigues <rgoldwyn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Goldwyn Rodrigues <rgoldwyn@suse.com> 2014-03-12 04:48:55 UTC --- This is fixed with the following changelog. closing bug. Fri Jan 31 22:21:11 UTC 2014 - rgoldwyn@suse.com - Use libcmap.so.4 for dlopen in 0001-Use-cmap-for-getting-cluster-name.patch to remove dependency on devel package (bnc#860982) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com