Bug 336561 - gfs2_tool accepts jdata flag; man page says no
Summary: gfs2_tool accepts jdata flag; man page says no
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs2-utils
Version: 5.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Chris Feist
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-17 19:01 UTC by Steven J. Levine
Modified: 2010-01-12 03:40 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0350
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 17:20:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix the problem (1.76 KB, patch)
2007-11-07 21:13 UTC, Robert Peterson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0350 0 normal SHIPPED_LIVE gfs2-utils bug fix update 2008-05-20 12:44:56 UTC

Description Steven J. Levine 2007-10-17 19:01:07 UTC
Description of problem:
The man page for the gfs2_tool command notes that the jdata and inherit_jdata
flags are now set with chattr. Just as described, the gfs2_tool setflag
command no longer accepts the inherit_jdata option. However, it does
accept the jdata option, and even seems to set the jdata flag just fine.

It seems as though the jdata flag should no longer be valid at all for the
gfs2_tool setflag command, just as the man page says.




Version-Release number of selected component (if applicable):


How reproducible:

Execute gfs2_tool setflag jdata on a file. This will yield no error message.

Execute lsattr on that file. This will show that the flag has been set.

[root@dash-01 mygfs2fs]# gfs2_tool setflag jdata /mygfs2fs/data
[root@dash-01 mygfs2fs]# lsattr data
---------j--- data/foo


Steps to Reproduce:
1. 
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Peterson 2007-11-07 19:09:35 UTC
I've got a replacement man page that explains this better.
Requesting ack flags for inclusion in RHEL5.2.


Comment 2 RHEL Program Management 2007-11-07 19:15:07 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 3 Robert Peterson 2007-11-07 21:13:00 UTC
Created attachment 250851 [details]
patch to fix the problem

Comment 4 Robert Peterson 2007-11-07 21:16:06 UTC
Updated man page committed to cvs at HEAD and RHEL5 branches for
inclusion in RHEL5.2.  Changing status to Modified.


Comment 8 errata-xmlrpc 2008-05-21 17:20:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0350.html



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