From nobody Fri May 16 20:38:58 2025 X-Original-To: freebsd-current@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 4Zzf7W2T7Jz5wJ9M for ; Fri, 16 May 2025 20:39:03 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zzf7W189zz3Dtx; Fri, 16 May 2025 20:39:03 +0000 (UTC) (envelope-from kp@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747427943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HQQLoXNs94L7WXPYuZ3zju7jaMhUyPfQhknih1DdpqM=; b=YXAvnE2Ul6fbHyF468evMzODtoX9RM1M2kOMxuB5b7O3kVIcpE5IPqmPmtxdUay6emje7I WXtYCr2WxdtgnaLU4/Faed3lCyF5Pmm6EGhwzOjP6+YB5x52ggQ+iA/NmBnrW5jHCj0g5p vRhh86wlpqm8v5pvVlvqQ+Q7st0ZFOAV3F4vPhVtDALHuqu8zg7RQoNLVmrTPnV6dwxEGi BH27NHuhfoFwAa6v3tFTObdUG7q7li0+rEcNPde5qnX5a0G6JQ7hNhDfOo1zib438gZJdt lxMif2d6gOosfUtcSCo41u/gY27tqFKCtQLXvsSPS8I3yJmNQ7cMzeFzaLp4hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747427943; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HQQLoXNs94L7WXPYuZ3zju7jaMhUyPfQhknih1DdpqM=; b=Pa+ysBNMXgypU/v88kw3VCmsbWTZvH+ZIYYZazUhZRwl46utXWs+/9pX1/wnLVz3BxfQqB qkELX1IWHVoBV6oHIiYA3PtP9THthGpflmQ74WlDnzs5g2nF7dxTqQ43BCXWyXjg720+dD +Je+s3m3xqZvA24X5k0DO++xhyYQvDaKrxVkha4KFzeuXhbv8kV+SGuppOZ/dZuur1dXAx FCbsQ/13d4VH6/RA/ZMPicbG+GxD2obdLxhzI5YeUSHocgoFRh578N8TRwi2rLYOITWzcF V58h2vbaXKCtRnOD2YW/5/Fp08bKQH6jwBU/GKgT0bnEeqDVT6vAA+qJD+kf4g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747427943; a=rsa-sha256; cv=none; b=ZyyOqEJpVqy7mx3pIGldOocfrR/SmF/czyF8eEAhKSR9bgMKM9OSuQx/pzAqIObmaJm5XF 9hDya8CPT42yZAnQ7RtvmlF21R9iCZYAlAxdedzXzpoQhS+OYJOyCxA/hlLMioLpMVYw1z PeOGpPsG0h3Eq1DhC930s8gY5RRTychODGrEegibiYpe0m/NxCimlZlEXCrhNpDqWYbTXC GH+27tU6y1l3gau6I50v4fFRyXSIEBRAlkx/5LeNvPVDK/rOGNnUGK2r3aLJaUyVUlGE5e 21HV/k5yTuNY7QMAUKzdXSV1pnXhVzVzRESNmGK4TlZKL+ddQRaqA2A6h4hVyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from venus.codepro.be (venus.codepro.be [5.9.86.228]) (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 (2048 bits) client-digest SHA256) (Client CN "mx1.codepro.be", Issuer "R11" (verified OK)) (Authenticated sender: kp) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Zzf7W07BBz14Xt; Fri, 16 May 2025 20:39:02 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: by venus.codepro.be (Postfix, authenticated sender kp) id 79D735034E; Fri, 16 May 2025 22:39:00 +0200 (CEST) From: Kristof Provost To: Marek Zarychta Cc: Cy Schubert , ivy@freebsd.org, freebsd-current@freebsd.org Subject: Re: epair(4) Date: Fri, 16 May 2025 22:38:58 +0200 X-Mailer: MailMate (2.0r6255) Message-ID: <2D38F889-E8C9-49A9-AA80-D5A46FDFFD02@FreeBSD.org> In-Reply-To: <45d0f49d-229b-46b4-af95-6e8c4c856661@plan-b.pwste.edu.pl> References: <20250515162552.9209B20E@slippy.cwsent.com> <20250515185919.87008219@slippy.cwsent.com> <45d0f49d-229b-46b4-af95-6e8c4c856661@plan-b.pwste.edu.pl> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; markup=markdown Content-Transfer-Encoding: quoted-printable On 15 May 2025, at 21:32, Marek Zarychta wrote: > W dniu 15.05.2025 o=C2=A020:59, Cy Schubert pisze: >> In message <20250515162552.9209B20E@slippy.cwsent.com>, Cy Schubert wr= ites: >>> Over the last couple of days epair(4) fails to set up when an IP addr= ess is >>> specified. >>> >>> bob# service jail onestart test2 >>> Starting jails: cannot start jail "test2": >>> epair0a >>> ifconfig: ioctl (SIOCAIFADDR): Invalid argument >>> jail: test2: /sbin/ifconfig epair0a inet 10.1.1.70 netmask 0xffffff00= up: >>> failed >>> . >>> bob# ifconfig epair0a inet 10.1.1.70 netmask 0xffffff00 >>> ifconfig: ioctl (SIOCAIFADDR): Invalid argument >>> bob# ifconfig epair0a inet up >>> bob# >>> >>> >>> >> This regression is caused by b61850c4e6f6. >> >> > Yes, it requires at least head up, similar to old one, known from fibs = : > > WARNING: Configuring address on bridge(4) member has been turned off by= default. Consider tuning=C2=A0 net.link.bridge.member_ifaddrs if needed.= > The error message should not suggest changing the sysctl. This is a confi= guration error and will lead to subtle and unexpected problems. The intent is for the sysctl to go away and for this to be entirely disal= lowed, without a way to bypass the check in 16.0. As Lexi pointed out in another e-mail: users should assign addresses to t= he bridge, never to bridge member interfaces. =E2=80=94 Kristof