-
Notifications
You must be signed in to change notification settings - Fork 38
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
syslog-ng Operation not permitted #138
Comments
@snqblevj Unfortunately, I have no appropriate test environment at the moment. Perhaps SELinux or some other mechanism is blocking access. You could try running the container with capabilities or privileged if you do not mind the implications. |
I tried to launch the container with --privileged but nothing change. |
Same problem here. |
Please provide the output of |
Hi, I use the 22.6.0 version of this container on a CentOS 7.9 VM.
I wanted to upgrade my container to 22.7.0 so I deleted my old container(22.6.0), and I did a docker run with the 22.7.0 version.
Unfortunately the new container didn't want to start and it restarted every 30 seconds.
So I looked in docker logs librenms to see if there are any problems and I found this
I tried to delete SYSLOGNG_OPTS="--no-caps" in /etc/default/syslog-ng with docker exec -it librenms bash in a delay of 30 seconds (before the container restart) to resolve the problem but nothing change.
I tried to delete the lign 32 in /etc/my_init.d/10_syslog_ng or to delete the file /etc/my_init.d/10_syslog_ng but nothing change too.
I tried to upgrade to 22.8.0 but it doesn't work.
In the end, I went back to version 22.6.0 and it worked again.
Have you any idea ?
The text was updated successfully, but these errors were encountered: