Repository navigation
fix(oci): keep absolute symlink targets in system package layers - #14968
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5T7WY8PS6PXZ292W288DQNY
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit details
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 |
Contributor
[Medium impact] The PR appears safe to merge. SummarySystem package layers keep symlink targets unchanged. Tool layers retain their existing rebasing behavior.
Reviews (2) · Last reviewed commit: "test(oci): cover build-dir-matching targ..." · Reviewed by Greptile |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Entire-Checkpoint: 01M5T8B9WVE0DG1S5E24R20YBV
jdx
pushed a commit
that referenced
this pull request
Oct 26, 2026
<!-- entire-trail-link-start --> https://entire.com/gh/jdx/-/trails/2808/changes/mise/1030 <!-- entire-trail-link-end --> ### 🚀 Features - **(bootstrap)** let Homebrew upgrade casks mise installs by @jdx in [#14929](#14929) - **(bootstrap)** manage existing systemd user units from bootstrap.services by @jdx in [#14980](#14980) - **(bootstrap)** install Windows packages with Chocolatey by @jdx in [#14978](#14978) - **(bootstrap)** support launchd launch events by @deecewan in [#14992](#14992) - **(dotfiles)** render templates in dotfiles.root by @jdx in [#14969](#14969) - **(github)** add version_regex to list only matching release tags by @jdx in [#14984](#14984) ### 🐛 Bug Fixes - **(backends)** name --global in the switch warning for global lock entries by @jdx in [#14976](#14976) - **(bootstrap)** find a just-installed git outside startup PATH by @pmmmwh in [#14919](#14919) - **(bootstrap)** pin full container ids when hashing compose service references by @jdx in [#14958](#14958) - **(config)** warn about an ignored write_targets only when a write uses it by @jdx in [#14973](#14973) - **(doctor)** accept any registry-listed backend for an explicit install by @jdx in [#14965](#14965) - **(doctor)** color mise doctor project output by @jdx in [#14970](#14970) - **(dot)** show the local history path in status and explain split track entries by @jdx in [#14979](#14979) - **(dot)** resolve a relative dot add --source from the current directory by @jdx in [#14983](#14983) - **(env)** avoid sops CLI recursion through mise shims by @shuaiyafei in [#14801](#14801) - **(hook-env)** install error hooks before the hook-env fast path by @jdx in [#14963](#14963) - **(http)** accept # comment lines in netrc files by @jdx in [#14964](#14964) - **(http)** apply Tera filters to {{ version }} in tool option templates by @jdx in [#14967](#14967) - **(lock)** keep npm sidecars in one place for a symlinked config dir by @jdx in [#14961](#14961) - **(lock)** skip platforms excluded by a tool's os option by @jdx in [#14959](#14959) - **(npm)** skip the aube tree health walk in repeated hook-env runs on Windows by @jdx in [#14960](#14960) - **(oci)** keep absolute symlink targets in system package layers by @jdx in [#14968](#14968) - **(oci)** write aliased tools by their resolved backend in the image config by @jdx in [#14971](#14971) - **(self-update)** leave WinGet-managed installs to winget by @jdx in [#14977](#14977) - **(shim)** keep command wrappers in place during a concurrent reshim by @HackingGate in [#14931](#14931) - **(task)** stop sibling tasks run through Git Bash when a task fails on Windows by @jdx in [#14966](#14966) ### 📚 Documentation - **(ide)** add mise-zed, and screenshots of mise-vscode and mise-zed by @hverlin in [#14988](#14988) - **(templates)** list the settings that render templates by @jdx in [#15004](#15004) - **(use)** explain that a bare tool reuses the newest installed version by @sahidvelji in [#14949](#14949) ### 📦️ Dependency Updates - update aube to v2.8.3 by @renovate[bot] in [#14957](#14957) - update jdx crates to v7.1.2 by @renovate[bot] in [#14934](#14934) ### 📦 Registry - add packslip and aqua backends to jactionlint by @sahidvelji in [#14947](#14947) ### Security - **(config)** make elevate_with a global-only setting by @jdx in [#14972](#14972) ### New Contributors - @deecewan made their first contribution in [#14992](#14992) - @HackingGate made their first contribution in [#14931](#14931) - @shuaiyafei made their first contribution in [#14801](#14801) - @sahidvelji made their first contribution in [#14949](#14949) ## 📦 Aqua Registry Updates ### New Packages (2) - [`glsec/glsec`](https://github.com/glsec/glsec) - [`yashikota/tlc-static`](https://github.com/yashikota/tlc-static) ### Updated Packages (8) - [`cloudposse/atmos`](https://github.com/cloudposse/atmos) - [`jdx/mise`](https://github.com/jdx/mise) - [`suzuki-shunsuke/ci-info`](https://github.com/suzuki-shunsuke/ci-info) - [`suzuki-shunsuke/cmdx`](https://github.com/suzuki-shunsuke/cmdx) - [`suzuki-shunsuke/disable-checkout-persist-credentials`](https://github.com/suzuki-shunsuke/disable-checkout-persist-credentials) - [`suzuki-shunsuke/ghalint`](https://github.com/suzuki-shunsuke/ghalint) - [`suzuki-shunsuke/ghatm`](https://github.com/suzuki-shunsuke/ghatm) - [`suzuki-shunsuke/mkghtag`](https://github.com/suzuki-shunsuke/mkghtag)
This was referenced Nov 6, 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.
https://entire.com/gh/jdx/-/trails/2820/changes/mise/1041
mise ociprinted aWARN ... has an absolute target outside the tool's install dir; it will be dangling inside the containerfor every absolute symlink in a[bootstrap.packages]layer. Withapt:buildah, that is the whole/etc/alternatives/*set:The warnings were wrong. A system package layer is a rootfs overlay extracted at
/, so/usr/sbin/arptables-nftis already the correct in-image path and the link resolves fine. The layer builder was passing these links through the tool-relocation logic, which assumes the tree moves under/miseand could also have rewritten a target relative to the temporary build directory.System package layers now keep symlink targets exactly as the package installed them. Tool layers are unchanged and still warn about, or rebase, links that really would dangle.
Reported in #12195.
Tested with a unit test for an
etc/alternatives/arptables → /usr/sbin/arptables-nftlink in a preserved-metadata layer (cargo test -p mise-oci -p mise --lib layer).AI-assisted — Tool: Claude Code; model: anthropic/claude-sonnet-5-5; version: claude-code_2-1-308_agent.
🤖 Generated with Claude Code