Repository navigation
fix(install): install on a computer without Docker or KVM access, and run the line again there - #368
Merged
Merged
Conversation
… new one is The install jobs ran on runners that already had Docker, and the microsandbox job gave the runner's user KVM before installing, so the part of the one line that installs Lens's own prerequisites was never run. The web installer job now takes Docker off the runner first and checks the installer lists it and install.sh installs it; the microsandbox job starts with a user that can't use /dev/kvm and checks install.sh installs microsandbox and gives that user KVM itself. install.sh also installs the acl package where setfacl is missing, so a minimal system gets KVM for this run without signing out and in. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Y4mUBxDN6pTR2fykqrfYV
…n-in The access setfacl gives lasted only until udev reset it, which a VM stopping does, so running the line again in the same session couldn't start the sandbox. Until the group counts, the installer starts it through sg. Also quotes the package list in the Install workflow and gives the installer's server tests a minute to see the fake install finish on a busy Windows runner. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Y4mUBxDN6pTR2fykqrfYV
msb couldn't stop the running sandbox either once udev reset the access setfacl gave, so running the line again in the same session left the old sandbox holding the port. Every msb command now runs through sg while the session predates the group. CI checks install.sh's own exit status where its output is piped into tee, which hid this failure. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Y4mUBxDN6pTR2fykqrfYV
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 a
31D1
pplied 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.
Requested by Adeel · project thread
Description
Before: the Install workflow ran the one line on runners that already had Docker, and the microsandbox job gave the runner's user KVM itself before installing. The part of install.sh that installs Lens's own prerequisites (Docker from get.docker.com, KVM access) never ran in CI. On a machine whose user install.sh had just added to the kvm group, running the line again in the same session failed: the access setfacl gave lasted only until udev reset it (a VM starting or stopping does), so msb could neither stop the old sandbox nor start the new one. CI didn't notice because install.sh's output was piped into
tee, which hid its exit status.After: the Install from the web installer job takes Docker off the runner first and checks install.sh installed it and Lens came up. The microsandbox job starts with a user who can't use
/dev/kvm, checks install.sh installed microsandbox and gave that user KVM, and runs the line again several times in that session. Until the next sign-in makes the kvm group count, install.sh runs every msb command throughsg kvm, and the KVM checks count group membership. CI now checks install.sh's own exit status wherever its output goes totee.install.sh also installs the
aclpackage wheresetfaclis missing, quiets atr: write errorit printed, and the installer's server tests wait up to a minute for the fake install on a busy Windows runner.Types of changes
!in the title)Checklist:
make hookschecks it on commit).docs/accordingly. (get-started.md, microsandbox.md)## UnreleasedinCHANGELOG.md. (n/a)Done questions (AGENTS.md)
🤖 Generated with Claude Code
https://claude.ai/code/session_014Y4mUBxDN6pTR2fykqrfYV