Re: [BUG BISECT next] Files cannot be opened after "fsverity: Move verity status check to fsverity_file_open"

From: Eric Biggers
Date: Tue Dec 11 2018 - 12:41:22 EST


On Tue, Dec 11, 2018 at 03:15:53PM +0100, Krzysztof Kozlowski wrote:
> Hi,
>
> Bisect from today's next pointed me to:
> commit 4de97efb578a094e8fbf279522d41eb9ece1e3e0
> Author: Chandan Rajendra <chandan@xxxxxxxxxxxxxxxxxx>
> Date: Sat Dec 8 12:21:43 2018 +0530
> fsverity: Move verity status check to fsverity_file_open
>
> as a reason of "Operation not supported" when reading any file from
> mounted ext4fs (from SD card). Rootfs from nfsroot works but reading
> from /home with ext4fs fails.
>
> Mounts:
> 192.168.1.10:/srv/nfs/odroidhc1 on / type nfs4
> (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.12,local_lock=none,addr=192.168.1.10)
> /dev/mmcblk0p2 on /home type ext4 (rw,relatime)
>
> Configuration:
> 1. Arch ARM Linux
> 2. exynos_defconfig
> - All my Odroid boards (ARMv7, Exynos)
> Systemd: v239, v238
> 3. All boards boot from TFTP with NFS root (NFSv4)
> No specific errors in boot log:
> https://krzk.eu/#/builders/21/builds/1034/steps/12/logs/serial0
>
> Let me know if you need any more data.
>
> Best regards,
> Krzysztof

Thanks Krzysztof. Ted, this is the same bug I pointed out in my review of this
patch yesterday (https://patchwork.kernel.org/patch/10719197/#22371523). Can
you fix or revert the two broken patches? Thanks,

- Eric