Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2606773lqb; Tue, 28 May 2024 05:28:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUWUQXXKWpogZXSYNsFvreRcbOFaTob64B2PxAptF43Cz2LTcmK+pnRfhQn9yu9SGl9Rgvoqa2N7CaXdfVSnLO5JGpyjBynf/CbxaN4yA== X-Google-Smtp-Source: AGHT+IGpos4aHXyMpip1pQYId0YQbxntMPAcAKTP7BPXEbihm5fMbJhBeBBDtNnoG5jrxrlxFQrC X-Received: by 2002:a05:6a00:6c91:b0:6f3:e9bc:7ed5 with SMTP id d2e1a72fcca58-6f8f2a4e3c0mr12624248b3a.4.1716899315196; Tue, 28 May 2024 05:28:35 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae57e45si8230810a12.814.2024.05.28.05.28.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 05:28:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@redhat.com header.s=mimecast20190719 header.b=Ya9o9XQV; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-192298-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192298-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 6585A285A7D for ; Tue, 28 May 2024 12:28:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8FBB16D9D2; Tue, 28 May 2024 12:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ya9o9XQV" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8599316D4EA for ; Tue, 28 May 2024 12:26:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716899202; cv=none; b=IR+I/LDpgaLjPT8fzA4oTQiGhdI5T+dhTNOb8aBKW0J9RJ3mqtbKwSZtJuJ/f4dO0RXmYKvSu64NNYtCv469NRnJoASiSTIa2BoCzqZgasrazLd2NTWSav5gLMgK4its43IwPOILgXgA7+ESzanRhjgnV69G/1ZkwXmUXdRiwFQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716899202; c=relaxed/simple; bh=q7jyQ90CDbKjDFVOMbX7rUGfXAM/w2kLEYKvfcuzvWY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ATTfOQ7l9rSqM+XQToBun9wJH3F7d7XgZDLDECi1Wxq9w2gJHZTuVcXvSNW/C38qKPjNxvjKB8l9gb3wwG2VjwQxP1AMsWgu5nzUxeKKY/ipqvFRGl7ksdkYMmQ1FJ1vHF+mlRaTO0uDRfSa+Wbu3hJeF9fTxDg3vwqzjC4koAI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Ya9o9XQV; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1716899198; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZXftqT8nCmYhEAaMlOtfkkpZWNhGkvnCDmr6/EFeHBo=; b=Ya9o9XQVVwaqHYwBrJHERGJWiYCOwpkFlv1HakeJzrMHptEDv7xRzfdWZ5W2jTb1PX2qdp hz1jqszGK5HFx1uDeKtbK8NcbZadBt85JMqtFiNtLMXfCb3r5jZSoSPcRSud3xiB5cMRyJ WXbstKKMnhnxIG5kJIN8kB1J/WyJL8c= Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626-O__MSQOFMlChS1wyBCkRaQ-1; Tue, 28 May 2024 08:26:36 -0400 X-MC-Unique: O__MSQOFMlChS1wyBCkRaQ-1 Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-2bf5bb47573so697693a91.2 for ; Tue, 28 May 2024 05:26:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716899196; x=1717503996; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZXftqT8nCmYhEAaMlOtfkkpZWNhGkvnCDmr6/EFeHBo=; b=TMW9mCp+djdSRtv3xRIW5CBBhIJO/52qqGUYE/8YBGgo5sX5pyMCMxneYLTxFenR+m rBnaxkkfvwocoHWlPkVzRA3AV2VUboo5LiDeQdd2DZyU/fXGSvDxQAnmF+ix4lVOiv68 mIoOrrjrRhHKDVhWNzpQnfPZtx3ABYVGdYhC5MAn15MPFGRkuoYl7bNF7blVKempcI8G zSkqWzP6d3oJZ4LDZmXvyQfqMpozm5jgwVHzA1rRmDxIY7ur/eQNdd8WKt5Jb6rfK2nJ CLfpA95nEPd1TvVuCiPk85GyZtTZrRmRMAtzoioS841hGyMyLQ3WDnOuuuTnxyw77tg/ /sgg== X-Forwarded-Encrypted: i=1; AJvYcCXvbdGwrE7o6SVhQsmEV476vcSZvFlo5r0mwSW7cyy9CTYUkVRON7KKkrweG69o2akdmI5kLJ6rcEOfd+Z3CINnSpBY8bMwKtF/5Vky X-Gm-Message-State: AOJu0YweC3xrfKhNoiNOdJ1Umq2XrVIt9wiy74MIgS2uxtH7Q+WGTWaa K6UHmn2YQLLgdA8VrdEHYbw91kE1Z7QYIxPFaUN4q9EEj4tb4usw6k85428zwYXxJJ6u0LA2C9Q zLTeU/D7ljOOTkFUB1k7D0+qXXR5+qNkHzBfbRb3yIU4rzsIneauVfwPsWzNYbq8N4GXG4ngLRi fKxPba5gCmfybwIXlkAQvIkoQCO620JWkxK2MT X-Received: by 2002:a17:90b:120e:b0:2bd:ebd5:8bf5 with SMTP id 98e67ed59e1d1-2bf5f207c7cmr9892306a91.32.1716899195779; Tue, 28 May 2024 05:26:35 -0700 (PDT) X-Received: by 2002:a17:90b:120e:b0:2bd:ebd5:8bf5 with SMTP id 98e67ed59e1d1-2bf5f207c7cmr9892286a91.32.1716899195378; Tue, 28 May 2024 05:26:35 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240528090244.6746-1-ecurtin@redhat.com> In-Reply-To: From: Eric Curtin Date: Tue, 28 May 2024 13:25:59 +0100 Message-ID: Subject: Re: [PATCH] ovl: change error message to info for empty lowerdir To: Alexander Larsson Cc: Miklos Szeredi , "open list:OVERLAY FILESYSTEM" , Wei Wang , Amir Goldstein , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 28 May 2024 at 13:23, Alexander Larsson wrote: > > > > On Tue, May 28, 2024 at 1:34=E2=80=AFPM Miklos Szeredi wrote: >> >> On Tue, 28 May 2024 at 12:55, Eric Curtin wrote: >> > >> > On Tue, 28 May 2024 at 11:34, Miklos Szeredi wrote= : >> > > >> > > On Tue, 28 May 2024 at 11:03, Eric Curtin wrote= : >> > > > >> > > > In some deployments, an empty lowerdir is not considered an error. >> > > >> > > I don't think this can be triggered in upstream kernel and can be >> > > removed completely. >> > >> > True... Just switched to Fedora Rawhide and instead we just see this o= ne: >> > >> > pr_err("cannot append lower layer"); >> > >> > > >> > > Or do you have a reproducer? >> > >> > Run one of these vms: >> > >> > https://github.com/osbuild/bootc-image-builder >> >> Apparently it is using the legacy lowerdir append mode >> "lowerdir=3D:foo". This works only on 6.5. >> >> In 6.6 and later the same can be achieved with "lowerdir+=3Dfoo". >> >> It's strange that there are not side effects other then the error messag= e. > > > The code tries to use the new mode, but then falls back on ENOSYS: > > https://github.com/containers/composefs/blob/main/libcomposefs/lcfs-mount= c#L431 > > So, I guess with a more recent kernel it will not print the warning. > > -- > =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D > Alexander Larsson Red Hat, Inc > alexl@redhat.com alexander.larsson@gmail.com I realized I never posted the version of the kernel producing this error message: pr_err("cannot append lower layer"); So just for clarity in general, that was this one: Linux fedora 6.9.0-64.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 13 11:58:46 UTC 2024 x86_64 GNU/Linux Is mise le meas/Regards, Eric Curtin