Migrate the user bundle to /etc/s6-overlay/user-bundles.d - #1143
Conversation
s6-overlay 3.2.3.2 deprecates defining the user bundle in /etc/s6-overlay/s6-rc.d and logs a warning on every container start. Move the bundle to /etc/s6-overlay/user-bundles.d and update the stage 2 hook that removes sshd from the bundle when no SSH port is exposed, so it keeps working against the new location.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. WalkthroughWhen no SSH port is exposed, ChangesSSH bundle migration
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix · Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The SSH bundle removal path matches the new s6-overlay layout, with no actionable merge-blocking risk identified. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the SSH den, Comment |
Proposed Changes
s6-overlay 3.2.3.2 (shipped by base 21.0.5) moved the
userbundle definition out of/etc/s6-overlay/s6-rc.dand into/etc/s6-overlay/user-bundles.d. The old location still works, but logs a deprecation warning on every container start and will stop being picked up in the next major s6-overlay release.This moves the bundle to the new location. All seven service definitions stay where they are in
s6-rc.d. The stage 2 hook (enable-check.sh), which removessshdfrom the bundle when no SSH port is exposed, is updated to point at the new path so that behaviour keeps working.Verified with a local amd64 build against base 21.0.5: the deprecation warning no longer appears at start, and compiling the s6-rc database the same way
rc.initdoes resolves all seven services (init-docker,init-mosquitto,init-mysql,init-ssh,init-user,sshd,ttyd) through the new bundle location.Related Issues
Fixes #1128
🤖 Generated with Claude Code
Summary by CodeRabbit