From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 9 07:00:10 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B227A1065677 for ; Wed, 9 Jun 2010 07:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6DE2F8FC24 for ; Wed, 9 Jun 2010 07:00:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5970AmB022295 for ; Wed, 9 Jun 2010 07:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5970AkI022294; Wed, 9 Jun 2010 07:00:10 GMT (envelope-from gnats) Resent-Date: Wed, 9 Jun 2010 07:00:10 GMT Resent-Message-Id: <201006090700.o5970AkI022294@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Braniss Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5E3D1065670 for ; 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 ; 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 ) id 1OMFBy-0000WD-J1 for FreeBSD-gnats-submit@freebsd.org; Wed, 09 Jun 2010 09:55:14 +0300 Message-Id: Date: Wed, 09 Jun 2010 09:55:14 +0300 From: Daniel Braniss To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/147715: am-utils hangs when mountd on remote host is not running X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Braniss List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 07:00:10 -0000 >Number: 147715 >Category: bin >Synopsis: 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: >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: