Date: Wed, 09 Jun 2010 09:55:14 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/147715: am-utils hangs when mountd on remote host is not running Message-ID: <E1OMFBy-0000WD-J1@pundit.cs.huji.ac.il> Resent-Message-ID: <201006090700.o5970AkI022294@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1OMFBy-0000WD-J1>
