Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1458474rwb; Fri, 28 Jul 2023 09:38:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlEkXKlsCWSOTl26wEf/uAS7q10MjVodaCE/gk5tqe2ZFVc6lA//rgB3AkGxGjaVuKlqzSYv X-Received: by 2002:a05:6808:1211:b0:3a4:f8e:d798 with SMTP id a17-20020a056808121100b003a40f8ed798mr4819661oil.36.1690562319746; Fri, 28 Jul 2023 09:38:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690562319; cv=none; d=google.com; s=arc-20160816; b=fzsOrrVrMu1dFW3/LLKUbLq0J0191RZK6IHM5D7olwQu8FxPyWvpjwyz/Scrl91qMi uu5f1hRRVPxBkn0xlO+730itS2G6PD9nhZKB1JiJeL7N5yi6kAFl+d+aBJ1KoA1p6gxi 8A6FTsH4Kg+28NK1vSIMG1O1+IdQ2A81kJ55BvsQJKVqfe8LuhnJRlpeKwW4yHIjR1Zd jX5MZK+dYpsDRM6dIXCBbs3FV3w0UrGbvuSFIP3EpyzKE8ehJFubke4qE9XgPc89a0rJ Y7whxGTtKDL+uSqLENNxJZlSXCCTt8vl7vKvbgh993I+bMP2klHvIxWI3nqXOnckgDxE jFJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=VWsZj46S7NjxWXV41GGxSIF0YgoDBQk8g0COLW27ZQo=; fh=TbowCilu7zRwH6ArLCE3rPNDH0IeQrAhodRIEUK4GwM=; b=FuYDAIfe1nvNX2c0hB/rgoOb9mbXrLn68Qm6N3ASnfJ2ETq2eNIaErJne0QouBfYmn WREPfcTrPnekafdm7XlkpgJHOg8EnrWUY2pIHL0p1iG9shVsz9UzyIQ3EOa4qTkTXEoP W7EQdhqwCEwiDw/QmRPgLSkIM+pkJF/J6g7RNP/a9GWzSX9jzA8pxKN9ZRI7DxRi1YB3 Dnv+QDGGmWp+w6Nqf5BgBZdEoQ8x26gN+H5FwhidgCOYHMyAqXFn7aOad2l4sGkRMMlQ d0lzpT+E8XPLyT9ArTYHEhpCDyUlZBkHVzb6+cqFvPOjC7mN6M95vRH6vIAeaZ/B2vVZ Ht/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=pdY72ETq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h19-20020a17090aa89300b00262e49c31c2si3303895pjq.28.2023.07.28.09.38.26; Fri, 28 Jul 2023 09:38:39 -0700 (PDT) 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=@canonical.com header.s=20210705 header.b=pdY72ETq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229446AbjG1QHa (ORCPT + 99 others); Fri, 28 Jul 2023 12:07:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234254AbjG1QH3 (ORCPT ); Fri, 28 Jul 2023 12:07:29 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B54A3C33 for ; Fri, 28 Jul 2023 09:07:28 -0700 (PDT) Received: from mail-yw1-f198.google.com (mail-yw1-f198.google.com [209.85.128.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id F21E23F189 for ; Fri, 28 Jul 2023 16:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1690560446; bh=VWsZj46S7NjxWXV41GGxSIF0YgoDBQk8g0COLW27ZQo=; h=MIME-Version:From:Date:Message-ID:Subject:To:Content-Type; b=pdY72ETqfZ7JYnKixZ5ussrueANh7sSQP4TiDe6I+Y9PzNaahTru6sZDl7D5uaJmq u6Izqwpw2KfR4nnIoli5tDqKDz1+6GYFdk2+EKD0jrSQUxbGl+gsirEC/CtL6D4nPZ PGog2fe9mIoxACLT/giwSs7z998pjR7kNwNiHs10GmeTQ068KH48rZyJPSuJBXE+M2 wT3lp2cf8u7gp/fYBPMYs4pQJ7la4PwZStdc2NGv7/GIoJ1WM0pJwyJ83U0ITGtqk0 PQ2Vfm5aCWTe5x3D9OPUahdp5iXctoMdSzp2DCnJNTXBfTu/0FNYM/3YpTS3j6Ba0s Vw22CS2nMw4kQ== Received: by mail-yw1-f198.google.com with SMTP id 00721157ae682-56942442eb0so25184547b3.1 for ; Fri, 28 Jul 2023 09:07:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690560446; x=1691165246; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VWsZj46S7NjxWXV41GGxSIF0YgoDBQk8g0COLW27ZQo=; b=X2wmMnihfIs2FHwePOSylwo7ohVzulN1ViBHq8Drs5Lxp7L6slCcIE0UVIq2BZ5LQz VLDYb+V2UisGlX7pV7BKQLjVg3xOsOG1gZPazW3pO0vKoYnGghaPGDqtj0FO5V8B9ZvZ MigUzPN9UUDzf7J47rmp60DRRl6KPcAZygxh4qJxxlHbjmfSAKc6pfKEeAZpqAETaKsm WbPbAQ60EDSLhaDv1uPlxtb6IdvTerrUpY87IBx4zCSoO7o+ZyUzL6ON+iz1opdOGSPz IG7cO+u/F5lVtiAEnrS1hay0PHQRw/RYNEoXt/ysTf9EsDLOSrsK8P/74hXP9wd0StcA eJBA== X-Gm-Message-State: ABy/qLbGUqHlhaMy3H+WKvoXtp9w78LBmh9ytaiUe5YBiAtmkJwSXI6Z sq8Vt5su0sFCIBYQZwijVPGorOJ8Fq2VwHHNPCagC0JNrpZOCaL8AOUHScB1uJddRu2z8UroAUc gymvP1dMmxDqBC0IhB2cDrkzys9A17tXGdAperHEveom3X6JGEY49zWpnwk9EXfu0 X-Received: by 2002:a0d:ccd0:0:b0:579:e327:8229 with SMTP id o199-20020a0dccd0000000b00579e3278229mr2025626ywd.34.1690560445873; Fri, 28 Jul 2023 09:07:25 -0700 (PDT) X-Received: by 2002:a0d:ccd0:0:b0:579:e327:8229 with SMTP id o199-20020a0dccd0000000b00579e3278229mr2025617ywd.34.1690560445631; Fri, 28 Jul 2023 09:07:25 -0700 (PDT) MIME-Version: 1.0 From: Andreas Hasenack Date: Fri, 28 Jul 2023 13:07:14 -0300 Message-ID: Subject: [PATCH 1/2] Always run the rpc_pipefs generator To: linux-nfs@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Shipping both a static unit and a generator to mount rpc_pipefs increases complexity and can introduce bugs, like seen in [1]. Since there is a generator, let's use it all the time, even when the rpc_pipefs mountpoint matches the compiled in default. 1. https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1971935/comments/22 Signed-off-by: Andreas Hasenack --- systemd/rpc-pipefs-generator.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/systemd/rpc-pipefs-generator.c b/systemd/rpc-pipefs-generator.c index 3aaeaeaf..ff6ac988 100644 --- a/systemd/rpc-pipefs-generator.c +++ b/systemd/rpc-pipefs-generator.c @@ -140,9 +140,6 @@ int main(int argc, char *argv[]) s = conf_get_str("general", "pipefs-directory"); if (!s) exit(0); - if (strlen(s) == strlen(RPC_PIPEFS_DEFAULT) && - strcmp(s, RPC_PIPEFS_DEFAULT) == 0) - exit(0); if (is_non_pipefs_mountpoint(s)) exit(1); -- 2.39.2