From owner-freebsd-current@FreeBSD.ORG Mon Nov 30 12:02:39 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CD551065694; Mon, 30 Nov 2009 12:02:39 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id CBCEE8FC1C; Mon, 30 Nov 2009 12:02:38 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NF4xe-0000fa-T8; Mon, 30 Nov 2009 12:02:38 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NF4xe-0001FT-5C; Mon, 30 Nov 2009 12:02:34 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nAUC2Xq2084737; Mon, 30 Nov 2009 12:02:33 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nAUC2Xwm084719; Mon, 30 Nov 2009 12:02:33 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 30 Nov 2009 12:02:33 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091130120233.GA78389@mech-cluster241.men.bris.ac.uk> References: <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 X-Spam-Level: ----- Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-ia64@freebsd.org Subject: Re: port sysutils/bsdstats intermittent mutex error on ia64 HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 12:02:39 -0000 On Mon, Nov 30, 2009 at 11:55:25AM +0000, Anton Shterenlikht wrote: > I might've reported this before: > > FreeBSD 9.0-CURRENT ia64 > > port bsdstats-5.5 sometimes works fine: > > # /usr/local/etc/periodic/monthly/300.statistics -nodelay > Posting monthly OS statistics to rpt.bsdstats.org > # > > but sometimes not: > > # /usr/local/etc/periodic/monthly/300.statistics -nodelay > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1966: fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&sock->lock))) == 0) ? 0 : 34) == 0) failed > [: 1: unexpected operator > Posting monthly OS statistics to rpt.bsdstats.org > # > > Also, it doesn't work if run by an unprivileged user. > I suppose this is the intended behaviour. forgot to put the output from an unprivileged user: > /usr/local/etc/periodic/monthly/300.statistics -nodelay /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/timer.c:906: fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ? 0 : 34) == 0) failed [: 1: unexpected operator /usr/local/etc/periodic/monthly/300.statistics: cannot open /var/db/bsdstats: Permission denied [: -lt: unexpected operator .: Can't open /var/db/bsdstats: Permission denied -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423