>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
[email protected]:/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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"