Description of problem: e2fsprogs as installed on Fedora 17 is not consistent w.r.t. the new ext4 quota feature. Version-Release number of selected component (if applicable): e2fsprogs-1.42.3-3.fc17.x86_64 util-linux-2.21.2-2.fc17.x86_64 How reproducible: Always Steps to Reproduce / results 1. Manual of mkfs.ext4 talks about 'quota': Create quota inodes etc.etc. 2. mkfs.ext4 -O quota /dev/whatever reports "Invalid filesystem option set: quota" 3. tune2fs -O quota /dev/whatever does not complain and correctly sets the feature. 4. tune2fs -O ^quota /dev/whatever complains tune2fs 1.42.3 (14-May-2012) tune2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/whatever Couldn't find valid filesystem superblock 5. fsck /dev/whatever complains fsck from util-linux 2.21.2 e2fsck 1.42.3 (14-May-2012) /dev/sdi1 has unsupported feature(s): quota e2fsck: Get a newer version of e2fsck! 6) debugfs /dev/whatever, then 'features' lists feature quota properly. 7) debugfs -w /dev/whatever refuses to open with debugfs 1.42.3 (14-May-2012) /dev/whatever: Filesystem has unsupported read-only feature(s) while opening filesystem Version 1.42.6 from F18 does not help. Expected results: Well: 3 options here ... a) It is supported and should work. Man page is OK, but tune2fs and e2fsck not up to the correct lever. b) It is not supported, because it does not work. Man page should not mention it, or mention it as broken/not-ready-yet etc. And tune2fs should not let met set it, without providing at least a way to unset it. c) Nobody really knows The man page should state this then
Hm, interesting, it seems that by default quota support is not (fully) enabled with default configure options commit 7becb2065ffd5c4b403546d577c2421b4a840c3c Author: Theodore Ts'o <tytso> Date: Mon Nov 14 10:40:43 2011 -0500 Make quota support disabled by support Quota support can be enabled using --enable-quota. There are still some buglets that we need to fix up before it can be considered 100% supported, so let's disable it for the 1.42 release. Signed-off-by: "Theodore Ts'o" <tytso> (note, s/b "Make quota support disabled by default") +Initial support for quota as an integrated feature, where the quota +files are hidden system files that are automatically maintained by +e2fsck is present, although disabled by default. It must be enabled +by using the configure option --enable-quota. so really, this should probably be a manpage fix for now.
Oh, and tune2fs shouldn't set it if not configured that way I suppose.
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.
I did send 3 patches upstream to document this, FWIW. 7b8912eaab6ca2ef864ea8acbe769ceca2ffd08a e2fsprogs: fix configure help text for quota 44a2cca35e9292c39bcad38288fdf7a78d6f56af tune2fs: respect quota config option and [PATCH] mke2fs: remove quota docs if not configured in which seems to have been missed upstream, I'll re-ping.