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

per_listener_settings makes reload on HUP fail #1459

Closed
nikin opened this issue Oct 15, 2019 · 1 comment
Closed

per_listener_settings makes reload on HUP fail #1459

nikin opened this issue Oct 15, 2019 · 1 comment
Milestone

Comments

@nikin
Copy link

nikin commented Oct 15, 2019

When using per_listener_settings true in my config reloading the config with HUP signal fails with error message

console output

/ # ./usr/sbin/mosquitto -c /mosquitto/config/mosquitto.conf 

1571132980: mosquitto version 1.6.7 starting
1571132980: Config loaded from /mosquitto/config/mosquitto.conf.
1571132980: Opening ipv4 listen socket on port 1884.
1571132980: Opening ipv4 listen socket on port 1883.
1571132980: Opening ipv6 listen socket on port 1883.
1571132990: Reloading config.
1571132990: Error: per_listener_settings must be set before any other security settings.
1571132990: Error found at /mosquitto/config/mosquitto.conf:1.

mosquitto.conf

per_listener_settings true

port 1883

user mosquitto
log_dest stdout
allow_anonymous false

### Listener 2

listener 1884 127.0.0.1
allow_anonymous true

This was recreated with release 1.6.7 as well as 1.6.3

ralight added a commit that referenced this issue Oct 15, 2019
@ralight
Copy link
Contributor

ralight commented Oct 15, 2019

Thank you, that is now fixed in the fixes branch.

@ralight ralight added this to the 1.6.8 milestone Oct 15, 2019
@ralight ralight closed this as completed Oct 31, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 30, 2020
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