Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10611069rwb; Fri, 25 Nov 2022 06:16:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ni1DLOgoc6wCan8PiBlIhvFJJUkn0qsBTOPhDpLSXUojuji5tF5P9uGBcoqyIVsXr6E9P X-Received: by 2002:a05:6402:4507:b0:467:205b:723d with SMTP id ez7-20020a056402450700b00467205b723dmr15661258edb.69.1669385761477; Fri, 25 Nov 2022 06:16:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669385761; cv=none; d=google.com; s=arc-20160816; b=sERL/K8kFMRvLTpK9lPam9466YQquGBRd+qYkJbwiJC5cgi7PIRJuNhkmhrRSt7RFD EetI1urLwwBEZJ86UNdcxnnis2ebxlWY96Lg3Ibd2ghwnXWgHgZKzVH++Q9fthWEEa5I WF7SngGK+BVHODbFUV3J5NDJ7FzM663HFr5is/F1oyhbbRW25aksqlIj4onwQkz6pBV0 iEE1ooMtOwcYxq5rg6TcE7axy9t9TaxQs7Y6S5wGf4VV1J9/c91H+VaFiW0CSp3J3/vc umBBBs+FYfAmxsnDkRnl9qkoW9N6yhAB9W2cHlmIPy+tvqvVEzvt89S4w/987JbHzZRM H7Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=3wBwisi2/T4XmK/puw67uqZFXuf3OTea2yFrkzIvKT8=; b=phj4GY3VkGBZXT7lwwgifJlT3GFj6Gl/QDpBPhCPMU9idFXkAtfS4TzjV40tgO2Akb ZoNPzJshtGm3MCwKk9Sfdx9bRRxv8wmmk/6+pisazrtJOFOKcWkA2M+LAJ9d0gJTF2Wf LXTQbMpEmS0bnRRbyRvCVQy/wJMf+JbqR3a8hUjQYxT+GJqkB+MCaXihSzUK7YEZRQdt awejdEQ2JsbineEpHKpOnXrS7s11rcV9EWlV8pqXqSsCyWuHUL/8RCbBubOeZcHxDerG VJzI8Nx5XMOjKXrYZB79a7oJcNfxm6FbXZ/Rk8ixJKZdSwMgmNcHBu1lsfnVUuyURK+c 4k3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=c55pw7Cs; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o14-20020a170906974e00b007ae6f13645dsi3418059ejy.498.2022.11.25.06.15.25; Fri, 25 Nov 2022 06:16:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=c55pw7Cs; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229629AbiKYOHJ (ORCPT + 99 others); Fri, 25 Nov 2022 09:07:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbiKYOHI (ORCPT ); Fri, 25 Nov 2022 09:07:08 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D70251EAFA for ; Fri, 25 Nov 2022 06:07:04 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id e13so6532948edj.7 for ; Fri, 25 Nov 2022 06:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=3wBwisi2/T4XmK/puw67uqZFXuf3OTea2yFrkzIvKT8=; b=c55pw7CsonyMRciMjYVU5cAYdqTBA4/uvSmtEd6GOsYS0ZU66OHJt1+Cs0cO9iwLBZ dDTsCi70xemmGIy98jkLCHVkN9wivCT8IzIboKIw3vxe7QY16rxWP9OiPuUBQ0X+en+f YL0ixZBVW4xsrWbrp5cFHj2WvTKv61d0TvIaG9M17luhYYo8XAxEtY611mSXaxjkVzIv ZeG7m1KInyDTVthUD8Eg/HRW13cU/dVPQ15tFTUj1uykzYV7a+Zh77y6G7//SJdXbnLe 4KuGGJL5k3iV82YBLgJsnZ1tNoggRtkzY2X+5oN3+Now4BlBfzNq93lCOj1bwwZsuUfW 21Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3wBwisi2/T4XmK/puw67uqZFXuf3OTea2yFrkzIvKT8=; b=onwTfEahqBHmTnQyIVtuclqCV+3dm9OucCEhv+7GGmySMn8O3MkC4+ihQcbGCsP52l Z4kLU7zUDG9lMSwR/79Bg/EHZdyIxT1mQ9QHMz0SBB4HKgDNpRQEP+Z2L3jf6iVD8zVD UN/C5bxwctes7n5H3pZXw+POF6ivV+0wc9GLU3P3cnaSDrmvQRoauuw48jUEgFZl5VmX BK1iqWxSG3C5nuS5CfrJYiNTEUt2WRdr+kbtRm2KjuNesHuRIxm8KNjdtKVPE8T0/u54 fYLHGPm3F/GtGH4spT/kb3QB1k5Fdu6ofLbD2UVQrAALI3b5dMUXY/SNdiodjYEjs02R XvMQ== X-Gm-Message-State: ANoB5pkqPbOVfnAT2R2pXG9AgzkFHhf0768xRfvBnWxvnv3x0EkfPl4F Gn7gQYyv9JQ0k7S9B6fAjV8= X-Received: by 2002:a05:6402:189:b0:469:85d:2663 with SMTP id r9-20020a056402018900b00469085d2663mr32033596edv.56.1669385223366; Fri, 25 Nov 2022 06:07:03 -0800 (PST) Received: from eldamar.lan (c-82-192-242-114.customer.ggaweb.ch. [82.192.242.114]) by smtp.gmail.com with ESMTPSA id e1-20020a170906c00100b00787f91a6b16sm1600914ejz.26.2022.11.25.06.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:07:02 -0800 (PST) Sender: Salvatore Bonaccorso Received: by eldamar.lan (Postfix, from userid 1000) id 03AF0BE2DE0; Fri, 25 Nov 2022 15:07:01 +0100 (CET) From: Salvatore Bonaccorso To: NeilBrown , Steve Dickson , linux-nfs@vger.kernel.org Cc: Andras Korn , Marco d'Itri , Michael Prokop , Salvatore Bonaccorso Subject: [PATCH v2 0/4] Replace sysctl setting invocations triggered from udev rule instead of modprobe configuration Date: Fri, 25 Nov 2022 15:06:52 +0100 Message-Id: <20221125140656.1985137-1-carnil@debian.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Neil, hi Steve In Debian for the update including the systemd/50-nfs.conf there was a report that sunrpc is not included anymore in the initrd through the initramfs-tools hooks. The report is at https://bugs.debian.org/1022172 Marco d'Itri suggested there three possible solutions, of which one could be done in nfs-utils (whereas the other two are either in kmod upstream or initramfs-tools upstream). The nfs-utils one would be to replace the modprobe configuration with a set of udev rules instead. This series reverts the commits which introduce the use of the modprobe configuration and instead replaces it with an udev rule which triggers setting the sysctl settings when the respective modules are loaded. Regards, Salvatore Changes: -------- v2: - Fix a series of spelling and typos in the commit messages. Salvatore Bonaccorso (4): Revert "configure: make modprobe.d directory configurable." Revert "modprobe: protect against sysctl errors" Revert "systemd: Apply all sysctl settings when NFS-related modules are loaded" systemd: Apply all sysctl settings through udev rule when NFS-related modules are loaded configure.ac | 12 ------------ systemd/50-nfs.conf | 16 ---------------- systemd/60-nfs.rules | 21 +++++++++++++++++++++ systemd/Makefile.am | 15 ++++++--------- 4 files changed, 27 insertions(+), 37 deletions(-) delete mode 100644 systemd/50-nfs.conf create mode 100644 systemd/60-nfs.rules -- 2.38.1