-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING: my_system() seteuid(0): Operation not permitted #237
Comments
Hi @ebasse-prog, Honestly, I'm not completely sure what the error means. I can see a few related issues (#139 #140 #145 #147), but didn't find any context for why it's happening. Here's my understanding of the issue: When running a plugin, NRPE does some work in I would say that you're probably safe to ignore this error message, as long as you're getting check_results that are readable for Edit: I re-read one of the issues, and it mentioned that |
UPDATE: I revisited the problem. The problem persists in the nrpe.c about getting root back and dropping privileges. I think this code should only run if |
Thanks for the update, @hron84. What you're saying sounds reasonable to me. I'll look into this if/when we do the next NRPE release. |
Hi, I’m seeing this same warning with both NRPE v4.0.3 (RHEL 7.9) and NRPE v4.1.0 (RHEL 8.6). NRPE running as user "nrpe". |
Hi, I am getting this issue on Rocky Linux release 9.3 (Blue Onyx), NRPE 4.1.0
Executing this with sudo from nrpe user works fine, but not thru NRPE. What can be done? |
Hi, Do you have the following line in the sudo configuration for the nrpe user?
|
Hi @StefThomas , Yes, I have that line on sudo file. |
NRPE Client 4.0.3 work's (we receive a return code) but in log is WARNING: my_system() seteuid(0): Operation not permitted
What operation is not authorized?
Info:
CentOS Linux release 7.8.2003 (Core)
Log:
nrpe[73362]: Host x.x.x.x is asking for command 'check_mem' to be run...
nrpe[73362]: Running command: /usr/local/nagios/libexec/check_mem.pl -f -C -w 20 -c 10
nrpe[73363]: WARNING: my_system() seteuid(0): Operation not permitted
nrpe[73362]: Command completed with return code 0 and output: OK - 90.6% (18436420 kB) free.|TOTAL=20357920KB;;;; USED=1921500KB;16286336;18322128;; FREE=18436420KB;;;; CACHES=4052416KB
nrpe[73362]: Return Code: 0, Output: OK - 90.6% (18436420 kB) free.|TOTAL=20357920KB;;;; USED=1921500KB;16286336;18322128;; FREE=18436420KB;;;; CACHES=4052416KB;;;;
nrpe[73362]: Connection from x.x.x.x closed.
The text was updated successfully, but these errors were encountered: