Skip to content

[BUG] CONFIG REWRITE ignores already set ACL in included config - preventing service start #11736

Closed
@marekhanzlik

Description

@marekhanzlik

Describe the bug

Simplified config:

redis.conf

include /etc/redis/redis-inc.conf

redis-inc.conf

user default on nopass sanitize-payload allcommands allkeys allchannels

or (doesnt matter which format, both behave the same)

user default on nopass sanitize-payload ~* &* +@all

when we call CONFIG REWRITE the user directive is again resaved into redis.conf

This prevent redis from starting after service restart or system reboot with error

Error in user declaration 'default': Duplicate user found. A user can only be defined once in config files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions