-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"Error: Out of memory" if dynsec path owned by root and no config file #2520
Milestone
Comments
If the docker file is FROM eclipse-mosquitto
COPY mosquitto.conf /mosquitto/config/
RUN mkdir /dynsec
# RUN chown mosquitto:mosquitto /dynsec
COPY dynamic-security.json /dynsec it also works. It only fails with the out-of-memory error if there is no dynamic-security.json file AND the directory is not owned by mosquitto. |
note, that |
ralight
added a commit
that referenced
this issue
Aug 12, 2022
…irectory. Closes #2520. Thanks to sezanzeb
This is now fixed for 2.0.15, thank you for the report. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using the eclipse-mosquitto docker image
➜ mosquitto git:(main) ✗ uname -r 5.13.19-2-MANJARO ➜ mosquitto git:(main) ✗ pacman -Q | grep docker docker 1:20.10.14-1
mosquitto.conf:
Dockerfile:
without chown:
with chown:
I would have expected a permission error instead or something.
The text was updated successfully, but these errors were encountered: