Repository navigation
feat(containers): run container backends from lemond.service with rootless Podman - #3911
Draft
jeremyfowers wants to merge 2 commits into
Draft
jeremyfowers wants to merge 2 commits into
jeremyfowers wants to merge 2 commits into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. Comment |
jeremyfowers
added this pull request to stack #3912
October 19, 2026 19:24
jeremyfowers
force-pushed
the
jfowers/cb-8-system-service
branch
from
October 21, 2026 01:36
14185d9 to
d3412c8
Compare
jeremyfowers
force-pushed
the
jfowers/cb-8-system-service
branch
from
October 21, 2026 02:01
d3412c8 to
78bbf10
Compare
jeremyfowers
force-pushed
the
jfowers/cb-8-system-service
branch
from
October 22, 2026 20:59
78bbf10 to
a8d0d90
Compare
8 of 10 tasks
…tless Podman Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… service tests Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LcAshvLHhLPAw6Ka6CJXwC
jeremyfowers
force-pushed
the
jfowers/cb-8-system-service
branch
from
October 23, 2026 21:10
a8d0d90 to
71304ee
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #3764, which GitHub marked as merged while the container stack was being reordered. Same branch, same change, now sitting right on top of #3709. Sweet.
Spec Driven Development
This PR:
lemondas a System Servicelemond.servicewith rootless PodmanSummary
data/lemond.service.inNoNewPrivilegesandRestrictNamespaces; setsXDG_RUNTIME_DIR=%t/lemonade; keepsLockPersonality,RestrictRealtime,ProtectSystem,ProtectHome,PrivateTmpdata/lemond-user.service.incontrib/debian/lemonade-server.postinst,src/cpp/postinst-rpmlemonadetovideoandrender; allocate its sub-UID/GID range past every existing range; skip allocation whennsswitch.confhas asubid:linecontrib/debian/control,src/cpp/CPackRPM.cmakeRecommends: podmanContainerManager::check_setup()lemonade: fixes namelemonadeand end withsudo systemctl restart lemond; adds the "Subordinate IDs allocated" check (getsubids)docs/guide/configuration/container-backends.mdLockPersonality/RestrictRealtimeset NoNewPrivssystemd-run --user -p LockPersonality=yes -p RestrictRealtime=yes:NoNewPrivs: 1PrivateTmp/ProtectSystemmap only the user's UIDsystemd-run --user -p PrivateTmp=yes cat /proc/self/uid_map:1000 1000 1context_has_no_new_privileges(): no NNP when the executor hasCAP_SYS_ADMINScope
Testing
Testing details:
test_container_managerctest -L cpp-ci/etc/subuid(alice100000,bob165536)lemonade:231072:65536in both files; second run changes nothing.deb/.rpminstall on a clean host, rootless Podman load underlemond.service🤖 Generated with Claude Code