Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610744 - sys-fs/ocfs2-tools-1.8.4 version bump
Summary: sys-fs/ocfs2-tools-1.8.4 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard: Pending removal: 2018-02-04
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-02-23 22:55 UTC by Jared Hancock
Modified: 2018-03-11 10:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for v1.8.4 (ocfs2-tools-1.8.4.ebuild,1.82 KB, text/plain)
2017-02-23 22:55 UTC, Jared Hancock
Details
files/ofcs2-tools-recent-kernels-1.8.4.patch (ocfs2-tools-recent-kernels-1.8.4.patch,658 bytes, patch)
2017-02-23 22:56 UTC, Jared Hancock
Details | Diff
files/ocfs2.initd (ocfs2.initd,3.92 KB, text/plain)
2017-02-23 23:13 UTC, Jared Hancock
Details
files/ocfs2.initd (ocfs2.initd,4.12 KB, text/plain)
2017-02-23 23:18 UTC, Jared Hancock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Hancock 2017-02-23 22:55:46 UTC
Created attachment 464926 [details]
Ebuild for v1.8.4

Hi!

Please find the attached ebuild and updated patch for ocfs2-tools from Oracle's git repository. This is for the latest version posted in the repo, 1.8.4. It downloads directly from the Oracle git website rather than from the Gentoo servers.

Considering that 1.8.2 was released in January 2012, it seems overdue for an update.

Also, the init script provided does not work properly with kernels sometime after 4.1.7. A slight edit is needed. Would this be the place to short that up as well?

greezybacon
Comment 1 Jared Hancock 2017-02-23 22:56:38 UTC
Created attachment 464928 [details, diff]
files/ofcs2-tools-recent-kernels-1.8.4.patch
Comment 2 Jared Hancock 2017-02-23 23:13:48 UTC
Created attachment 464930 [details]
files/ocfs2.initd

Updated init script to work properly with kernels after 4.4, or specifically, after commit 45b997737a8025be2825e464e9e9dd5d07160dc3, when the `heartbeat/dead_threshold` cluster setting was renamed to `heartbeat/threshold`
Comment 3 Jared Hancock 2017-02-23 23:18:26 UTC
Created attachment 464932 [details]
files/ocfs2.initd

My bad. I got a bit overzealous on the previous attachment
Comment 4 Pacho Ramos gentoo-dev 2017-12-15 22:13:12 UTC
It seems this bump is needed as current one has lots of opened/pending bug reports... do you want to proxy maintain this?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers

Otherwise, as nothing seems to require this, maybe this could be treecleaned
Comment 5 Jared Hancock 2017-12-19 00:56:40 UTC
Since I posted this, I've been forced to change the OS on my cluster to an RPM based distro, and none of them support OCFS2. So I've had to switch to GFS2, which is significantly more difficult to set up.

I believe Gentoo is the only major distro besides Oracle Linux to support OCFS2, and though the filesystem is available in the kernel, these tools are required to format, mount, and fsck an OCFS2 volume. For that reason, I would really like to see the package stay in the Gentoo tree.

I read through the page, but don't think I understand what a Proxy Maintainer is. I would be willing to try and test bugs and offer suggestions where possible to address bugs and questions against OCFS2.
Comment 6 Dan Goodliffe 2018-01-25 18:57:08 UTC
It'd be a shame to see this go. Options for a good cluster ready file system are pretty limited.
Comment 7 Dan Goodliffe 2018-01-27 14:02:51 UTC
OK... I got curious... then I forked the repo.

https://github.com/rascalDan/ocfs2-tools

I've fixed up the autotools and added all the missing hear includes... there was no obvious reason to change any of the code beyond that. Then I stripped down the ebuild and back-ported some of the fixes there.

https://git.randomdan.homeip.net/repo/portage/tree/sys-fs/ocfs2-tools/ocfs2-tools-1.8.4.1.ebuild

Beyond "it builds" reasonably cleanly (printf format warnings mostly) I'm claiming nothing. I'll get to try it out a little later buy I don't have any non-production things to play with right now.
Comment 8 Pacho Ramos gentoo-dev 2018-03-11 10:42:15 UTC
Removed from the tree