To reproduce this bug the file must be in an OverlayFS mount
Reproduced on:
- linux-image-4.4.0-159-generic/xenial-updates,xenial-security,now 4.4.0-159.187 amd64
- linux-image-4.4.0-165-generic/xenial-updates,xenial-security,now 4.4.0-165.193 amd64
Install packages libacl1-dev
, build-essential
, and gcc
.
Included is a C program that reproduces the bug and two scripts. Run them in order.
make-overlay.sh
: creates directories in /tmp and mounts /tmp/overlay as an overlay filesystem