From nobody Wed Apr 19 03:30:18 2023 X-Original-To: net@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 4Q1RBL4YrRz44sSs for ; Wed, 19 Apr 2023 03:30:18 +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 4Q1RBL1Q2yz3K42 for ; Wed, 19 Apr 2023 03:30:18 +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=1681875018; 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=P8odv3CM7hGPeC92qNCnVVaFwp/K/pY5LRBaYmcIihQ=; b=ArVmC5xNtmWmXkVrFkRcjeXZ7rIwkRJzhR7swsQNnLZ9KSBMgTauLZIRBMK34aNsQYRkqy ZQI+YXtmR/A09pY9jNbCI6Hn72BjLtVa+HXImuYiXI4ojto93Ej7stblXaMKFTKMpGKuCZ 2HC8zHSvR2NA2TS7uTUkomufPwwmQV1V57lDxLGAApTciO8IvlnU2i8DlnDF/91lhRZx8Q LlcPL1qmSyvA6oDJccz1bbsLuvFHKIfixx6QTVeJkrqOm/WBJN7U3y0BGh2nerMzPA7lKD lRx+d8xPxJVbZWlsr7z1NcCqNNncq13Iny6XkAPWKqnmS7v/ZqKGPMFTY0b7+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681875018; a=rsa-sha256; cv=none; b=nD1gP9FWCVIkRbMSD9gECfCLXKqFxP0HPNokIV1Rjdd1TVNo/aHinRpH1dJEAz+llivI4Y cOtvT93tlPhBx+7Z0pSE24FCzFwuBIib35zfYObjuxPr1TeB3G7XhPoCQ70FHOwhUhbvIE uECcW4APWCIM5UHa/SlCal5kwyYwnWwOXG9UeRguBZ5ld/Up2Vy2cFdx8uJ5ZIwUc1FRew NxGRYStUyNOomqS9DqdzQfWoaoc7Xf/p60vZTMtk7jA4FouJneOXJxhJCIAtJgXmEUhEwc w1WU5sQEKX+uxXEwlClHlMX5T5LwDE3hdXl8y3EygZHLkzJOKcWc3mef/XFeNA== 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 4Q1RBL0C4dzf87 for ; Wed, 19 Apr 2023 03:30:18 +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 33J3UHdq066836 for ; Wed, 19 Apr 2023 03:30:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33J3UHme066835 for net@FreeBSD.org; Wed, 19 Apr 2023 03:30:17 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: net@FreeBSD.org Subject: [Bug 235920] ifconfig: unable to create another interface after renaming the previous one with the same name Date: Wed, 19 Apr 2023 03:30:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235920 Kyle Evans changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org --- Comment #5 from Kyle Evans --- (In reply to Zhenlei Huang from comment #4) > When an interface is renamed, its unit number is not `freed` and thus lea= d this problem. Right, as soon as you start renaming the concept of a unit number can so ea= sily fade away that it's not worth the complexity trying to manage it. # ifconfig tun0 name sillytun I suddenly have no unit number because there's not such a constraint on nam= es, and imposing one would seem to be a bit weird. At some point, you converge = on restricting renames to maintaining the common prefix so that, e.g., tun0 -> openvpn0 (bad example, but you can see where I'm going with this) wouldn't = be be possible because you don't want to maintain the arbitrary "openvpn" or whatever unr space as well. --=20 You are receiving this mail because: You are the assignee for the bug.=