From owner-svn-src-all@freebsd.org Wed Jul 5 15:43:52 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDE55DADD0C; Wed, 5 Jul 2017 15:43:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44F898DC; Wed, 5 Jul 2017 15:43:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v65Fhljm051607 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 5 Jul 2017 18:43:47 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v65Fhljm051607 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v65FhlJs051606; Wed, 5 Jul 2017 18:43:47 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 5 Jul 2017 18:43:47 +0300 From: Konstantin Belousov To: Rick Macklem Cc: Olivier Cochard-Labb?? , Rick Macklem , svn-src-head , svn-src-all , src-committers Subject: Re: svn commit: r320659 - head/usr.sbin/nfsuserd Message-ID: <20170705154346.GW1935@kib.kiev.ua> References: <201707042220.v64MKU77039219@repo.freebsd.org> <20170705050637.GT1935@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 15:43:52 -0000 On Wed, Jul 05, 2017 at 11:58:56AM +0000, Rick Macklem wrote: > Well, I know nothing about jails, so I can't answer either of these. > All I can tell you is that 127.0.0.1 no longer works as localhost when > jails are run for some situations which I don't understand and that > breaks the nfsuserd upcall. (Something about 127.0.0.1 being replaced > by the first IP# for the net interface when jails are running?) When a jailed process uses a local address, the address is effectively replaced by the jailed address, as you noted above. > > The patches in PR#205193 change nfsuserd to use a local socket, > which fixes this problem. However, the original poster of the PR had > hangs when using the patches which was never resolved (I couldn't > reproduce the hang). So consider the issue not reproducable and test it in wild by committing to HEAD. Ability to do such kind of experiment is one of the reasons why do we have HEAD and separate release branches. > --> It has been a couple of years, but I recall that the hang was in the > unix socket code, so I believed it was caused by having mutiple > processes trying to use the socket concurrently. > --> The original poster never confirmed if using a single daemon > avoided the hang. > As such I am stuck until someone can test the patches? rick