Description of problem: e2fsck crashes during the automatic check of a read-only device managed by the device mapper. Version-Release number of selected component (if applicable): e2fsprogs-1.40.4-2.fc8.x86_64 How reproducible: Always Steps to Reproduce: 1. create a logical volume # lvcreate -L 4M -n test SomeVG 2. create an ext3 FS # mke2fs -j /dev/SomeVG/test 3. set the device read-only # lvchange -p r /dev/SomeVG/test 4. check the FS # e2fsck -f -p /dev/SomeVG/test e2fsprogs-1.40.4-2.fc8.x86_64 Actual results: e2fsck prints over 100.000 lines of warnings and then it segfaults (signal 11) Expected results: As documented in the man page: If e2fsck discovers a problem which may require the system administrator to take additional corrective action, e2fsck will print a description of the problem and then exit ...
Thanks, I'll look into this. I can reproduce on F8, and also with upstream e2fsprogs. In the meantime, I suggest not trying to repair devices that can't be written to ;) Thanks, -Eric
I've sent a patch upstream for this: http://marc.info/?l=linux-ext4&m=122367685623961&w=2 And another to not even start, if the block device is RO: http://marc.info/?l=linux-ext4&m=122367707324208&w=2 Thanks, -Eric
Upstream commits: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commitdiff;h=7ed7a4b6ed8b2fce891874a0eafdc8f77c3ffc34 http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commitdiff;h=79cc33628256e817610e921ddf600f72e4f879e1
e2fsprogs-1.41.3-2.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/e2fsprogs-1.41.3-2.fc9
I'll commit for F8 too. -Eric
e2fsprogs-1.40.4-3.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/e2fsprogs-1.40.4-3.fc8
e2fsprogs-1.40.4-3.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update e2fsprogs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-8831
e2fsprogs-1.41.3-2.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update e2fsprogs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-8884
e2fsprogs-1.41.3-2.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
e2fsprogs-1.40.4-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.