Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2009 22:50:44 +0200 (CEST)
From:      Alexander Best <alexbestms@math.uni-muenster.de>
To:        Mikolaj Golub <to.my.trociny@gmail.com>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: crashtar
Message-ID:  <permail-200910132050441e86ffa800003ff2-a_best01@message-id.uni-muenster.de>
In-Reply-To: <86d44vqs9l.fsf@kopusha.onet>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-200910132050441e86ffa800003ff2-a_best01>