From nobody Wed Dec 14 17:01:08 2022 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 4NXM845j6Jz4k4Hx for ; Wed, 14 Dec 2022 17:01:08 +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 4NXM8449fGz3Mjv for ; Wed, 14 Dec 2022 17:01:08 +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=1671037268; 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=UhqzvCFYIDqodlpDA7iOV9VOhdko5LIKAXhOCWUCDAQ=; b=AP1VKZbe4bDwtQZi0YkQy7136VbNn4YSU6nUng/OauYG6Fo3P63ozkpdZNYExo+IPTP30P bvTp4K2K8HSOWXMggefzSL34pIcwvIxqpIX6N88llUBXvjEUGO10p+KytyjdaUVc9gRyOE BRqrsEtrutQElYY3EjIc/jy4ES60jRaPJhOUfkZSNLx68V47eTSL5L5khpudpqIqCe+/Mo mJMlYGqEJoAKvNyODjQaUvLGwxfPWTeceYauQKeR/bWAsIYZoZbiFDNb1eTLvCQLb3C3W5 X4Msj7KIr9uSLeuJREW4mQjnOKi+wTGSYt7boEppdTHau3SwI7ePAXTEbYPSBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671037268; a=rsa-sha256; cv=none; b=qFpFreGciERfmHNFGs8dRU8LFA7hloT506wkJTJqaIjyg4Z4wHBYDrOrMH7jnfYAdV9sxD a6yQ4UOi/bhMt8ciTgjyt5Lwk2r6Bge//iYDP3gFhn2s9fACUTguSYsBysFBQzk8SHzjpV t6T78ZdQpf2LrTd1HXcQ+v8plrqwpboNUDQh1UYXx6rU6CayL3Qp1yilC3LPB8jcjbaVVS oMS99hhf2AYi3XtsdlqmC1ZlbvvEkwSBVDDEtkfCSmG1marW7t5v8n3BCd84k4zqyIZTeC Z/Qh3NyoTuGcH9u4buLa7KHx7Ss1aj8p7t7qt3RNKZLj4vzFWNYFT0ohhBbM8g== 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 4NXM843DWSz11j1 for ; Wed, 14 Dec 2022 17:01:08 +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 2BEH18Lh027881 for ; Wed, 14 Dec 2022 17:01:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BEH18Ks027880 for bugs@FreeBSD.org; Wed, 14 Dec 2022 17:01:08 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 268377] jail -cr fails to set ipv6-address alias with ifconfig under certain conditions Date: Wed, 14 Dec 2022 17:01:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ahkithaama@proton.me 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=3D268377 Bug ID: 268377 Summary: jail -cr fails to set ipv6-address alias with ifconfig under certain conditions Product: Base System Version: 13.1-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: ahkithaama@proton.me I have a jail-Configuration in /etc/jail.conf: testjail { exec.start =3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown"; exec.clean; host.hostname =3D "testjail"; path =3D "/VMs/jails/$name"; interface =3D "msk0"; ip6.addr =3D "fd9e:21a7:a92c:2323::1/40"; mount =3D "/tmp $path/tmp nullfs rw 0 0"; } If I start the jail with jail -c testjail -> No problem If I stop the jail with jail -r testjail -> No problem If I restart a running jail with jail -cr testjail -> I get following error: testjail: run command: /sbin/ifconfig msk0 inet6 fd9e:21a7:a92c:2323::1/40 > alias ifconfig: >: bad value jail: testjail: /sbin/ifconfig msk0 inet6 fd9e:21a7:a92c:2323::1/40 > alias: failed There's a invalid character ('>') in the ifconfig line. Where it come from? I don't know. The failure will not occur if I delete the "mount"-Line from the Configurat= ion (It doesn't matter have a 'mount'-Line or 'mount.fstab'). The failure will also not occur if I append the ifconfig-Parameter 'description' at the end of 'ip6-addr' like: ip6.addr =3D "fd9e:21a7:a92c:2323::1/40 description a"; And the failure will only happen with ip6.addr The same with ip4.addr is not a problem. It seems to me there is a problem with string handling in the jail command. --=20 You are receiving this mail because: You are the assignee for the bug.=