Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1197611imu; Tue, 11 Dec 2018 14:37:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wx/Jsjh+QgK/jgYwipMnWDtalFIFgrZ7/98AruBOdJ0FVppAphjAbG1UkqrnKoXXxEGKJN X-Received: by 2002:a65:5387:: with SMTP id x7mr16320662pgq.412.1544567868207; Tue, 11 Dec 2018 14:37:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544567868; cv=none; d=google.com; s=arc-20160816; b=zbzMyW6BjMgFJSMBpjvuOxXHWcHZuYLDi3RTph+USPa4jRrvFPnQL71S4rLB4uiagu lqAlSw3GexCXbo3eY1+cE8p+f1AdDI/7iGSizjjjCBTgZVyIjm4befnvkG2powt3mDHY MwWd/xbxLIrplCDDSJ1oDmYs5sCHEOBqW7HZMxubSIceJWdYeYpxDmKyNj9ah24TfsbJ g1FvtmZbjcIdl7JJ5iccoDoWYqYhg/MNJYmayKTwtuWlJH+EWX7wbi7L0TKeoNonOIoz rLHo69Hn1WAbxZvC1/JMjcydu75nNVsjrUobyji4d681n6pghjCHzikEX17a+DzCui4/ Ck8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=gE7Wr5/taOk/bShPUQbd6K/V6Ww1LqYjgf2+BvuR2Z4=; b=qxs3n24VEijed6CUbuOjpiSJzNmC9efxChCcUimWeWZ+rXv4aYDIQoS+LmAjnBNImu BQw1b8Jw8sh9LwB8B4u3i6m4LYiAtEF2rUBRpIEnre/VZiitJlM0/WIAzIFGSV6RZNf8 95gDAO7CicLnzLzyaG32hpoeRZdvqKZUEZsf+KWYC7hh4RxeI8UqaNphXOBG9KQQTBi0 oH2nsQEyCPL4v9zTo3T7wAIYpL2YCyHqVJSSqk2D7zd4UTGx0QhCxIUEsQHpJZc0oZt6 9nJLCf1uTORrzysDfW4uo2NvxitfMg9FI/HsqA1vDbiRTl8bdKuUVUXlPbu0c4O4k+q/ V8vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ri3cPjHH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l11si13064311pgb.545.2018.12.11.14.37.20; Tue, 11 Dec 2018 14:37:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ri3cPjHH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726233AbeLKWgX (ORCPT + 99 others); Tue, 11 Dec 2018 17:36:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:33872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726202AbeLKWgW (ORCPT ); Tue, 11 Dec 2018 17:36:22 -0500 Received: from gmail.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D2E9D20672; Tue, 11 Dec 2018 22:36:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544567782; bh=kEE3XpjJjgVHB0i7RsmyKd0lbrjRjHNAQJ8Zz3sJuB4=; h=Date:From:To:Subject:References:In-Reply-To:From; b=ri3cPjHH7Xhts58AVUXfc3BUrzhl4e+CS4rhaMZmvfOpNC6Xa7utxgW92cvopvHWv 7fe9Hf80YMxb0gfY4v6c5jF0J16tAyzmKSm3OL54iGiGjWjf6X1+a91TLG6VinyPo4 hWtIhzaHj3icbhBmYxz2FucH4/5He9DMUoDA7uwI= Date: Tue, 11 Dec 2018 14:36:20 -0800 From: Eric Biggers To: "Theodore Y. Ts'o" , Krzysztof Kozlowski , Chandan Rajendra , Andreas Dilger , Jaegeuk Kim , Chao Yu , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org Subject: Re: [BUG BISECT next] Files cannot be opened after "fsverity: Move verity status check to fsverity_file_open" Message-ID: <20181211223619.GF221175@gmail.com> References: <20181211222721.GC4464@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181211222721.GC4464@thunk.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 05:27:21PM -0500, Theodore Y. Ts'o wrote: > 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 > > 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. > > Can you send me an compressed e2image of your sdcard? > > e2image -Q /dev/mmcblk0p2 sdcard.qcow2 > bzip2 -z sdcard.qcow2 > > Thanks! > > - Ted I don't think that's necessary. Due to the bug, ext4_file_open() and ext4_setattr() always return -EOPNOTSUPP when !CONFIG_FS_VERITY. I'm working on a fixed version of the two patches to replace the ones currently in the fscrypt tree. Will send out soon. - Eric