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

bind_interface won't work on my Raspberry Pi4, Buster tiny #1999

Closed
Joerg55 opened this issue Jan 7, 2021 · 1 comment
Closed

bind_interface won't work on my Raspberry Pi4, Buster tiny #1999

Joerg55 opened this issue Jan 7, 2021 · 1 comment
Milestone

Comments

@Joerg55
Copy link

Joerg55 commented Jan 7, 2021

I run mosquitto-2.0.4 on my raspberry Pi4 with raspian buster 5.4.79-v71+ (tiny version without desktop). Everything works fine but when i try to use the bind_interface-issue, start of mosquitto fails. logfile says: operation not permitted.

here my mosquitto.config

grafik

I read in the mosquitto.conf.example that bind_interface requires elevated privileges. What does that mean? Even startting mosquitto from the commandline via sudo fails. Normally I use mosquitto.service(.simple) in /etc/systemd/system.

looking forward for every kind of help

@ralight
Copy link
Contributor

ralight commented Jan 7, 2021

You've done nothing wrong - this option wasn't updated to no longer require elevated priviliges (root). As mosquitto no longer uses root, that meant it would fail. That's now fixed and will be part of 2.0.5. Thanks for the report!

@ralight ralight added this to the 2.0.5 milestone Jan 7, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants