From nobody@FreeBSD.org  Thu Dec 12 10:34:24 2013
Return-Path: <nobody@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 7363726E
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <sandel@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Starting jails: cannot start jail "domain_com":
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184719
>Category:       kern
>Synopsis:       [jail] Starting jails: cannot start jail "domain_com":
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-jail
>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:  Thu Dec 12 11:02:01 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-jail 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Dec 12 11:01:43 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184719 
>Unformatted:
