Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10488902rwb; Fri, 25 Nov 2022 05:13:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4D7c6OKsPnk7pik7R90Lb+QAdui1uqmUS4M+MnaBONsGm901tKgtJkuBUQLfDfwf3rV/dK X-Received: by 2002:aa7:947b:0:b0:56b:a3e5:d155 with SMTP id t27-20020aa7947b000000b0056ba3e5d155mr22366255pfq.23.1669381996975; Fri, 25 Nov 2022 05:13:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669381996; cv=none; d=google.com; s=arc-20160816; b=EAvUmmh9Mv15PciIEZh6Ha6GB/wura9jmLPDoXqMbRlSJfTlFp2I7n6m9CFNZKFq/i ogxCmpvIPf68iAM4bPI5emry+SjPykGvnkQK8+5o5BoqojcIGHJTZURXwSn4px+An8bO wbLF210rCWDDZ4pKk5BRQZjOisYf1NA+dh/6Iwr0nn8vJdmZd7p5iWN1vGNO0Pn+L1IW aQ0KgG+T/4nCIlhlU4PhtnhQ0mJ7ObfXFaFwDaGo/blXvEfwa+4AoEm/N2aC1pF4gN8L a8Uwv1KPyxdc6q1ixyyfa+lL0+0H7oUM5q3+9udnmUTepTcVkGMVI0MOg59Xg6qpw0s8 nhfg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=/QsZ0GR2pKzUfTYmbPBONT+OzoL0BUcbKhakZxRGyXI=; b=Z4DoaDuKoXG8SClNXWD+WUQLUAB5rn6PiUY9RmmY7I+tC2+9l/Y8A3Ape6C0UmZI9w 6canI77bQiSQ15sJWFgSChqApFOz2jc7/BMw4fKsOuZW9NIb6xRBE2ec1/njnAurQafH tfNsP2eeGW7aTOhD/YgqqXPthum68/3s++N73bedIEU8WoOIwHYYJrXiNOXOfnmVMo0Y JOEBkghaxruwOM7Zyl45LywyYlI+QvjctXPPBr63sWo1NXi8N7tppGtoZQAs0EokV3Ie TWbCuNBiKqP/vRmgNXuombfLeg4ADy3kHPwBGQPIY/JarcocnsFY8c4iQaYAPRw8DsP3 +7Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=j9i91Oa1; 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 kk13-20020a17090b4a0d00b001fdb95c743bsi5954318pjb.83.2022.11.25.05.12.48; Fri, 25 Nov 2022 05:13:16 -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=j9i91Oa1; 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 S229469AbiKYNIP (ORCPT + 99 others); Fri, 25 Nov 2022 08:08:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbiKYNIP (ORCPT ); Fri, 25 Nov 2022 08:08:15 -0500 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 920862D1 for ; Fri, 25 Nov 2022 05:08:13 -0800 (PST) Received: by mail-ej1-x636.google.com with SMTP id ho10so10260765ejc.1 for ; Fri, 25 Nov 2022 05:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=/QsZ0GR2pKzUfTYmbPBONT+OzoL0BUcbKhakZxRGyXI=; b=j9i91Oa1bkZGonRkX4BZVIKG6aUU95O6a9ycTLFbOv7epnaX22L+BR41v+agaYjDY0 bf2q2rrCuhHKq7MhPqtLv1oRIIbX4pj5CZ/ngv2ry+/AyHW0kFFGcUqDT2yYu59kFVdf KsTmm5wpWRZPZ5o5BhUGtkv6IIU2o5hUfslb1Rvi66IP3HNe+I+lcvpUaJ5g220Njuvl XrB1rqEgt+ON3XsJb+ZQkHNa0VfgVLaiA4nHMijykgaXgdYInlbRcNXJj+XMBiHkCj8F kTfQYajyRQQJI+4yt9VvShCPdtopV9XI3/CJu/t4oEUXBHHbf7EinlX8Y01V1M0uvP7v qHFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=/QsZ0GR2pKzUfTYmbPBONT+OzoL0BUcbKhakZxRGyXI=; b=tzBbfpiFJ2lehFyXeluLkNpLMlIWxpWL2WExL7y9TWLsQfyuu+79zavM2/9oQ8tKf6 uhadLjx+Ctx/rbi8OxM2u1GoOgmEqIaHLGH2G9a83BrAcUhtXG7vCxYq6kHU3GRjczHt bQtfYCzCMFCsCgQhJRMn/ZYlsSPCltFJm4qeCpi9nQ0LD1fxxBA6RdhEMUQnCkVJhsD7 ThqOkdy0dDMyc1SdtUO64XTg23DQJAOnlLpozRunvylshMAAe72yRfVf0Ih3ET8CquIl +sRt+rwKuXlTCY2cf47apBuVW1+oW4ktkEomznf4dqnDtPM+W1zvnEOWLkX7yBMCwqE0 yj9A== X-Gm-Message-State: ANoB5plOmVHIJCRvOltx6EuQijtUkgCZmebMDQGDXa9jyx2q9YV+YFJ6 rUllmv/3zgacAZhFnInZjQ0= X-Received: by 2002:a17:907:a509:b0:7bb:12ec:c8cd with SMTP id vr9-20020a170907a50900b007bb12ecc8cdmr7208899ejc.618.1669381692006; Fri, 25 Nov 2022 05:08:12 -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 d18-20020a170906305200b007b29d292852sm1552452ejd.148.2022.11.25.05.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 05:08:10 -0800 (PST) Sender: Salvatore Bonaccorso Received: by eldamar.lan (Postfix, from userid 1000) id 7443EBE2DE0; Fri, 25 Nov 2022 14:08:09 +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 1/4] Revert "configure: make modprobe.d directory configurable." Date: Fri, 25 Nov 2022 14:07:22 +0100 Message-Id: <20221125130725.1977606-2-carnil@debian.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125130725.1977606-1-carnil@debian.org> References: <20221125130725.1977606-1-carnil@debian.org> 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 This reverts commit 7d76dd2e6f09a141eb6303b7343baa5c4f9c85ad. As part of the full revert of adding support via modprobe.d configuration to set sysctl settings of NFS-related modules when loading the modules. The approach caused problems with sysctl from busybox and with kmod as reported in Debian (https://bugs.debian.org/1024082) Signed-off-by: Salvatore Bonaccorso --- configure.ac | 12 ------------ systemd/Makefile.am | 6 ++---- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/configure.ac b/configure.ac index 5d9cbf317453..4280cc770a45 100644 --- a/configure.ac +++ b/configure.ac @@ -71,18 +71,6 @@ AC_ARG_WITH(systemd, AM_CONDITIONAL(INSTALL_SYSTEMD, [test "$use_systemd" = 1]) AC_SUBST(unitdir) -modprobedir=/usr/lib/modprobe.d -AC_ARG_WITH(modprobedir, - [AS_HELP_STRING([--with-modprobedir@<:@=modprobe-dir-path@:>@],[install modprobe config files @<:@Default: /usr/lib/modprobe.d@:>@])], - if test "$withval" != "no" ; then - modprobedir=$withval - else - modprobedir= - fi - ) - AM_CONDITIONAL(INSTALL_MODPROBEDIR, [test -n "$modprobedir"]) - AC_SUBST(modprobedir) - AC_ARG_ENABLE(nfsv4, [AS_HELP_STRING([--disable-nfsv4],[disable support for NFSv4 @<:@default=no@:>@])], enable_nfsv4=$enableval, diff --git a/systemd/Makefile.am b/systemd/Makefile.am index 7b5ab84bd793..63a50bf2c07e 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -82,7 +82,5 @@ install-data-hook: $(unit_files) $(modprobe_files) else install-data-hook: $(modprobe_files) endif -if INSTALL_MODPROBEDIR - mkdir -p $(DESTDIR)$(modprobedir) - cp $(modprobe_files) $(DESTDIR)$(modprobedir) -endif + mkdir -p $(DESTDIR)/usr/lib/modprobe.d + cp $(modprobe_files) $(DESTDIR)/usr/lib/modprobe.d/ -- 2.38.1