New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 657577 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 347322



Sign in to add a comment

xfstests: need e2fuzz: not installed by e2fsprogs

Project Member Reported by gwendal@chromium.org, Oct 19 2016

Issue description

To complete ext4.006, e2fuzz is needed.
It is compiled by e2fsprogs, but misc/Makefile does not list e2fuzz as a binary to install.

Should e2fuzz be always install or should we modify e2fsprogs ebuild to install it only on test image?
 

Comment 1 by tytso@google.com, Oct 20 2016

Note that ext4/006 is not in the "auto" or "quick" group, which means it is not commonly run.   One of the reasons for that is that being in the "dangerous_fuzzers" group, it may crash or wedge the kernel, especially if you are running an older kernel.   On the flip side, it only runs ten passes of the fuzzer, which given that it is doing random fuzzing, isn't enough to really comprehensively find all problems.   There's nothing wrong with this per se, but to be honest, e2fuzz isn't actually a tool that I personally use.   It's been much more effective to let Vegard Nossum run American Fuzzy Lop set up for kernel file systems[1], since it uses genetic algorithms to do a much more efficient job than just using random fuzzing.

[1] https://events.linuxfoundation.org/sites/events/files/slides/AFL%20filesystem%20fuzzing,%20Vault%202016_0.pdf

All of this being said, e2fuzz probably doesn't make sense to be installed by default by most distribution packaging systems, since its meant for developers' use.   What I will probably do for Debian is to create a new package and package it as a separate "e2fuzz.deb", since most people wouldn't want/need it.   I think modifying e2fsprogs ebuild to install it only on test images makes the most sense.

Comment 2 by vapier@chromium.org, Oct 20 2016

it is not easy today to have an ebuild install sep files for base & test images.  if the test that it's needed for isn't terribly useful, then sounds like it'd be better to just skip it.

Sign in to add a comment