From owner-freebsd-bugs@FreeBSD.ORG Tue Apr 6 23:00:12 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6FA11065672 for ; Tue, 6 Apr 2010 23:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98E3A8FC1A for ; Tue, 6 Apr 2010 23:00:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o36N0C1h030810 for ; Tue, 6 Apr 2010 23:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o36N0C3w030809; Tue, 6 Apr 2010 23:00:12 GMT (envelope-from gnats) Resent-Date: Tue, 6 Apr 2010 23:00:12 GMT Resent-Message-Id: <201004062300.o36N0C3w030809@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dan Naumov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30745106564A for ; Tue, 6 Apr 2010 22:50:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1EDCE8FC1A for ; Tue, 6 Apr 2010 22:50:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o36Mo5Cp042840 for ; Tue, 6 Apr 2010 22:50:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o36Mo5pV042839; Tue, 6 Apr 2010 22:50:05 GMT (envelope-from nobody) Message-Id: <201004062250.o36Mo5pV042839@www.freebsd.org> Date: Tue, 6 Apr 2010 22:50:05 GMT From: Dan Naumov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/145445: error in /etc/rc.d/jail (bad logic) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 23:00:12 -0000 >Number: 145445 >Category: misc >Synopsis: error in /etc/rc.d/jail (bad logic) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Apr 06 23:00:12 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dan Naumov >Release: 8.0 >Organization: >Environment: FreeBSD atombsd.localdomain 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The jail rc.d script outputs some messages to the system console when bringing up jails if certain sysctl conditions are met. There seems to be an error in the logic of the script, which results in "backwards" output. security.jail.socket_unixiproute_only: 0 results in unixiproute_only=YES being printed to system console security.jail.socket_unixiproute_only: 1 results in no output >How-To-Repeat: Install FreeBSD 8.0 Build and install a jail Set security.jail.socket_unixiproute_only to 0 Bring up the jail using the jail rc.d script >Fix: >Release-Note: >Audit-Trail: >Unformatted: