From danny@cs.huji.ac.il  Wed Jun  9 06:55:16 2010
Return-Path: <danny@cs.huji.ac.il>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E5E3D1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Jun 2010 06:55:16 +0000 (UTC)
	(envelope-from danny@cs.huji.ac.il)
Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84])
	by mx1.freebsd.org (Postfix) with ESMTP id 9472E8FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Jun 2010 06:55:16 +0000 (UTC)
Received: from pundit.cs.huji.ac.il ([132.65.80.126])
	by kabab.cs.huji.ac.il with esmtp
	id 1OMFBy-000EEP-KS
	for FreeBSD-gnats-submit@freebsd.org; Wed, 09 Jun 2010 09:55:14 +0300
Received: from danny by pundit.cs.huji.ac.il with local (Exim 4.71 (FreeBSD))
	(envelope-from <danny@cs.huji.ac.il>)
	id 1OMFBy-0000WD-J1
	for FreeBSD-gnats-submit@freebsd.org; Wed, 09 Jun 2010 09:55:14 +0300
Message-Id: <E1OMFBy-0000WD-J1@pundit.cs.huji.ac.il>
Date: Wed, 09 Jun 2010 09:55:14 +0300
From: Daniel Braniss <danny@cs.huji.ac.il>
Reply-To: Daniel Braniss <danny@cs.huji.ac.il>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: am-utils hangs when mountd on remote host is not running
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         147715
>Category:       bin
>Synopsis:       amd(8): am-utils hangs when mountd on remote host is not running
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 07:00:10 UTC 2010
>Closed-Date:    
>Last-Modified:  Thu Jun 10 01:29:39 UTC 2010
>Originator:     Daniel Braniss
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD pundit 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #14 r2649: Thu Jun 3 09:31:34 IDT 2010 danny@rnd:/r+d/obj/rnd/r+d/stable/8/sys/HUJI amd64


	
>Description:
	if /usr/local is automounted via am-utils, it will
	hang when accesing a client's portmapper returning
		 Program not registered
	or in plainer english, when the client is not running mountd.

        amd will now try, via strerror, to further report the error
	which, when compiled with NLS - the default - will call
	catopen(), which will search for catalogs in ...:/usr/local/...:
	which will trigger a 'call' to amd, but amd is now hung trying
	to print the error ...

>How-To-Repeat:
	have /usr/local automounted then, 
	ls /net/some-host-not-running-mountd
>Fix:
	- use am-utils's supplied strerror.c
	BTW, we have been using am-utils 6.2a3 which has
	several important bug fixes, so I suggest importing
	that version into the base.
>Release-Note:
>Audit-Trail:
>Unformatted:
