You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VM with Alpine 3.18.4, kernel 6.1.58-0-virt
mosquitto version 2.0.18
mosquitto actually works, but when I add/change some user with mosquitto_passwd, it works as expected, but gives me a Warning: File /etc/mosquitto/pwfile owner is not root. Future versions will refuse to load this file.To fix this, use chown root /etc/mosquitto/pwfile
password file is actually: -rw------- 1 mosquitt mosquitt 380 Oct 16 16:18 pwfile
if I actually change owner -rw------- 1 root root 380 Oct 16 16:18 pwfile
mosquitto doesn't start because daemon.err mosquitto[2570]: 1697470558: Error: Unable to open pwfile "/etc/mosquitto/pwfile". daemon.err mosquitto[2570]: 1697470558: Error opening password file "/etc/mosquitto/pwfile".
but the daemon actually does start with 'mosquitto' user privileges, so won't have access to the pwfile unless it's owned by mosquitto or world readable (but then, it's like #2890).
how to get rid of this warning?
The text was updated successfully, but these errors were encountered:
VM with Alpine 3.18.4, kernel 6.1.58-0-virt
mosquitto version 2.0.18
mosquitto actually works, but when I add/change some user with mosquitto_passwd, it works as expected, but gives me a
Warning: File /etc/mosquitto/pwfile owner is not root. Future versions will refuse to load this file.To fix this, use chown root /etc/mosquitto/pwfile
password file is actually:
-rw------- 1 mosquitt mosquitt 380 Oct 16 16:18 pwfile
if I actually change owner
-rw------- 1 root root 380 Oct 16 16:18 pwfile
mosquitto doesn't start because
daemon.err mosquitto[2570]: 1697470558: Error: Unable to open pwfile "/etc/mosquitto/pwfile".
daemon.err mosquitto[2570]: 1697470558: Error opening password file "/etc/mosquitto/pwfile".
but the daemon actually does start with 'mosquitto' user privileges, so won't have access to the pwfile unless it's owned by mosquitto or world readable (but then, it's like #2890).
how to get rid of this warning?
The text was updated successfully, but these errors were encountered: