Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2454632yba; Fri, 10 May 2019 11:50:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOcnKb7tTfblpcm0Bjda1KYHzjDqmfL0qd3HhQyq62X5eRnpVJPhFyPfKAgDHAVBFOcs4A X-Received: by 2002:a62:544:: with SMTP id 65mr16512793pff.46.1557514233186; Fri, 10 May 2019 11:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557514233; cv=none; d=google.com; s=arc-20160816; b=niWmtKQ2X44NUk5l8Bx+TDNuPFX6wHRyrBBvmmqpq+QH1a7u9bB7MoCZTeq2zwj32u WXdwtXjIb/lCBgGUMEpnR1GZh/DliCLRpUBjM/ho3IWP9fO/6nz0rwASWfwSqs+n36HC BlJ9r+/cnlgRipQ675EALtWYZbYURoGk6P5ta2Z81uG+IT2Jx6GGA2aahdw0xFMeF33j Rtn3cxd+lr4wasQmi8HnO+YiLSp1PGzynkdtLz1F0Af8gEl/YDZnX4cBhvxfnUpZBEbl pXOBE5ciEJBV4qgfoYVljI/aALjHLyNcV5HL3O8OKaeVojkUgAUp5uVqQGwrQAVeqb6t oOHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=mMcbvlK/3XIyQi6BKwAQoWh0MfEQu5y3fsXPKrpF0r4=; b=npZ3jGx/ecZ6tumn1kRs0ec5LTORGUoY9V/ak5oBU9hs9ZSxCzVeINhRmC9Neyo5qp mmoLG0mTgJOiTMoefih8v4ldZ6665fnKz3JDOebiIB+t0AXEk/g+N98UYAZwfXq8nSOB 2ORo73P0LPGLoceOwxgp2NVwsWR095wpeoi9vPHqhcW7XyIXdWXKBiRk6vSkrKDJN1E+ 4eEkWa6zMi28wcx553g0S6cp63ptESUgUXqtiLfuvflF/W2350dKmRUZb0aGtJeZoJ40 vnxt5yRBr2xzCjkYkkfhsQdkZui7fAibXqxtO7veF6TtjMq0k01WDgFsRfd57t/qsKbL RZ5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t5si8238241pgv.164.2019.05.10.11.50.07; Fri, 10 May 2019 11:50:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727638AbfEJStS (ORCPT + 99 others); Fri, 10 May 2019 14:49:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40398 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727622AbfEJStS (ORCPT ); Fri, 10 May 2019 14:49:18 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2049A307D852; Fri, 10 May 2019 18:49:18 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (ovpn-116-27.phx2.redhat.com [10.3.116.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA1AF1000320; Fri, 10 May 2019 18:49:17 +0000 (UTC) Subject: Re: [PATCH] nfs-utils: nfsidmap fail to build if no --with-pluginpath specified To: Yongcheng Yang Cc: linux-nfs@vger.kernel.org References: <20190402091651.17186-1-yongcheng.yang@gmail.com> <95e49187-6d99-4168-1bb1-4a3f6f2500ee@RedHat.com> <20190417092246.GA5865@yoyang-pc.usersys.redhat.com> From: Steve Dickson Message-ID: <6c2d66ec-a098-72d6-42ab-15c3baa06f30@RedHat.com> Date: Fri, 10 May 2019 14:49:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190417092246.GA5865@yoyang-pc.usersys.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Fri, 10 May 2019 18:49:18 +0000 (UTC) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 4/17/19 5:22 AM, Yongcheng Yang wrote: > Hi SteveD, > > On Tue, Apr 16, 2019 at 10:34:51AM -0400, Steve Dickson wrote: >> The only way I see a failure is when ./configure --with-pluginpath= >> without a path which is wrong... >> >> ./configure --with-pluginpath=/usr/lib/libnfsidmap seems to work >> just fine >> >> I thinking it is better to error out when a path is not given >> then to gloss over but used a default. >> >> steved. >> > > From what you comments, there should be a plugin path assigned by > default if the user is not aware of it, correct? > > Surely "./configure --with-pluginpath=/usr/lib/libnfsidmap" can work. > But I didn't know the specific exact path before. > > I was just using "./configure" without any options and find out that > it's empty. (Please find my previous full logs) > > Agree with you we should "use a default" one when path is not given. Change of mind.... I think the patch is good... Committed! thanks!! steved. > > Thanks, > Yongcheng >