mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 17:35:54 +03:00
[GH-ISSUE #165] Container can't restart if config.json file is maintained #67
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @imartinezortiz on GitHub (Oct 18, 2019).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/165
Originally assigned to: @mageddo on GitHub.
What is Happening
Container can't restart (or a new one created) if the conf/config.json sets LogLevel parameter, the config file is reused between restarts (e.g. bind mount) and the config file is changed during runtime, for example, by adding a DNS entry (DPS writes the config file).
Seems that
github.com/mageddo/dns-proxy-server@e380797f3eintroduced the bug,What is expected
The container should restart without issues or a new container could be created reusing the config file.
Steps to Reproduce
dps.log
config-wrong.json.txt
Specs:
@mageddo commented on GitHub (Nov 3, 2019):
@imartinezortiz thanks for the contribution, it appears the bug is at this point
Fixing on #168
@mageddo commented on GitHub (Nov 3, 2019):
Please re open if don't work for you
@imartinezortiz commented on GitHub (Nov 4, 2019):
Thanks !, I can confirm that 2.18.2 docker image fix the problem.