Date: Mon, 29 May 2023 19:29:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271715] VNET jail won't start if using ip4= or ip6= syntax in jail.conf file. Syntax is specified in `man jail` Message-ID: <bug-271715-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271715 Bug ID: 271715 Summary: VNET jail won't start if using ip4=3D or ip6=3D syntax = in jail.conf file. Syntax is specified in `man jail` Product: Base System Version: 13.2-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: justin@tocci.org steps to reproduce: Add ip4=3Dinherit; or ip6=3Ddisable; and possibly other combinations to /etc/jail.conf file and then attempt to restart a jail. result: root@host:~ # service jail restart net Stopping jails: net. Starting jails: cannot start jail "net":=20 ng0_net jail: net: vnet jails cannot have IP address restrictions . expected result: This syntax is specified in `man jail`. If it is obsolete, please remove th= is paragraph from jail(8): ip4 Control the availability of IPv4 addresses. Possible values are =E2=80=9Cinherit=E2=80=9D to allow unrestricted access to all = system addresses, =E2=80=9Cnew=E2=80=9D to restrict addresses via ip4.addr, and = =E2=80=9Cdisable=E2=80=9D to stop the jail from using IPv4 entirely. Setting the ip4.addr parameter implies a value of =E2=80=9Cnew=E2=80=9D. root@host:~ # cat /etc/os-release=20 NAME=3DFreeBSD VERSION=3D"13.2-RELEASE" VERSION_ID=3D"13.2" ID=3Dfreebsd ANSI_COLOR=3D"0;31" PRETTY_NAME=3D"FreeBSD 13.2-RELEASE" CPE_NAME=3D"cpe:/o:freebsd:freebsd:13.2" HOME_URL=3D"https://FreeBSD.org/" BUG_REPORT_URL=3D"https://bugs.FreeBSD.org/" --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271715-227>