NetBSD Problem Report #28923
From kim@tac.nyc.ny.us Sun Jan 9 18:49:30 2005
Return-Path: <kim@tac.nyc.ny.us>
Received: from hrothgar.gw.com (hrothgar.gw.com [204.80.150.33])
by narn.netbsd.org (Postfix) with ESMTP id 6BAAD63B400
for <gnats-bugs@gnats.NetBSD.org>; Sun, 9 Jan 2005 18:49:22 +0000 (UTC)
Message-Id: <20050109184921.D9D196B437@hrothgar.gw.com>
Date: Sun, 9 Jan 2005 13:49:21 -0500 (EST)
From: kim@tac.nyc.ny.us (Kimmo Suominen)
To: gnats-bugs@netbsd.org
Subject: mountd fails to resolve names
X-Send-Pr-Version: 3.95
>Number: 28923
>Category: bin
>Synopsis: mountd fails to resolve names
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 09 18:51:00 +0000 2005
>Closed-Date: Wed Nov 04 21:47:15 +0000 2020
>Last-Modified: Wed Nov 04 21:47:15 +0000 2020
>Originator: Kimmo Suominen
>Release: NetBSD 2.99.12 / Binaries: 2.99.11 (2004-12-15)
>Organization:
<A HREF="http://kimmo.suominen.com/">Kimmo Suominen</A>
>Environment:
System: NetBSD hrothgar.gw.com 2.99.12 NetBSD 2.99.12 (GW-GENERIC) #92: Sun Jan 9 04:40:56 EST 2005 kim@hrothgar.gw.com:/usr/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
At boot, mountd practically always fails to resolve hostnames in
netgroups used in /etc/exports. This never used to fail, but has
started doing so recently (perhaps since 2.99.10).
The errors logged are:
Jan 9 04:43:01 hrothgar mountd[606]: "/net/hrothgar/proj-8 -maproot", line 1: can't get address info for host nix.gw.com
Jan 9 04:43:01 hrothgar mountd[606]: "/net/hrothgar/src-1 -maproot", line 2: can't get address info for host nix.gw.com
Jan 9 04:43:01 hrothgar mountd[606]: "/net/hrothgar/src-2 -maproot", line 3: can't get address info for host nix.gw.com
The /etc/exports file contents:
/net/hrothgar/proj-8 -maproot=root dist-us
/net/hrothgar/src-1 -maproot=root dist-us
/net/hrothgar/src-2 -maproot=root dist-us
/home -alldirs -network 204.80.150.0/25
Running "env - sh /etc/rc.d/mountd reload" as soon as I can login
after booting results in the exports file resolving correctly.
DNS is needed to resolve the hostnames, and this has not changed.
The DNS server is up and running.
The netgroups are from a local db (not from NIS). The first host
returned from that group is nix.gw.com:
hrothgar:~> netgroup dist-us
nix.gw.com
morgoth.gw.com
hrothgar.gw.com
grendel.gw.com
dit.gw.com
beowulf.gw.com
stinky.astron.com
>How-To-Repeat:
Reboot and observe.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: kim@NetBSD.org
State-Changed-When: Wed, 04 Nov 2020 21:47:15 +0000
State-Changed-Why:
Timed out for fix. Not using NFS anymore, either.
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.