1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

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
This commit is contained in:
Colin Percival 2013-11-04 08:57:06 +00:00
parent f027257d68
commit 604b1dfaa8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332673
5 changed files with 40 additions and 0 deletions

View File

@ -644,6 +644,7 @@
SUBDIR += pacman
SUBDIR += paicc
SUBDIR += pam_mount
SUBDIR += panicmail
SUBDIR += parallel
SUBDIR += password-store
SUBDIR += patchelf

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (panicmail-1.0.tar.gz) = 3b27995cdb72c211a7b7061335b6f0933e1cbc6546d1aa0d48c9bd87bd845541
SIZE (panicmail-1.0.tar.gz) = 2934

View File

@ -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.

View File

@ -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.