From nobody Mon May 29 19:29:02 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QVQZ70r2Dz4Wmmw for ; Mon, 29 May 2023 19:29:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QVQZ661rmz4GHD for ; Mon, 29 May 2023 19:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685388542; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PjRPIwhaOlJGjdCOTXExehfXbZJErvqO46uJ4fRHhgw=; b=qhfV6vOWQPGRErhZyHxV7WSJtY54//TA3848L78CWFQoDWLq8oYWPm3xdAMJOm9xl5GbR5 aOW8yeoWlAQM/00tOqS1WBlBAAQoJnDFXmAbYNtJqIU0Hqporsoh18bZun/q5LVnb8fH9D Fke9TDr6NwKGjV6HcqGxb5WJ+jNxTXkmKOiW0M4fb1BZ1Ymyl6gQ/8YandcDWr/1u0aq0i a/viMbc9XRbDPKoUC7NngftGXylAhhWBp52LIjcvpV88fHqEcoRE6Q6FjL0gOFPxpIqFgN +POCtqupuVQIOSRqnLu+YGuZ6lt/bflAfnbzDn/+Q7ZJ90Haizb+UwmPx3yuGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685388542; a=rsa-sha256; cv=none; b=eK7JBkA+8DkjtlRpebQwzQ6zhq/yRlGZVGahQe76Jqz9zL4/8LAprOg1XvbGUc0D96TSif B/oNLKxBhnf/JAJUkO28LMJGTCuy2zoydlRxxknOqAmLgJpK+g3DHfNVmaN3UmXP5aZqVH pI+C/zqSOZOKbvdu9GtvcFRfoaJHDG+jih6MzL7gKxdRUr40KfGVAfjXbUleJNzzfp1oXj YHAtm2kwy/nI5I7mZnnbyShwl0L7562fmikq/0+OdOq4qPtmia3OMP1f5i3GHzHI8vAp6b mn1u9P1IZ/TuBw9hU9qeMW5gcy/KkAMdlC47xWpP9s10TlLG1XaRY7H1lZixlw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QVQZ655NSzNqY for ; Mon, 29 May 2023 19:29:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 34TJT2Xg094094 for ; Mon, 29 May 2023 19:29:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34TJT2vl094093 for bugs@FreeBSD.org; Mon, 29 May 2023 19:29:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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` Date: Mon, 29 May 2023 19:29:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: justin@tocci.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=