Date: Thu, 27 Jun 2024 21:44:50 +0200 From: "Denis Shaposhnikov" <dsh@bamus.cz> To: "Paul Procacci" <pprocacci@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Login 'postgres': Login class 'default': Setting priority failed: Permission denied Message-ID: <9fcb9b8a-6318-44c3-aee0-be511ed07c65@app.fastmail.com> In-Reply-To: <CAFbbPuh31Lp5MzfRAghq4wy9-LEYp5m1GRYzQZCKyMo=95JdTg@mail.gmail.com> References: <d011c093-5921-42ae-abad-45919d9b3c4a@app.fastmail.com> <98ef9c72-1c94-471c-88e9-8e4957bfa9f9@app.fastmail.com> <CAFbbPuh31Lp5MzfRAghq4wy9-LEYp5m1GRYzQZCKyMo=95JdTg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Hi, On Thu, 27 Jun 2024, at 21:29, Paul Procacci wrote: >> nice -n 5 doas id >> Jun 27 21:08:57 db doas[33054]: Login 'root': Login class 'root': Setting priority failed: Permission denied > The error message is a legit error, that is, you cannot set a priority > of a process from within the jail. What do you mean? Just nice -5 id inside a jail doesn't generate the log message, but nice -5 doas id does. That was just an example. Actually Icinga runs a command, but before that it does `nice(5)`. That command uses doas and calls a script and that script uses su. I'm not setting a priority directly. In 14.0 all of that didn't generate log messages. > It's just newly logged. Aha! Thanks for the info. OK, how could I prevent it from logging it? I don't need it in the log every minute.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9fcb9b8a-6318-44c3-aee0-be511ed07c65>
