Re: Login 'postgres': Login class 'default': Setting priority failed: Permission denied
- Reply: Denis Shaposhnikov: "Re: Login 'postgres': Login class 'default': Setting priority failed: Permission denied"
- In reply to: Denis Shaposhnikov: "Re: Login 'postgres': Login class 'default': Setting priority failed: Permission denied"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jun 2024 19:29:15 UTC
On Thu, Jun 27, 2024 at 3:12 PM Denis Shaposhnikov <dsh@bamus.cz> wrote:
> 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.
>
>
So what exactly is the problem?
The error message is a legit error, that is, you cannot set a priority of a
process from within the jail.
The error itself has always occurred. We know this because you've never
been able to set a priority from within the jail.
It's just newly logged.
~Paul
--
__________________
:(){ :|:& };: