From mboxrd@z Thu Jan 1 00:00:00 1970 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 99CE712DDB3 for ; Mon, 3 Jun 2024 15:13:52 +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=1717427634; cv=none; b=gz1dcrTuo+ULDJDTLANGjuLaQSIJGGz1elFRsmf/lq+MvAoJ1y2Tt+r2HZmIsAWkGGcT5nnWoXRMqlleTPs/4dBYzo4CqgkY8O928Buwe+ZgeoXvOC4cMMp5JvTZ/BBrNZ7R8wQ32NcGFZ6400+Hn8G8OugSZWxWB+cTFgifLFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717427634; c=relaxed/simple; bh=k13MWYRn4rywxvrD+TS2aLB+mXifXkz0yc8cNBRMw8E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=auYojB1L2X742jRkGWPoRBHlS+3A/2tE3BI5tfKh1gJNA+H80cc6GU+KnZ1knM+dEBZQt8CkugpFqjKlowEF5j1IzC2k8OfQfPpzyZzJ6XVdGzFBRyj2u6iyVkg8evh3qTZH2la0tutdYWx3QvL1C2ElvU8MQfCdrYPgXL/S7nw= 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=BBykTIyU; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BBykTIyU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717427631; 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=1RGr3OiNByqA746VAB7r+MtAa90GReZ3yy6ZqYyS84Y=; b=BBykTIyU5AHL0ABMP6z1d49jRH8HgaciT+zGfl/HhuUIxRstE5VtJn7B1/I9cufmAHhCvS nL3NYTRV3zxpJTtjRnU1NbqaihENI5iNjGvz+iqczV9X1iZy92XjR3aau3wmQZATd5OEf4 vjm/S3IW4uw33DTpKuT81BjhyuNxsIk= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-330-I6FJ6uM_PfSsr0wFuu74yA-1; Mon, 03 Jun 2024 11:13:47 -0400 X-MC-Unique: I6FJ6uM_PfSsr0wFuu74yA-1 Received: by mail-io1-f70.google.com with SMTP id ca18e2360f4ac-7eaccb5a928so555034239f.3 for ; Mon, 03 Jun 2024 08:13:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717427626; x=1718032426; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1RGr3OiNByqA746VAB7r+MtAa90GReZ3yy6ZqYyS84Y=; b=b1D7DuOrVsaWsFZQR7yU2bZeShGI3h/h2i2KJzubyEpY7wKDqtJ3YJqD1VVZoGe/b+ RMYOxlaV8xx0uA3atiPlO+Nw5VkbbG1pEDZrD0+8SoZCziODm/szGA0fmZ1c2QBz02WE MCYO/wJc8W/EyUZ+Dh21R4U1TgAPrXgZcAFNrM2vv24eUI3usMAdYb44ZRqKodF8szR1 /oqJ4nn1++c7F7q3PY8sF79pRDDyXFUkRUb3LPTebxEZsuMapMuE3Nc/pct7YT+r0H2I CZ3QDbHaq1zbN+pr8Q/1fGPgJUbGNPoMGbYwbWPwTsYzjqtB8AG+pp8adDRvCup5JzQ3 u+1Q== X-Forwarded-Encrypted: i=1; AJvYcCVNScQmSn8gYNP/LFzUb87FJv1UzJqo5j7GpuR8mfFxcBmNrtUNJW8XjdMdDHoWrxNSpEjtiel1X0DEI0Bhe8wUO6KVTwAqLY0xBSPhc9PR1U4= X-Gm-Message-State: AOJu0YzB+YnuqVx+yR2jelH0TsU5211G+qb0spjXMN5KVnm/clvkfBK8 lBfbrgjWYHIXULE5TH/ZOezHuF6Vd9TCeGS326UExg7bLWaT5RM5hy2Vu5umZwpoZAgroAZ8xdS E4kEMbutapRwDf7Wmfgst4D5eZE7VgjgznbVjtmE+qO4Az0MIFnD5YophzU4xvFBBDDm7 X-Received: by 2002:a05:6602:27c1:b0:7e1:b3fa:6470 with SMTP id ca18e2360f4ac-7eafff254edmr1168242339f.19.1717427626386; Mon, 03 Jun 2024 08:13:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGBxDvtFv5AIBCKC8eC8LS4yo/KVyqHTSZm/yVbm26pabAXTp4n+GMy/7B6FT6aNuqxToGQDA== X-Received: by 2002:a05:6602:27c1:b0:7e1:b3fa:6470 with SMTP id ca18e2360f4ac-7eafff254edmr1168233839f.19.1717427624919; Mon, 03 Jun 2024 08:13:44 -0700 (PDT) Received: from [10.0.0.71] (sandeen.net. [63.231.237.45]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b5fafbb3aesm44683173.19.2024.06.03.08.13.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jun 2024 08:13:44 -0700 (PDT) Message-ID: <934aaad0-4c41-43d4-9ba2-bd15513b9527@redhat.com> Date: Mon, 3 Jun 2024 10:13:43 -0500 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] debugfs: ignore auto and noauto options if given To: Christian Brauner Cc: Wolfram Sang , linux-renesas-soc@vger.kernel.org, linux-fsdevel@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , David Howells , linux-kernel@vger.kernel.org References: <20240522083851.37668-1-wsa+renesas@sang-engineering.com> <20240524-glasfaser-gerede-fdff887f8ae2@brauner> <20240527100618.np2wqiw5mz7as3vk@ninjato> <20240527-pittoresk-kneipen-652000baed56@brauner> <20240603-holzschnitt-abwaschen-2f5261637ca8@brauner> <7e8f8a6c-0f8e-4237-9048-a504c8174363@redhat.com> <20240603-turnen-wagen-685f86730633@brauner> Content-Language: en-US From: Eric Sandeen In-Reply-To: <20240603-turnen-wagen-685f86730633@brauner> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/3/24 9:33 AM, Christian Brauner wrote: > On Mon, Jun 03, 2024 at 09:17:10AM -0500, Eric Sandeen wrote: >> On 6/3/24 8:31 AM, Christian Brauner wrote: >>> On Mon, Jun 03, 2024 at 09:24:50AM +0200, Wolfram Sang wrote: >>>> >>>>>>> Does that fix it for you? >>>>>> >>>>>> Yes, it does, thank you. >>>>>> >>>>>> Reported-by: Wolfram Sang >>>>>> Tested-by: Wolfram Sang >>>>> >>>>> Thanks, applied. Should be fixed by end of the week. >>>> >>>> It is in -next but not in rc2. rc3 then? >>> >>> Yes, it wasn't ready when I sent the fixes for -rc2 as I just put it in >>> that day. >>> >> >> See my other reply, are you sure we should make this change? From a >> "keep the old behavior" POV maybe so, but this looks to me like a >> bug in busybox, passing fstab hint "options" like "auto" as actual mount >> options being the root cause of the problem. debugfs isn't uniquely >> affected by this behavior. >> >> I'm not dead set against the change, just wanted to point this out. > > Hm, it seems I forgot your other mail, sorry. No worries! > So the issue is that we're breaking existing userspace and it doesn't > seem like a situation where we can just ignore broken userspace. If > busybox has been doing that for a long time we might just have to > accommodate their brokenness. Thoughts? Yep, I can totally see that POV. It's just that surely every other strict-parsing filesystem is also broken in this same way, so coding around the busybox bug only in debugfs seems a little strange. (Surely we won't change every filesystem to accept unknown options just for busybox's benefit.) IOWS: why do we accomodate busybox brokenness only for debugfs, given that "auto" can be used in fstab for any filesystem? But in simplest terms - it was, in fact, debugfs that a) changed and b) got the bug report, so I don't have strong objections to going back to the old behavior. -Eric