From nobody Wed Jun 25 19:18:52 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 4bSBSc2jQwz60Psw for ; Wed, 25 Jun 2025 19:18:56 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 4bSBSc0Z38z3p8h; Wed, 25 Jun 2025 19:18:56 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750879136; 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=jkSJGgRA6NwY2dyJKS2xNUlvNtfmJiKWA2a3d0CcEOM=; b=UYnf1I0BkWxJ7if0pLkXIeJYaQIic3sVk+IW6u8sqnONnxi5UfrjvEv4OZjc9W6DrQ0evu tqmtXnC+J9Yib62oDnPpHQO6B36Vd/+uaRFVdAHilld0RAFxEfmdhWP6c0NsbfMSOWfrkx 7/neCRflu15nylNIwYeBpen9fzOApwz4DH++DAGFQ2LFoQIphdrbJng4PGND2r84MTVNvI hWNdUTsZEKHnIc9bPFzDbKfXqOwkPQBjEVuZot/7E7DbhU+766M7Pzmpt0NwXGYyzSVofk fQrNkBkDzPDj5u6Q3aoVwY7mxNnXKWRPhs1pCCUTlHBS2csIqG8d2O0jZ7/U1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750879136; 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=jkSJGgRA6NwY2dyJKS2xNUlvNtfmJiKWA2a3d0CcEOM=; b=qsABf31U2nEdInuBH5215SfDkqaQKhnRNUfXXQ7tES3TvkKX9iM+c3d05XGhCGZMnlPTKD a0p1RfbZ2RM7j7F/OnsnE5HAcnzaV0tUCixNcY5x0EcXW+h6tsMpqUfLqDkdYGRmuORkgL K9XTw8frSxOIR7lZkrCZnfKXcl7/+tfcMj9NcnkEN9TBhs5c+lXzd9Clh3skzW/MFpqgt2 vYovpXjU4cs+OrFM/gG6GubE7YTfZCNXrQtRinTH05mVr08tCjfLfL7i6I1l7XgUXYavnV baY+xjqGu6cWwCAI9H2Cyd2sGkEaM7aSp7h9xNlFcXW3kr/hqkUaOBwNdiToBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750879136; a=rsa-sha256; cv=none; b=qmse7VY912iZDtu01u3SBTfMHTPtJK7Nh3V/RzZXOiokifx9k8E9q5eu7rWd+hDlFx/cl6 712bLY1Oef9GxjeifT+PQSQAtk0t3l0I9EjQOGwOCyoDp5vSdV5i47Pt+rrzbeUaqMTLcN fjst5eFgActwF7kYn7sfan16AnqJaSH3zcPQNv5Xk4GiaRPlOhVi6mOiATLvj3LM8vhMph tG1aoo/NpMn6kSIruHwVZEFnUF1Zo9vte7H3VfRhIMuXo/c7j6pi2hHMY9GGTW/BXL3V36 WlWpKWRgBoQHtYesReIWqDQmiC4YanUv7JQXUDZD3ACSqRzqOnaEiRZJSVYSKg== Received: from smtpclient.apple (unknown [IPv6:2a02:8109:1101:be00:e553:daad:87ae:9ce2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: tuexen) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bSBSb3Gd1z7hF; Wed, 25 Jun 2025 19:18:55 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Content-Type: text/plain; charset=utf-8 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 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: June 2025 stabilization week From: Michael Tuexen In-Reply-To: <87bjqbzzsq.wl-herbert@gojira.at> Date: Wed, 25 Jun 2025 21:18:52 +0200 Cc: Gleb Smirnoff , freebsd-current@freebsd.org, src-committers@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6E5A0C58-E096-4EA1-BBC2-E0A66AA13176@FreeBSD.org> <0F89BFEA-3948-4D21-9396-EDB5034AAE7A@FreeBSD.org> <2771ED29-7FC2-4D99-A0A0-20E16C62316E@FreeBSD.org> <87bjqbzzsq.wl-herbert@gojira.at> To: "Herbert J. Skuhra" X-Mailer: Apple Mail (2.3826.600.51.1.1) > On 25. Jun 2025, at 16:00, Herbert J. Skuhra = wrote: >=20 > On Tue, 24 Jun 2025 22:52:48 +0200, Michael Tuexen wrote: >>=20 >>> On 24. Jun 2025, at 22:08, Michael Tuexen = wrote: >>>=20 >>>> On 24. Jun 2025, at 21:41, Gleb Smirnoff = wrote: >>>>=20 >>>> On Tue, Jun 24, 2025 at 12:28:25PM +0200, Michael Tuexen wrote: >>>> M> In /etc/devfs.conf I have >>>> M>=20 >>>> M> own bpf* root:network >>>> M> perm bpf* 0660 >>>> M>=20 >>>> M> and this results in >>>> M> tuexen@epyc:~ % ls -l /dev/bpf* >>>> M> crw-rw---- 1 root network 0x27 Apr 26 20:13 /dev/bpf >>>> M> lrwxr-xr-x 1 root wheel 3 Apr 26 20:13 /dev/bpf0 -> bpf >>>> M>=20 >>>> M> This allows members of the network group to capture traffic. >>>> M>=20 >>>> M> However, with main-n278173-81e6c0168d46 I get >>>> M> tuexen@epyc:~ % ls -l /dev/bpf* >>>> M> crw------- 1 root wheel 0x27 Jun 24 12:25 /dev/bpf >>>> M> lrwxr-xr-x 1 root wheel 3 Jun 24 12:25 /dev/bpf0 -> bpf >>>> M>=20 >>>> M> It looks like the devd did not what it did in the past. >>>>=20 >>>> I failed to reproduce that on fe55780e5f10, which is very >>>> close to 81e6c0168d46. I have what is expected: >>>>=20 >>>> crw-rw---- 1 root network 0x1d 24 =D0=B8=D1=8E=D0=BD=D1=8F 12:37 = /dev/bpf >>>> lrwxr-xr-x 1 root wheel 3 24 =D0=B8=D1=8E=D0=BD=D1=8F 12:37 = /dev/bpf0 -> bpf >>>>=20 >>> I just tried the updated version of May 2025 stabweek, and that is >>> working fine. Let me test fe55780e5f10... >>> I observe this problem on an arm64 and on an amd64 system... >> fe55780e5f10 show the problem for me: >> tuexen@epyc:~ % ls -l /dev/bpf* >> crw------- 1 root wheel 0x27 Jun 24 22:48 /dev/bpf >> lrwxr-xr-x 1 root wheel 3 Jun 24 22:48 /dev/bpf0 -> bpf >=20 > 4deb9760a9d8? >=20 > Reverting 7faddeb395b7 and 4deb9760a9d8 and running etcupdate seem to > resolve the issue. I bisected the issue. It is introduced by = https://cgit.FreeBSD.org/src/commit/?id=3D4deb9760a9d84d5861ee45162ffebe83= f13503b8 = Gleb: What entry in /etc/devfs.conf do you have? I have own bpf* root:network perm bpf* 0660 and the problem goes away if I remove the trailing *. So I guess you have own bpf root:network perm bpf 0660 Is that guess correct? But I think using * is OK, it is even suggested in https://cgit.freebsd.org/ports/tree/net/wireshark/pkg-message Therefore I have created https://reviews.freebsd.org/D51043 which fixes the issue. Best regards Michael