From owner-freebsd-bugs Fri Aug 20 2:36:42 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from mta3.rcsntx.swbell.net (mta3.rcsntx.swbell.net [151.164.30.27]) by hub.freebsd.org (Postfix) with ESMTP id A936F15AA2; Fri, 20 Aug 1999 02:36:37 -0700 (PDT) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org (adsl-216-62-154-215.dsl.hstntx.swbell.net) by mta3.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.05.24.18.28.p7) with ESMTP id <0FGR0016JBY340@mta3.rcsntx.swbell.net>; Fri, 20 Aug 1999 04:34:51 -0500 (CDT) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id EAA09757; Fri, 20 Aug 1999 04:36:01 -0500 (CDT envelope-from chris) Date: Fri, 20 Aug 1999 04:36:01 -0500 From: Chris Costello Subject: Re: misc/13265: lock doesn't lock In-reply-to: <199908200930.CAA29798@freefall.freebsd.org> To: Sheldon Hearn Cc: freebsd-bugs@FreeBSD.ORG, freebsd-gnats-submit@FreeBSD.ORG Reply-To: chris@calldei.com Message-id: <19990820043601.E6984@holly.dyndns.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i References: <199908200930.CAA29798@freefall.freebsd.org> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Aug 20, 1999, Sheldon Hearn wrote: > How long do you leave it before giving up and hitting Ctrl-C? Give it a > while. You might find that it's having a problem with gethostname(). Is > your machine's hostname configured? What do you see when you do this on > the command-line: There are no network operations in gethostname(3): int gethostname(name, namelen) char *name; int namelen; { int mib[2]; size_t size; mib[0] = CTL_KERN; mib[1] = KERN_HOSTNAME; size = namelen; if (sysctl(mib, 2, name, &size, NULL, 0) == -1) return (-1); return (0); } -- |Chris Costello |I haven't lost my mind; it's backed up on tape somewhere. `--------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message