On Fri, Oct 24, 2025 at 11:44:40AM +0200, Alexandr Nedvedicky wrote:
> Hello,
>
> I'm sorry about it. The message is bogus and can be ignored. This is caused
> because pfctl(9) arms atexit(3) handler to restore limits when it opens
> /dev/pf
> for writing. Diff below makes pfctl(8) to arm atexit handler to restore limits
> if and only if those limits get changed.
>
> let me know if diff below works for you.
>[...]
Yes, that fixes it on -current.
[FWIW, I hope to see a patch for 7.8, as that's where I noticed it when
a cron job started sending mail because, after the upgrade
pfctl -q -t $t -T test $a
started producing output.]
Certainly OK by me.
Thanks,
Ross