From nobody@FreeBSD.org  Tue Jan 31 17:21:51 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 415A116A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 31 Jan 2006 17:21:51 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 828F343D6A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 31 Jan 2006 17:21:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0VHLj31047906
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 31 Jan 2006 17:21:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k0VHLjHh047905;
	Tue, 31 Jan 2006 17:21:45 GMT
	(envelope-from nobody)
Message-Id: <200601311721.k0VHLjHh047905@www.freebsd.org>
Date: Tue, 31 Jan 2006 17:21:45 GMT
From: Philip Hallstrom <philip@pjkh.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: jail manpage should mention disabling some periodic scripts that do not make sense in a jail
X-Send-Pr-Version: www-2.3

>Number:         92626
>Category:       docs
>Synopsis:       jail manpage should mention disabling some periodic scripts that do not make sense in a jail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 31 17:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Philip Hallstrom
>Release:        6.0-STABLE
>Organization:
n/a
>Environment:
FreeBSD bravo.pjkh.com 6.0-STABLE FreeBSD 6.0-STABLE #1: Wed Jan 25 11:10:27 CST 2006     root@alpha.pjkh.com:/usr/obj/usr/src/sys/ALPHA  i386              
>Description:
     I have recently setup a jail on 6.0-STABLE.  When reviewing the daily periodic emails "security run output" and "daily run output" it contained the following:

ipfw: socket: Operation not permitted
ip6fw: socket: Protocol not supported

Network interface status:
netstat: kvm not available
ifnet: symbol not defined

I think it might be worth mentioning in the manpage when setting up a jail to add the following to /etc/periodic.conf:

daily_status_network_enable="NO"
daily_status_security_ipfwdenied_enable="NO"
daily_status_security_ipfdenied_enable="NO"
daily_status_security_pfdenied_enable="NO"
daily_status_security_ipfwlimit_enable="NO"
daily_status_security_ip6fwdenied_enable="NO"
daily_status_security_ipf6denied_enable="NO"
daily_status_security_ip6fwlimit_enable="NO"

This will stop the tests that are trying to run commands that aren't valid inside of a jail because they don't have access to those resources.

>How-To-Repeat:
Setup a full blown jail.  Let it run over night.  Examine the output of the periodic emails.              
>Fix:
see above              
>Release-Note:
>Audit-Trail:
>Unformatted:
