From nobody Fri Apr 18 11:34:23 2025 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 4ZfCMz3W0Bz5sg8R for ; Fri, 18 Apr 2025 11:34:23 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZfCMz1mXDz4Dky for ; Fri, 18 Apr 2025 11:34:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744976063; 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=0EIprCM9I5AmpS0XdIPw/vh0oAZRC7Cv3RFsy/3/G+0=; b=IV0ivfMNglNGtPyOREy97dlhY9v4AVeE5pPo3XZinQSjbTWgXcUMuAVxIdS0XsCb8kUmOa pCWiQlEny7KOTaTJk8epe6ju7UL2x5djtGxjvlDFalq03J8qAoaXSOfYOt7Jk8Goumu+jw OoQ/oEF8Qn7ILJYoQ7PEad8we0wrg2bXBIPTyXhIXfpJmMB/ePs8j3aSMh/fFqLdSWJuKn k0NL3iFE63CAbDCitZ+IJhFogg3OgHqgMI5dxcDFFX+F5FWuFTA/VBAu7xlXx1IsAX8vOT TGunnJRDcs30eLApQYoqA+DQImipSPcDh83VG87SeoYSvKglSiWDiVoop0WQSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744976063; a=rsa-sha256; cv=none; b=YaTrfe0B3UaJN26ysuthrqZcMrHh89zay7EyjtFU8+gZYpbJecf/DMDRuF6s5ZrVYK18il jisDB3OmY6JCMPO6JLiMX+rDR0tkooBkiGmle7Zo9gtMvoXhTIScGaIaoWlZLigDauoyxg PHDG3oUCU28JbpR8w0PBT5m6ze5K10OQ5LNKQ5fAFcPmo3SY7fcMlRVXF40gVHHWXpIboX U6iY5HWji8DbQlKXD+DWSD10oKOl+EdAhE66cZeve7aIWFs5yvbcWMMDl796XZlMbI80pk ZCT5tiWk6ja2UXuhbRxLYMPsputEYSFKEd4Kk4l6QsJJr63ArMSqQqvA0DGmlQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744976063; 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=0EIprCM9I5AmpS0XdIPw/vh0oAZRC7Cv3RFsy/3/G+0=; b=VY0mdpb9H7bp+6jF0Q3P6CoiQuvH4IcZ8N35EEzmnZAyM7ySo4a0tEy2SpRq9KuLzI6hbn Y/o9LSkjiuhEEfgKJUaJRL6+Rpu/Q5slbRxhxvXPrOG4btNQmOsrUL2C+wP1nvg49pfz+1 pzSfeZZSYorFROCdGgYdp3JFzlqOFthm8R2VlSPCQqFhu0t3AzM+sXPmUOYGNHmJ9ygsT+ 9NssNSlx6QUKhJoOXHrPBBCBGOMOTVk0dudb8/XytHreYXveuWq595CvvQHIhgeCCF6a1q cxRLRR9VBxVVRAQZUXP1S0dPXoVaIFuEh7NnkHzZPS/OjJaY5gXGNj89BIdJfg== 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 4ZfCMz17hkzYhW for ; Fri, 18 Apr 2025 11:34:23 +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 53IBYNTJ088163 for ; Fri, 18 Apr 2025 11:34:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53IBYNRP088162 for bugs@FreeBSD.org; Fri, 18 Apr 2025 11:34:23 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 286179] Passing a vlan interface to a vnet jail result in a stuck dying state Date: Fri, 18 Apr 2025 11:34:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: florian.millet@laposte.net 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 attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286179 Bug ID: 286179 Summary: Passing a vlan interface to a vnet jail result in a stuck dying state Product: Base System Version: 14.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: florian.millet@laposte.net Created attachment 259669 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D259669&action= =3Dedit The config file fot the stuck jail Hello everyone, I stumbled upon a problem when working on jail networking with pseudo interfaces like vlan. If you give a vlan interface to a vnet jail, everythi= ng works fine until you try to stop the jail. It gets stuck in a dying state (appearing in jls -d). It seems to be very similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264981 which is closed = FIXED. Like the other bug if I try to ifconfig destroy it says that the vlan inter= face does not exist, if I try to create it it says that it already exists. This happened on a FreeBSD 14.2-RELEASE-p3 (releng/14.2-n269524-1eb03b059e5= 6) kernel with custom options, the vlan is created on a lacp lagg device, itse= lf created upon 2 Mellanox mlx5 interface (MT27800 / ConnectX-5). Appjail was used to create thin vnet jails but I don't think it has any imp= act on this problem. Steps to reproduce : - Create a vlan interface on a lagg vlandev : ifconfig vlan1000 create vlan 1000 vlandev lagg1 - give the created vlan to a vnet jail (vnet.interface +=3D "vlan1000"; in jail.conf) - start the jail - everything is working as intended - stop the jail After the stop : server1352# ifconfig vlan1000 ifconfig: interface vlan1000 does not exist server1352# ifconfig vlan1000 create vlan 1000 vlandev lagg1 ifconfig: interface vlan1000 already exists server1352# ifconfig vlan1000 destroy ifconfig: interface vlan1000 does not exist server1352# jls -d JID IP Address Hostname Path 2 br1000.jail.storage.ovh.net=20=20 /appjail/jails/br1000/jail server1352# Bug #264981 references a problem with inpcb that should have been fixed in commit 5fd1a67e885e and while it seems to have fixed the original problem w= ith a lo pseudo interface, the problem persist with other type of pseudo interf= ace like vlan. --=20 You are receiving this mail because: You are the assignee for the bug.=