From owner-svn-ports-head@FreeBSD.ORG Mon Nov 4 09:33:09 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3691643A; Mon, 4 Nov 2013 09:33:09 +0000 (UTC) (envelope-from andrej.zverev@gmail.com) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CF23E2718; Mon, 4 Nov 2013 09:33:08 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id n12so6763749oag.26 for ; Mon, 04 Nov 2013 01:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XQfif5Igk1yLgH3myxChbUb94unsgxor+oOrgbhKw/M=; b=TMgyjMvU6m3XG0hd+J11IULDU/ZWVn4k6flbD0L68446sV3U9QmZX4C9LlzHFwOcAl 3/P/SjhRxYh5iD8vjQv4lCMitydmwl4t4ddv0NFnNtti2QYB9++BKTkgh55u0xl2FkbB q9fKtXfkMA2pDVJxTPoeo40bReA+hUSdDHXgQfr8oWCEZdG6pFeHwgIdtCvX8VQPBBl0 xXFNiHYhMsz2cy2DevjRzHrscllWHeEH7ApyZsppzYil913rQOpnNmixvw38C+Rrb8Az YEhZUxcLUjxoZgL3RznUaayFyVwcbOeJcK8lBkZ71zwzB1spO1QvwGd7Fhr5OYDAcgHC Ym1Q== MIME-Version: 1.0 X-Received: by 10.182.88.202 with SMTP id bi10mr582075obb.52.1383557588205; Mon, 04 Nov 2013 01:33:08 -0800 (PST) Sender: andrej.zverev@gmail.com Received: by 10.182.230.131 with HTTP; Mon, 4 Nov 2013 01:33:08 -0800 (PST) In-Reply-To: <201311040857.rA48v6wF086693@svn.freebsd.org> References: <201311040857.rA48v6wF086693@svn.freebsd.org> Date: Mon, 4 Nov 2013 13:33:08 +0400 X-Google-Sender-Auth: 41RaCXdEhxw932L0_zHrEhW2bcQ Message-ID: Subject: Re: svn commit: r332673 - in head/sysutils: . panicmail From: Andrej Zverev To: Colin Percival Content-Type: text/plain; charset=ISO-8859-1 Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Nov 2013 09:33:09 -0000 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 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 > > 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.