Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable dir_index ext2/3/4 option #469

Closed
wants to merge 1 commit into from

Commits on Oct 15, 2018

  1. Disable dir_index ext2/3/4 option

    This reduces indeterminism from filesystem readdir order,
    e.g. this snippet suddenly delivers the same output every time:
    mkdir -p in; for i in $(seq 10) ; do touch in/$i ; done
    find in/ -type f > unreproducible
    
    Since we usually do not have large directories, it should not slow
    down the build processes.
    
    Quick testing with openSUSE:Factory/python-service_identity
    time osc build --no-service --clean --vm-type=kvm --offline
    showed that the difference is 0 +-0.2%
    
    Alternative approach is to use a constant hash_seed via
    tytso/e2fsprogs@e1f7100
    but that is not yet in Leap 15.0
    bmwiedemann committed Oct 15, 2018
    Copy the full SHA
    0df0264 View commit details
    Browse the repository at this point in the history