Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2013 13:33:08 +0400
From:      Andrej Zverev <az@freebsd.org>
To:        Colin Percival <cperciva@freebsd.org>
Cc:        "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org>
Subject:   Re: svn commit: r332673 - in head/sysutils: . panicmail
Message-ID:  <CAD5bB%2BjoZ2YdrZhQ65AMoSa0z8XxcoK3WmH%2BmjZrq-rdqe59Dg@mail.gmail.com>
In-Reply-To: <201311040857.rA48v6wF086693@svn.freebsd.org>
References:  <201311040857.rA48v6wF086693@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nice.
Can you create a closed maillist (moderated and for developers only)
and send reports this way? Also it's good idea for me, to insert
sysctl  kern.hostuuid into Subject, at least you can track and
correlate hosts info.





On Mon, Nov 4, 2013 at 12:57 PM, Colin Percival <cperciva@freebsd.org> wrote:
> Author: cperciva
> Date: Mon Nov  4 08:57:06 2013
> New Revision: 332673
> URL: http://svnweb.freebsd.org/changeset/ports/332673
>
> Log:
>   When rebooting after a panic, send an encrypted email containing basic
>   dump metadata along with a kernel backtrace, in order to assist FreeBSD
>   developers in identifying and fixing common panics.
>
>   Discussed on: freebsd-hackers
>
> Added:
>   head/sysutils/panicmail/
>   head/sysutils/panicmail/Makefile   (contents, props changed)
>   head/sysutils/panicmail/distinfo   (contents, props changed)
>   head/sysutils/panicmail/pkg-descr   (contents, props changed)
>   head/sysutils/panicmail/pkg-message   (contents, props changed)
> Modified:
>   head/sysutils/Makefile
>
> Modified: head/sysutils/Makefile
> ==============================================================================
> --- head/sysutils/Makefile      Mon Nov  4 08:30:37 2013        (r332672)
> +++ head/sysutils/Makefile      Mon Nov  4 08:57:06 2013        (r332673)
> @@ -644,6 +644,7 @@
>      SUBDIR += pacman
>      SUBDIR += paicc
>      SUBDIR += pam_mount
> +    SUBDIR += panicmail
>      SUBDIR += parallel
>      SUBDIR += password-store
>      SUBDIR += patchelf
>
> Added: head/sysutils/panicmail/Makefile
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/sysutils/panicmail/Makefile    Mon Nov  4 08:57:06 2013        (r332673)
> @@ -0,0 +1,25 @@
> +# $FreeBSD$
> +
> +PORTNAME=      panicmail
> +PORTVERSION=   1.0
> +CATEGORIES=    sysutils
> +MASTER_SITES=  http://www.daemonology.net/panicmail/
> +
> +MAINTAINER=    cperciva@FreeBSD.org
> +COMMENT=       Automatically report kernel panics
> +
> +LICENSE=       BSD
> +
> +RUN_DEPENDS=   pkesh:${PORTSDIR}/security/pkesh
> +
> +NO_BUILD=      yes
> +NO_INSTALL=    yes
> +
> +PLIST_FILES=   etc/rc.d/panicmail \
> +               etc/cperciva-panicmail.pem
> +
> +do-install:
> +       ${INSTALL_SCRIPT} ${WRKSRC}/panicmail ${STAGEDIR}${PREFIX}/etc/rc.d/
> +       ${INSTALL_DATA} ${WRKSRC}/cperciva-panicmail.pem ${STAGEDIR}${PREFIX}/etc
> +
> +.include <bsd.port.mk>
>
> Added: head/sysutils/panicmail/distinfo
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/sysutils/panicmail/distinfo    Mon Nov  4 08:57:06 2013        (r332673)
> @@ -0,0 +1,2 @@
> +SHA256 (panicmail-1.0.tar.gz) = 3b27995cdb72c211a7b7061335b6f0933e1cbc6546d1aa0d48c9bd87bd845541
> +SIZE (panicmail-1.0.tar.gz) = 2934
>
> Added: head/sysutils/panicmail/pkg-descr
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/sysutils/panicmail/pkg-descr   Mon Nov  4 08:57:06 2013        (r332673)
> @@ -0,0 +1,3 @@
> +When rebooting after a panic, send an encrypted email containing basic
> +dump metadata along with a kernel backtrace, in order to assist FreeBSD
> +developers in identifying and fixing common panics.
>
> Added: head/sysutils/panicmail/pkg-message
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/sysutils/panicmail/pkg-message Mon Nov  4 08:57:06 2013        (r332673)
> @@ -0,0 +1,9 @@
> +To enable sending of panic reports, add
> +       panicmail_enable="YES"
> +to your /etc/rc.conf.
> +
> +By default panic reports will be sent to root with instructions to forward
> +them if they do not contain any sensitive information.  To automatically
> +submit panic reports directly, add
> +       panicmail_autosubmit="YES"
> +to your /etc/rc.conf in addition.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD5bB%2BjoZ2YdrZhQ65AMoSa0z8XxcoK3WmH%2BmjZrq-rdqe59Dg>