Repository navigation
2026.10.16.2: a home inside a Luban system builds its catalog; the host's userland as the host has it; editions an older client can use - #677
Merged
Conversation
…ck write fence); the host's userland as the host has it; editions an older client can use; runtime links on a runtime's install - Layer boundary inside a system: where bwrap cannot start (no nested user namespaces) and the boundary is the layer's alone, the Lua worker puts up a Landlock write fence before it reads a request (its scratch, /dev, its hook logs and the payload's directory) and the system's pid namespace stands for pid; scopes on ABI 6. A host without bwrap still refuses. - A home that declares upstreams has no system layer: it borrows through them, so every payload it uses has an entry in its own store (mcpp's registry inside a system). - Sandbox userland: /bin, /sbin and /lib* where the host's resolve (Alpine, openSUSE Leap 15 had /usr/lib bound over their own /lib, /lib64). - libxpkg 0.0.64: a platform-level ref/inherits is inheritance; a version's min_client. With no version named, a version this client cannot use is passed over for the newest it can, and said so. - A runtime installed refreshes <home>/abi. - luban-fresh waits for the published index to carry the release. - SessionWakeup is timed from the child's exit; quick_install.ps1 reaches a named version without the release API. Plan: .agents/docs/2026-10-16-post-release-defects-and-fix-plan.md. Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
This was referenced Oct 16, 2026
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.
Summary
Fixes the defects found after 2026.10.16.1 in the post-release verification and in main CI. Plan, evidence and the revisions made during implementation:
.agents/docs/2026-10-16-post-release-defects-and-fix-plan.md. Version 2026.10.16.2.D1: a home inside a Luban system can build its catalog. Inside a system, every home other than
/xlingsfailed withmetadata boundary: Lua worker isolation unavailable(mcpp's registry, a regular user's own home, any new home). The cause: the layer boundary requires bwrap, and the system forbids nested user namespaces./dev, its hook logs, and the directory of the payload being installed. The system's own pid namespace provides pid isolation. Signal and abstract-socket scopes are added on ABI 6.select()is unchanged for sessions: Landlock is still never chosen on its own.D8: a home that declares
upstreamshas no system layer. Inside a system, mcpp's registry declaresupstreams = /xlingsand was also layered on/xlings. Payloads were then used in place with no entry in the registry's store, and mcpp reportedpatchelf missing. Such a home now borrows only through its upstreams, so each payload has a link entry in its own store.D2: the sandbox shows the host's userland as the host has it.
/bin,/sbinand/lib*are bound from where the host's copies resolve. On Alpine and openSUSE Leap 15,/usr/libused to be bound over the host's own/libor/lib64, and/bin/shcould not find its loader (host-matrix u-alpine, u-alpine-arm, u-leap-15). Ahost_resolveseam keeps the goldens host-independent.D3/D4: libxpkg 0.0.64 (openxlings/libxpkg#49).
reforinheritsis now inheritance, not a version namedref.min_client. With no version named, a version this client cannot use is passed over for the newest one it can, and the client says so (luban-tiny@2026.10.16.1 needs xlings >= …; using …).D5: installing a runtime package itself now refreshes
<home>/abi.D6:
xlings-ci-luban-fresh, when triggered by a release, first waits until the published index (xim-index-pointers.jsonsource_commit) hasxlingsandluban-oslatestset to the release.D7:
SessionWakeupis timed from the child's exit (its zombie state), so a slow start under ASan is not counted.quick_install.ps1fetches a named version's asset directly, without the GitHub or GitCode release API (which returned 403 and 429 under rate limits).Docs:
11-sandbox-and-policy: host userland, and recipes of a layered home.specs/xlings-json: upstreams with no system layer.luban/02-editions:min_clientselection.92-release: the version files and the luban-fresh wait.Test
Confine.TheHostsProgramAndLibraryDirectoriesAreWhereTheHostsResolve(merged-usr, Alpine, Leap)HomeLayers.AHomeThatDeclaresUpstreamsHasNoSystemLayerXimSelectVersionMinClient.NoHintPassesOverAVersionThisClientCannotUseSubosSpeclegacy argv updated, INTENT-EQ golden re-recorded (summaries unchanged, 173 hashes)SessionWakeuptimed from the exitluban_image_test.sh: inside a system made byluban new, a home of its own runsxlings updatebehind the fence, and a recipe's top level writing/rootis refused (LAYER-BOUNDARY-IN-SYSTEM).XLINGS_HOME=<new home> xlings update && xlings installsucceeds./rootis refused, while root can write/rootdirectly.mcpp new && mcpp build && mcpp runuses the system's gcc (a link into/xlings) and downloads no toolchain. This needs xim-pkgindex#987 (gcc keeps a borrowed payload's specs).Depends on openxlings/libxpkg#49 (merged) and openxlings/xim-pkgindex#987.
Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com