From owner-freebsd-hackers@FreeBSD.ORG Tue Oct 13 20:50:46 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A171065679 for ; Tue, 13 Oct 2009 20:50:46 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-exrelay3.uni-muenster.de (ZIVM-EXRELAY3.UNI-MUENSTER.DE [128.176.192.20]) by mx1.freebsd.org (Postfix) with ESMTP id 841BF8FC0C for ; Tue, 13 Oct 2009 20:50:46 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,553,1249250400"; d="scan'208";a="15787305" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER03.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay3.uni-muenster.de with ESMTP; 13 Oct 2009 22:50:44 +0200 Received: by ZIVMAILUSER03.UNI-MUENSTER.DE (Postfix, from userid 149459) id E97171B0751; Tue, 13 Oct 2009 22:50:44 +0200 (CEST) Date: Tue, 13 Oct 2009 22:50:44 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Mikolaj Golub Message-ID: In-Reply-To: <86d44vqs9l.fsf@kopusha.onet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: crashtar X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2009 20:50:47 -0000 Mikolaj Golub schrieb am 2009-10-10: > On Sat, 10 Oct 2009 12:34:05 +0200 (CEST) Alexander Best wrote: > AB> thanks. this is a cool script and very useful indeed. only thing > you might > AB> want to do is check for root privileges at the beginning to > avoid nasty error > AB> messages like. > AB> awk: can't open file /var/crash/info.0 > AB> source line number 12 > In some cases you might not need root privileges. E.g. on some > servers I don't > have root but SA gives me read access to crashdumps. In this case if > the > script had a check for root privileges I would not be able to use it. > Actually as for me the message looks informative enough, it says that > we have > some problems with accessing crash dump files, so permissions should > be > checked. alright then. :) again: great script. would be great to have this in the ports dir in the near future. cheers. alex