From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 12 10:40:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1D8751A for ; Thu, 12 Dec 2013 10:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BD434123C for ; Thu, 12 Dec 2013 10:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rBCAe0hF004916 for ; Thu, 12 Dec 2013 10:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rBCAe0sj004915; Thu, 12 Dec 2013 10:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 12 Dec 2013 10:40:00 GMT Resent-Message-Id: <201312121040.rBCAe0sj004915@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, Stan Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7363726E for ; Thu, 12 Dec 2013 10:34:24 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6054711E9 for ; Thu, 12 Dec 2013 10:34:24 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBCAYN5B067407 for ; Thu, 12 Dec 2013 10:34:23 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBCAYNmf067406; Thu, 12 Dec 2013 10:34:23 GMT (envelope-from nobody) Message-Id: <201312121034.rBCAYNmf067406@oldred.freebsd.org> Date: Thu, 12 Dec 2013 10:34:23 GMT From: Stan To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/184719: Starting jails: cannot start jail "domain_com": X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 10:40:01 -0000 >Number: 184719 >Category: misc >Synopsis: Starting jails: cannot start jail "domain_com": >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: Thu Dec 12 10:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Stan >Release: 8.4-RELEASE-p6 >Organization: na >Environment: FreeBSD dream.animeradio.su 8.4-RELEASE-p6 FreeBSD 8.4-RELEASE-p6 #0 r259238: Thu Dec 12 04:06:08 MSK 2013 root@dream.animeradio.su:/usr/obj/usr/src/sys/DREAM amd64 >Description: https://forums.freebsd.org/viewtopic.php?f=3&t=43779&p=243479 >How-To-Repeat: Rebuild kernel without IPv6 support .. options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols #options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesyste .. installkernel && installworld --- sh /etc/rc.d/jail onestart domain_com And you will get: jail: unknown parameter: ip6.addr >Fix: Templorary fix: *************** *** 647,653 **** done eval ${_setfib} jail -n ${_jail} ${_flags} -i -c path=${_rootdir} host.hostname=${_hostname} \ ! ip4.addr=\"${_addrl}\" ip6.addr=\"${_addr6l}\" ${_parameters} command=${_exec_start} > ${_tmp_jail} 2>&1 if [ "$?" -eq 0 ] ; then _jail_id=$(head -1 ${_tmp_jail}) --- 647,653 ---- done eval ${_setfib} jail -n ${_jail} ${_flags} -i -c path=${_rootdir} host.hostname=${_hostname} \ ! ip4.addr=\"${_addrl}\" ${_parameters} command=${_exec_start} > ${_tmp_jail} 2>&1 if [ "$?" -eq 0 ] ; then _jail_id=$(head -1 ${_tmp_jail}) This section of code doesn't checking version of IP protocol >Release-Note: >Audit-Trail: >Unformatted: