From owner-freebsd-stable Mon Oct 21 3:53: 5 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C1E337B401 for ; Mon, 21 Oct 2002 03:53:04 -0700 (PDT) Received: from office.advantage-interactive.com (host217-37-74-237.in-addr.btopenworld.com [217.37.74.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB4A243E65 for ; Mon, 21 Oct 2002 03:53:03 -0700 (PDT) (envelope-from simond@irrelevant.org) Received: from devbox.advantage-interactive.com ([192.168.254.128] helo=linux.advantage-interactive.com) by office.advantage-interactive.com with esmtp (Exim 3.36 #1) id 183aB4-00009j-00; Mon, 21 Oct 2002 11:52:54 +0100 Subject: Re: Syslog.pm Cannot get host name of local machine From: Simon Dick To: Phil Homewood Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <20021021104506.GA71836@dorfl.internal.moreton.com.au> References: <1035196522.1771.12.camel@linux> <20021021104506.GA71836@dorfl.internal.moreton.com.au> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 21 Oct 2002 11:52:54 +0100 Message-Id: <1035197574.1978.16.camel@linux> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 2002-10-21 at 11:45, Phil Homewood wrote: > Simon Dick wrote: > > > Cannot get host name of local machine at /usr/libdata/perl/5.00503/Sys/Syslog.pm line 248 > > > > I got that too, I still can't see a reason why it's not working :( > > I suspect you've found a bug in Sys::Hostname which I reported > nearly three years (and several email addresses) ago, and which > never got fixed. > > http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/15662 contains the > PR and a patch which might fix your problem. Another workaround > (which really only works by accident) might be simply to set > $ENV{'PATH'} explicitly in spamd. That's actually the patch I ended up using, even though I have no idea at all why it fixes it (I just used trial and error) -- Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message