Skip to content

fix: the ACL fragment comment keeps every line a comment - #8

Merged
marcos-mendez merged 1 commit into
mainfrom
fix/acl-fragment-comment
Oct 8, 2026
Merged

marcos-mendez merged 1 commit into
mainfrom
fix/acl-fragment-comment

Conversation

@marcos-mendez

Copy link
Copy Markdown
Contributor

lib/redis.sh:105: a line of the comment redis_acl_fragment writes into /etc/redis/redis.conf.d/50-keel-secret.conf had lost its #. Redis read it as a directive and redis-server refused to start ("Unresolved Configuration(s) Detected ... aborting"). Found by the headless boot of the Keel Redis 19.0-7 image, which is withdrawn.

  • The # is back.
  • tests/redis.bats: every line of the rendered fragment is a comment, blank or a user rule (fails on the old text, checked); a real redis-server on the shipped 20-keel-acl.conf plus the rendered fragment keeps running until a 3 s timeout (exit 124). The workflow installs redis-server so this runs in CI instead of skipping.
  • unit-redis 1.0.4 (changelog, version). Tag v1.0.4 after merge.

A line of the comment redis_acl_fragment writes into
/etc/redis/redis.conf.d/50-keel-secret.conf had lost its "#". The first
boot wrote it as it was, Redis read it as a directive and redis-server
refused to start ("Unresolved Configuration(s) Detected ... aborting"),
found by the headless boot of the Keel Redis 19.0-7 image.

tests/redis.bats: every line of the rendered fragment is a comment, a blank
or a user rule (it fails on the old text), and a real redis-server started
on the shipped 20-keel-acl.conf and the rendered fragment keeps running
until the timeout stops it. The workflow installs redis-server so the
second test runs in CI instead of skipping. unit-redis 1.0.4.
@marcos-mendez
marcos-mendez merged commit afc121c into main Oct 8, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant