-
Notifications
You must be signed in to change notification settings - Fork 23.6k
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
[BUG] CONFIG REWRITE ignores already set ACL in included config - preventing service start #11736
Comments
thanks for the report. i see the problem, @madolson Do you have any suggestions? from redis.conf:
|
CONFIG REWRITE doesn't really play well with include files. since the rewrite code doesn't have any visibility of the include files (and will certainly not modify it), i think we should just argue that ACL should be managed by an |
Thanks for the Regarding the
It implies that rewrite will write out only changes that are not already in |
i'm not sure what you mean. feel free to make a PR to suggest a better text. |
I see this was closed above, but I'm looking for a version this is fixed in... |
@kbcmdba we didn't fix anything, config if your problem wasn't with ACL, maybe add some more details.. the conclusions was that maybe the docs can be improve to warn users, feel free to make a PR where you think that can be effective. |
IMNSHO, rewrite shouldn't cause configuration problems that would prevent Redis from running in the future. To me, that's a bug. As such, I believe this should be reopened. |
i agree that in a perfect world it shouldn't (cause configuration problems), but the fact is that it's complicated and not a priority. the way i see it, the that said, if someone submits a PR to solves the problem, we'll certainly consider merging it. |
maybe we can consider this? #12010 (comment) |
Describe the bug
Simplified config:
redis.conf
redis-inc.conf
or (doesnt matter which format, both behave the same)
when we call
CONFIG REWRITE
theuser
directive is again resaved intoredis.conf
This prevent redis from starting after service restart or system reboot with error
The text was updated successfully, but these errors were encountered: