Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2970854lqo; Tue, 21 May 2024 02:56:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMb5kNJfuJMClbyv23JJu3/NRqwlB+ogD2i4wzt7PrgLTjxi105yYNMVpOfCVUJqRRYcIqhXNrAXKEby9Hka2/aOhzY3tulB82nP08IQ== X-Google-Smtp-Source: AGHT+IGJR3DmONBSae1Y5nQGH7bS8eEMkkobddvWnAobs9LQzVLCTk6PFDwoPFtU6WFQhca90rfd X-Received: by 2002:a05:622a:315:b0:43a:f578:23c6 with SMTP id d75a77b69052e-43dfdd69bf0mr365568241cf.59.1716285400829; Tue, 21 May 2024 02:56:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716285400; cv=pass; d=google.com; s=arc-20160816; b=PxxH7spiN6ZanyJ7WKMiUrUbNE+k+jsJ4YSkMQIzm+Et+T+jiw0BdGdM5g/tXN4tp5 EyQgRz6cLKqKY1cpHrlPaCU5jXqMAsHYI0MBbYO4Dpo48pCCG0AVGYqSyUf3kxhy8kjE Kf+QIoSEVCN4QCBW8YFIQK1pxYdSwq34BwO3zKCaCgtlyi+E7ydtYX82BgMJq+dyy7MU FiO6MAqomde3GURxvpwLJ7mxQRHxSVbnRRwZIHCsU7B5nVHuaxrURk83UPTG86FNKl1e /vdrAQ8GX7k2CYGaD0xrXRRFxqxbtVOfmmke93FSYpVnGeg7WKhAFhkrZIfTaokxG+Uh k00A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=KsAn7wCi5xOChvg3+a0dlZT3MBt8abLyeHllzbAdAvA=; fh=0BDl/auEtCiaRoJaSbHwx8I4AJ/rCWL6l3Ew/2K7r3o=; b=AxgXYQFmvJvylDnCzCowKpmI03LWj9cbGjIYI3l6qXEAtfYC/hlI2VP6QfeNU5co2M XRL6yVAZzMeB+zv20a7Tby96ciFqMHcW7ET9v8AdfSldvR4sbMgouF4IRrlJm4A7mQlm 6BP517l+bGGSzLoI6I9/tziorL3J/Yxk4WvyCdH+3x4fnFbShrpV3nKI4GUyqp9MYbwI ivFzaMxFcawXxT3u69v/95tN2fZq4L3tSTNMNpsNN/fhTR/iXTJ9oriuDx7+o8mAqXaT S8h8LlTHB0x5vvrLZG7sxaHZ0wbZ4ie2u2d+0ijovqijjZLMof9w9Og8/8DcC5kebZZH 5WKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-nfs+bounces-3300-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3300-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df56cc02fsi273582911cf.644.2024.05.21.02.56.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 02:56:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3300-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-nfs+bounces-3300-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3300-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5B2E21C20AFE for ; Tue, 21 May 2024 09:56:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4878560EC4; Tue, 21 May 2024 09:56:39 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (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 1451156763 for ; Tue, 21 May 2024 09:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716285399; cv=none; b=GJ9sxBV1GLiY4f26/rMbR9MraKBzffspEIrTBnhnq8FQwY7I9GEifuE/Kfn5XItIKwxIgHUOS0FsuWeLZQzDtiAIz4HzZw3ptkC/iVcrjK+3+0K8tDzDaNcT9bYCZdvTRr5mOBaS5dK+7HAou40SIAJ924ene1+bUHz/ZaEJl0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716285399; c=relaxed/simple; bh=9jYYJdwBIuzSRXYa6nEqZlNQpMtFqpFi+iSpT3gqCAM=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=B6f8Chu2kLsdi843pApjp+NnbW+3WfM86st/ro/oLHM8PmIBRJRNwOE1ssjWkeumsOQYl3rMOEZ46bPJbjoyXxunrB4RYgUuE1ecCw2nNTLEP9IvUU8ZgD0YBFYXHC6iS1jqM4NaMp2bX8drK2RqbUXqTYSY0gA773IdFcgmyDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [141.14.220.56] (g56.guest.molgen.mpg.de [141.14.220.56]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 0DD9961E5FE06; Tue, 21 May 2024 11:55:35 +0200 (CEST) Message-ID: Date: Tue, 21 May 2024 11:55:34 +0200 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: NFSD: Unable to initialize client recovery tracking! (-110) From: Paul Menzel To: Chuck Lever , Jeff Layton Cc: linux-nfs@vger.kernel.org, regressions@lists.linux.dev, it+linux-nfs@molgen.mpg.de References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit #regzbot ^introduced: 74fd48739d04 Dear Jeff, Am 19.04.24 um 18:50 schrieb Paul Menzel: > Since at least Linux 6.8-rc6, Linux logs the warning below: > >     NFSD: Unable to initialize client recovery tracking! (-110) > > I haven’t had time to bisect yet, so if you have an idea, that’d be great. 74fd48739d0488e39ae18b0168720f449a06690c is the first bad commit commit 74fd48739d0488e39ae18b0168720f449a06690c Author: Jeff Layton Date: Fri Oct 13 09:03:53 2023 -0400 nfsd: new Kconfig option for legacy client tracking We've had a number of attempts at different NFSv4 client tracking methods over the years, but now nfsdcld has emerged as the clear winner since the others (recoverydir and the usermodehelper upcall) are problematic. As a case in point, the recoverydir backend uses MD5 hashes to encode long form clientid strings, which means that nfsd repeatedly gets dinged on FIPS audits, since MD5 isn't considered secure. Its use of MD5 is not cryptographically significant, so there is no danger there, but allowing us to compile that out allows us to sidestep the issue entirely. As a prelude to eventually removing support for these client tracking methods, add a new Kconfig option that enables them. Mark it deprecated and make it default to N. Acked-by: NeilBrown Signed-off-by: Jeff Layton Signed-off-by: Chuck Lever fs/nfsd/Kconfig | 16 +++++++++ fs/nfsd/nfs4recover.c | 97 +++++++++++++++++++++++++++++++++------------------ fs/nfsd/nfsctl.c | 6 ++++ 3 files changed, 85 insertions(+), 34 deletions(-) `NFSD_LEGACY_CLIENT_TRACKING` is not set: # CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set Kind regards, Paul