From nobody@FreeBSD.org  Mon Apr 30 08:44:44 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C5A4E16A404
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Apr 2007 08:44:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id B862913C4B7
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Apr 2007 08:44:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3U8igoh015836
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Apr 2007 08:44:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l3U8dfTm015313;
	Mon, 30 Apr 2007 08:39:41 GMT
	(envelope-from nobody)
Message-Id: <200704300839.l3U8dfTm015313@www.freebsd.org>
Date: Mon, 30 Apr 2007 08:39:41 GMT
From: Gaspar Chilingarov<nm@web.am>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rpcbind.c rev 1.15 breaks rpc if used with -h option
X-Send-Pr-Version: www-3.0

>Number:         112266
>Category:       bin
>Synopsis:       rpcbind.c rev 1.15 breaks rpc if used with -h option
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    matteo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 30 08:50:08 GMT 2007
>Closed-Date:    Sat Jun 09 09:31:29 GMT 2007
>Last-Modified:  Sat Jun 09 09:31:29 GMT 2007
>Originator:     Gaspar Chilingarov
>Release:        -CURRENT
>Organization:
>Environment:
FreeBSD 7.0-CURRENT #3: Mon Apr 30 02:44:35 AMST 2007
>Description:
in case of running "rpcbind -h 127.0.0.1 " (or specifying any other host), local socket is not created in /var/run/rpcbind.sock .

This is probably the result of refactoring of rcpbind.c and this bug was introduced in rev. 1.15.

>How-To-Repeat:
run rpcbind -h 127.0.0.1 
and then ls -al /var/run/rpcbind*

you should see /var/run/rpcbind.sock, but it's absent.

it is there on normal invocation of rpcbind without -h option.
>Fix:
i've just rolled back a version of rpcbind.c ....
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->matteo 
Responsible-Changed-By: matteo 
Responsible-Changed-When: Mon Apr 30 09:10:35 UTC 2007 
Responsible-Changed-Why:  
I committed rev1.15 and I will try to fix this bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112266 
State-Changed-From-To: open->feedback 
State-Changed-By: matteo 
State-Changed-When: Tue May 1 00:33:54 UTC 2007 
State-Changed-Why:  
A patch is available at http://people.freebsd.org/~matteo/diff/112266rpcbind.c.diff 
Could you please test it and report if it fixes the bug? 
Thanks in advance 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112266 

From: Gaspar Chilingarov <nm@web.am>
To: bug-followup@FreeBSD.org,  matteo@FreeBSD.org
Cc:  
Subject: Re: bin/112266: rpcbind.c rev 1.15 breaks rpc if used with -h option
Date: Tue, 01 May 2007 17:14:08 +0500

 Yes, thanks, it fixes things.
 
 rpcinfo -p
 
 works as expected, and automounter too. I've have not tested another 
 services, but I think they should work too.
 
 /Gaspar
 
 -- 
 Gaspar Chilingarov
 
 System Administrator,
 Network security consulting
 
 t +37493 419763 (mob)
 i 63174784
 e nm@web.am
State-Changed-From-To: feedback->patched 
State-Changed-By: matteo 
State-Changed-When: Tue May 1 14:48:15 UTC 2007 
State-Changed-Why:  
I committed the patch to HEAD and will MFC revs 1.15 and 1.16 next week 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112266 
State-Changed-From-To: patched->closed 
State-Changed-By: matteo 
State-Changed-When: Sat Jun 9 09:30:45 UTC 2007 
State-Changed-Why:  
Fixed and merged to RELENG_6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112266 
>Unformatted:
