From nobody Wed Jun 11 04:04:36 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bHBrC3YTCz5ycWT; Wed, 11 Jun 2025 04:04:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bHBrC1PNWz3tmV; Wed, 11 Jun 2025 04:04:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 55B44aHx051179; Wed, 11 Jun 2025 07:04:39 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 55B44aHx051179 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 55B44aDF051178; Wed, 11 Jun 2025 07:04:36 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 11 Jun 2025 07:04:36 +0300 From: Konstantin Belousov To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= Cc: Rick Macklem , Gleb Smirnoff , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 79d0f4474653 - main - rpcbind: Ensure krpc is present. Message-ID: References: <865xh3jykw.fsf@ltc.des.dev> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <865xh3jykw.fsf@ltc.des.dev> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4bHBrC1PNWz3tmV X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US] On Tue, Jun 10, 2025 at 07:28:15PM +0200, Dag-Erling Smørgrav wrote: > Rick Macklem writes: > > Gleb Smirnoff writes: > > > Konstantin Belousov writes: > > > > Apparently we already have the feature called 'warmstart', where rpcbind > > > > can be restarted and existing registrations are reloaded. So it is in > > > > fact already solved, assuming admin is careful enough to use -w. > > > I really don't have a strong opinion on what would be right here. I have no > > > idea on how wide is the use of rpcbind w/o NFS. Kostik, Rick and Dag-Erling, > > > may you together come to agreement on what is right here? > > I don't have a strong opinion on it either, since most kernel configs > > include NFS options, so the krpc is there anyhow. > > It is not in fact “already solved”, and I'm frankly disgusted at the > amount of energy being spent on bikeshedding this after the fact > compared with the complete lack of interest in the problem prior to my > commit. > > Not everybody runs GENERIC. Right. > Practically nobody uses NIS. Wrong. > Something > needs to ensure that krpc is loaded when rpcbind starts in nearly 100% > of rpcbind use cases. My original choice was a small change to the rc > script, but Rick insisted on doing it directly in rpcbind instead, > although he now conveniently washes his hands of it. > > Konstantin, I don't care how you solve this, but I need NFS to work, and > I don't ever want to see “netlink: could not create service” on my > console again. And I do not want to get a host that cannot be logged in because rpcbind exited with an error that krpc cannot be loaded, thus making NIS nss unoperational. This happens somewhere not on my local machines, I would indeed not use NIS at home. Changing all fleet there because the proper fix is considered bikeshed is not feasible.