Skip to content
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

mosquitto_passwd -U fails in docker after 2.0.16 #2873

Closed
nikarh opened this issue Aug 17, 2023 · 7 comments
Closed

mosquitto_passwd -U fails in docker after 2.0.16 #2873

nikarh opened this issue Aug 17, 2023 · 7 comments

Comments

@nikarh
Copy link

nikarh commented Aug 17, 2023

Hi,

after this change 44b9487 it seems that running mosquitto_passwd -U users.conf in a docker container always fails with Error creating backup password file

Steps to reproduce

This fails on 2.0.16

docker run --rm --entrypoint "" eclipse-mosquitto:2.0.16 ash -c "\
     echo a:a > /mosquitto/users.conf; \
     chmod 660 /mosquitto/users.conf;  \
     mosquitto_passwd -U /mosquitto/users.conf"

While older versions don't

docker run --rm --entrypoint "" eclipse-mosquitto:2.0.15 ash -c "\
     echo a:a > /mosquitto/users.conf; \
     chmod 660 /mosquitto/users.conf;  \
     mosquitto_passwd -U /mosquitto/users.conf"
@nikarh nikarh changed the title mosquitto_passwd -u fails in docker mosquitto_passwd -U fails in docker Aug 17, 2023
@nikarh nikarh changed the title mosquitto_passwd -U fails in docker mosquitto_passwd -U fails in docker after 2.0.16 Aug 17, 2023
@szinn
Copy link

szinn commented Aug 17, 2023

I had this issue as well

@buroa
Copy link

buroa commented Aug 17, 2023

Seeing this too.

@Sam-Whitaker
Copy link

Same here

@googol
Copy link

googol commented Aug 17, 2023

Experiencing the same issue, running 2.0.16

/mosquitto/config $ mosquitto_passwd /mosquitto/config/password.conf new-user
Error creating backup password file "/mosquitto/config/password.conf.bac", not continuing.

@b-r-y
Copy link

b-r-y commented Aug 17, 2023

i am seeing the same on alpine: mosquitto-2.0.16-r0

Thanks to whoever will fix it :)

@onedr0p
Copy link

onedr0p commented Aug 17, 2023

I noticed the same thing, also...

600+ issues
50+ PRs

What is going on with this repository, is there anyone maintaining it?

@p2baron
Copy link

p2baron commented Aug 22, 2023

This taught me a lesson in using the -latest tag in docker.
Glad it is being fixed.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants