Bug 474705
Summary: | GFS2: make gfs2_fsck conform to fsck(8) exit codes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Nate Straz <nstraz> | ||||||||
Component: | gfs2-utils | Assignee: | Robert Peterson <rpeterso> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | low | ||||||||||
Version: | 5.3 | CC: | edamato, sghosh | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-09-02 11:02:36 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Nate Straz
2008-12-04 21:58:29 UTC
Should be doable. Created attachment 331496 [details]
Patch to fix the problem
This patch has been tested and found to be correct on system roth-01.
Created attachment 331499 [details] Script to test the fix This script tests that the proper return codes are being sent back from gfs2_fsck under various conditions. This script relies upon new functions added to gfs2_edit for bug #483799. The only test that this script does not test is the return code caused by interrupting the fsck. Created attachment 331747 [details]
Upstream version of the proposed patch
This is the upstream patch I'm going to commit.
The upstream patch was committed (but I fixed two additional compiler warnings) and pushed to the master branch of the gfs2-utils git tree. The RHEL5 patch was pushed to the RHEL5 branch of the cluster.git tree for inclusion into 5.4. It was tested on system roth-01 using special modifications to gfs2_edit for bug #483799. Changing status to Modified. 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 therefore 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/RHSA-2009-1337.html |