Re: June 2025 stabilization week

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Wed, 25 Jun 2025 22:24:22 UTC
> On 25. Jun 2025, at 23:18, Gleb Smirnoff <glebius@FreeBSD.org> wrote:
> 
> On Wed, Jun 25, 2025 at 09:18:52PM +0200, Michael Tuexen wrote:
> M> > Reverting 7faddeb395b7 and 4deb9760a9d8 and running etcupdate seem to
> M> > resolve the issue.
> M> I bisected the issue. It is introduced by
> M> https://cgit.FreeBSD.org/src/commit/?id=4deb9760a9d84d5861ee45162ffebe83f13503b8 <https://cgit.freebsd.org/src/commit/?id=4deb9760a9d84d5861ee45162ffebe83f13503b8>
> M> 
> M> Gleb: What entry in /etc/devfs.conf do you have? I have
> M> 
> M> own bpf* root:network
> M> perm bpf* 0660
> M> 
> M> and the problem goes away if I remove the trailing *.
> M> 
> M> So I guess you have
> M> 
> M> own bpf root:network
> M> perm bpf 0660
> M> 
> M> Is that guess correct? But I think using * is OK, it is even
> M> suggested in
> M> https://cgit.freebsd.org/ports/tree/net/wireshark/pkg-message
> M> 
> M> Therefore I have created
> M> https://reviews.freebsd.org/D51043
> M> which fixes the issue.
> 
> I have exactly what you have, copied from your email, with asterisks.
> And it worked for me on the stabweek revision in my VM.
Strange.

Could you change in /etc/rc.d/devfs 

			o*)	for device in ${devicelist}; do
					if [ -c ${device} ]; then
						chown ${parameter} ${device}
					fi
				done
				;;

to

			o*)	for device in ${devicelist}; do
					printf "own chown %s %s\n" ${parameter} ${device}
					if [ -c ${device} ]; then
						printf "performing"
						chown ${parameter} ${device}
					fi
				done
				;;

and run
service devfs start
and send the output of it?

Best regards
Michael
> 
> -- 
> Gleb Smirnoff