From nobody Thu Mar 24 17:53:32 2022 X-Original-To: jail@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 589131A3CB66 for ; Thu, 24 Mar 2022 17:53:33 +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 4KPXrs0PR1z3PMs for ; Thu, 24 Mar 2022 17:53:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E2BCE1C847 for ; Thu, 24 Mar 2022 17:53:32 +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 22OHrWmX054877 for ; Thu, 24 Mar 2022 17:53:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22OHrW7A054876 for jail@FreeBSD.org; Thu, 24 Mar 2022 17:53:32 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: jail@FreeBSD.org Subject: [Bug 262471] jail utility crashes when supplied -m and vnet parameter Date: Thu, 24 Mar 2022 17:53:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jamie@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jamie@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: 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: Discussion about FreeBSD jail(8) List-Archive: https://lists.freebsd.org/archives/freebsd-jail List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-jail@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648144413; 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: in-reply-to:in-reply-to:references:references; bh=/mXOagxpv+s1VFGX+tc29PV+WCorQlVIR0JgjiYyikY=; b=kh47pmmUB1v37sww6J0idEvaSdvRkYQHC9sKL454MuYCSE0n15COHZv2z/nBbMQMQQsN1E kgUTeSj3r+tYtI9oZOWYsE5pbcuWfBLWhVS5P4R/TNpIfjoCQq9Q2r4VhXQTl/cnF6LH0B XzHlCdpb86pcCvREfylXHJiiJiJSOtZGBvbC4RoCmNqPijfqYmw+F+WnQRzqdeEXM0uA0j cpmxhJwh03H5Rsfg1WYBOeGLGXm+r04GVbYAAqmehJn8WXSd9TTv4LbPw6346kLgBTv1qF l0+AZ10zMcFnfO+Pw1PUd482zOdvJxf1jiWCv7QG7P7/OOppyZoHNUK8WH8sMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648144413; a=rsa-sha256; cv=none; b=Q787h29FXX1foBtRGnOXcKNhpD5i9HoE5vs1vBJwK/hq4ccohj8foaNGYAFVyj4Hbd9zUy Pk6+T82EMYFdHWv0nPz49l9zi5meRD1C+NTX1+DqRLbRQawIifmTTD098XMU1RkV/oW4HP 1vkLm+dcU65JA2gSM9BcWJQCTphmpmllGEl4FbJD9mWDKVCnd/CAJ9q7vuWZmHPnVhVwfP 0VzHodWJYAkCTbzTKBP814uhtrubh0X9O/kc/stnCpSqT9RxNO0N652AVp6Q5VELrLXMkP aZG7bSqglqURPaemSkYkUB8wWCW1cLXVmFpEv+eoYTeLThvbeE8TUlDIs/zJUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262471 Jamie Gritton changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jail@FreeBSD.org |jamie@FreeBSD.org --- Comment #1 from Jamie Gritton --- I see the problem. In the check for non-changeable parameters, it's trying= to dereference the value of vnet. There's code to catch boolean parameters wi= th implicit values, but it misses vnet which isn't a true boolean. Working on making a hideous-looking if statement even worse... --=20 You are receiving this mail because: You are the assignee for the bug.=