Bug 602427
Summary: | ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Eric Sandeen <esandeen> |
Component: | kernel | Assignee: | Eric Sandeen <esandeen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Beňas <pbenas> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | pbenas, pstehlik |
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: | 2010-11-11 16:11:24 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: |
Description
Eric Sandeen
2010-06-09 20:10:07 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Patch(es) available on kernel-2.6.32-42.el6 reproduced in 2.6.32-41.el6.x86_64, verified in 2.6.32-42.el6.x86_64 [root@dell-pe2950-01 xfstests]# uname -r 2.6.32-41.el6.x86_64 [root@dell-pe2950-01 xfstests]# ./check 228 FSTYP -- ext4 PLATFORM -- Linux/x86_64 dell-pe2950-01 2.6.32-41.el6.x86_64 228 - output mismatch (see 228.out.bad) --- 228.out 2010-07-08 09:25:10.934808987 -0400 +++ 228.out.bad 2010-07-08 09:48:33.057058887 -0400 @@ -1,6 +1,6 @@ QA output created by 228 File size limit is now set to 100 MB. Let us try to preallocate 101 MB. This should fail. -File size limit exceeded +File size limit exceeded (core dumped) Let us now try to preallocate 50 MB. This should succeed. Test over. Ran: 228 Failures: 228 Failed 1 of 1 tests [root@dell-pe2950-01 xfstests]# uname -r 2.6.32-42.el6.x86_64 [root@dell-pe2950-01 xfstests]# ./check 228 FSTYP -- ext4 PLATFORM -- Linux/x86_64 dell-pe2950-01 2.6.32-42.el6.x86_64 228 - output mismatch (see 228.out.bad) --- 228.out 2010-07-08 09:25:10.934808987 -0400 +++ 228.out.bad 2010-07-08 09:57:02.481348900 -0400 @@ -1,6 +1,6 @@ QA output created by 228 File size limit is now set to 100 MB. Let us try to preallocate 101 MB. This should fail. -File size limit exceeded +File size limit exceeded (core dumped) Let us now try to preallocate 50 MB. This should succeed. Test over. Ran: 228 Failures: 228 Failed 1 of 1 tests FWIW I've sent a patch upstream to get rid of the (core dumped) discrepancy in this output: "[PATCH] xfstests 228: suppress core dump message" http://oss.sgi.com/pipermail/xfs/2010-June/045796.html Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |