Re: Login 'postgres': Login class 'default': Setting priority failed: Permission denied

From: Denis Shaposhnikov <dsh_at_bamus.cz>
Date: Thu, 27 Jun 2024 19:11:19 UTC
Hi,

On Mon, 24 Jun 2024, at 17:05, Denis Shaposhnikov wrote:
> after upgrading from 14.0 to 14.1-RELEASE-p1 I started to see log messages like
> Jun 24 17:01:55 db su[1424]: Login 'postgres': Login class 'default': 
> Setting priority failed: Permission denied

More details. Inside jail I'm executing:

nice -n 5 doas id

and I see in /var/log/messages:

Jun 27 21:08:57 db doas[33054]: Login 'root': Login class 'root': Setting priority failed: Permission denied

So this is easy reproducible. The same command on the host system doesn't generate such log message.