Bug 705371 - GFS2: [RFE] Remove gfs2_tool from gfs2-utils
Summary: GFS2: [RFE] Remove gfs2_tool from gfs2-utils
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gfs2-utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Steve Whitehouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 685136
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 14:07 UTC by Steve Whitehouse
Modified: 2012-07-05 15:58 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
From Fedora 16, the gfs2_utils package will no longer contain the gfs2_tool utility. This has been replaced by other tools: o The fs freeze operation can be accessed via dmsetup o The superblock view/edit operations can be done from tunegfs2 o The filesystem options can be set on the mount command line (mount -o remount to change without umount) o The setting/clearing of flags can be done via chattr/lsattr
Clone Of:
Environment:
Last Closed: 2011-06-22 08:59:04 UTC
Type: ---
swhiteho: fedora_requires_release_note?


Attachments (Terms of Use)

Description Steve Whitehouse 2011-05-17 14:07:01 UTC
The gfs2_tool utility is obsolete. We need to remove it from gfs2-utils, and to document why it has gone and what its replacements are. The details are as follows:

clearflag/setflag - Replaced by lsattr/chattr from earliest GFS2 releases
freeze/unfreeze - Replaced by dmsetup suspend/resume (note that this is done automatically by lvm in most cases where it is required)
journals - No exact replacement, but can be done by mounting the meta filesystem, or via gfs2_edit on an unmounted filesystem
sb - Replaced by tunegfs2
lockdump - Replaced by cat (with debugfs mounted)
withdraw - Replaced by echo (with sysfs)
gettune/settune - Replaced by mount arguments (and mount -o remount)

Comment 1 Steve Whitehouse 2011-05-17 14:31:47 UTC
Probably the best way to deal with this is to follow the procedure we are using for mount.gfs2 - i.e. stop installing it in the rawhide package, and then remove from the source when there are no longer any shipping fedora releases with the utility in them.

Comment 3 Steve Whitehouse 2011-05-25 12:34:42 UTC
Added rel note content for F16.

I'm assuming that it will be ok to close this bz without the rel note content being missed?

Comment 4 Steve Whitehouse 2011-05-25 12:34:42 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
From Fedora 16, the gfs2_utils package will no longer contain the gfs2_tool utility. This has been replaced by other tools:

 o The fs freeze operation can be accessed via dmsetup
 o The superblock view/edit operations can be done from tunegfs2
 o The filesystem options can be set on the mount command line (mount -o remount to change without umount)
 o The setting/clearing of flags can be done via chattr/lsattr

Comment 5 Milos Jakubicek 2012-07-05 13:44:49 UTC
Sorry to say that, but this info has unfortunately never made it to the release notes :( Next time, please at least CC somebody from the Fedora QA team.

Nevertheless thanks for this info at least, google works fine:)

Comment 6 Steve Whitehouse 2012-07-05 14:02:34 UTC
I did check what the correct procedure was at the time, though I don't remember the source of the info now. My understanding was that setting the requires release notes flag should have been enough to flag it up for the release notes. Apologies if I should have done more than that - but I assumed that the flag meant what it said.

It is probably not the end of the world though - I doubt that anybody was using this tool very often as the replacements have been around a long time now.

Comment 7 Milos Jakubicek 2012-07-05 14:11:34 UTC
Indeed, there is still 

swhiteho: fedora_requires_release_note?

@Adam: is that not the intended procedure anymore?

Comment 8 Adam Williamson 2012-07-05 15:58:08 UTC
milos: I don't know; QA doesn't handle the release notes, Docs team does. (We do the Common Bugs page). I'd ask someone from the Docs team. In practice, I was able to get some things in the F17 release notes by mailing the docs list.


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