Use this page when abx status reports a Linux host problem, or before you set up a new Linux machine. abx runs on x86_64 and arm64 Linux with glibc. It checks fixed paths and ownership strictly, and most failures below come from a permission that is looser than abx accepts. For the general install steps see Install.
Run abx status first. It lists each missing requirement with a distro-specific hint (apt, dnf or zypper, from /etc/os-release) and starts no VM.
Run as an unprivileged user
abx never runs operational commands as root or with an unknown effective user ID.
abx refuses to operate as root on Linux. Run it as an unprivileged user.The failure code is host-unsupported and the exit status is 125. As root, with an unknown effective UID, or on a CPU other than x86_64 or arm64, only abx help (and --help), abx --version (-V), --agent-mode and abx status run. As root, status does not probe smolvm and reports it as not probed as root. Switch to a regular account.
KVM access
VM commands need /dev/kvm to be a character device that your account can read and write.
/dev/kvm owner=... group=... mode=... is inaccessible- Load the KVM kernel module and enable hardware virtualization in the BIOS or VM settings.
- If
/dev/kvmexists with mode0660and groupkvm, add yourself to that group, then start a new login session.
sudo usermod -aG kvm "$USER"Desktop seat grants (uaccess) do not apply over SSH, so an SSH session needs the group. abx status still works without /dev/kvm. VM commands fail with host-dependency-missing before they create any box or engine state.
Local ext4 for state
ABX_HOME and the smolvm state root (ABX_SMOLVM_STATE_DIR, or your account home when it is unset) must be on a local ext4 filesystem.
State at <path> requires local ext4. Found <type> at <dir>.Any other filesystem type is refused, including btrfs, XFS, NFS, CIFS, FUSE, overlay and tmpfs (abx help status calls btrfs and XFS unqualified). When the type cannot be read from the mount table, it is reported as unknown and refused too. Point both variables at directories on a local ext4 mount. Both must be absolute paths.
Every component of those paths must be owned by root or by your account, without group or other write bits. A root-owned sticky directory such as /tmp can be an ancestor of a protected state directory. A symlinked ancestor, such as /home pointing to /data/home, is followed when you or root own the link and its target passes the same checks. The state directory itself must be a real directory. A failure reads:
<dir> must be a directory owned by you or root and safe from other writers.Trusted executable paths
On Linux, abx runs a tool only when it lives in a trusted location, and it refuses any path component with a group or other write bit, even when the group is private to your account. A group write bit can also come from a POSIX ACL mask. The error names the component:
Unsafe executable path: <path> (...)Remove the write bits from the reported component, and use umask 022 when you create state or install tools:
chmod go-w <path>If a parent directory has a default ACL, check the resulting permissions after an installation.
The trusted locations depend on the kind of tool:
| Kind | Examples | Trusted under |
|---|---|---|
| Fixed system tools | sqlite3, git, coreutils, infocmp, mkfs.ext4 |
Root-owned paths under /usr (merged-/usr symlinks for /bin and /sbin are allowed) |
| Secret provider tools | pass, gopass, sops, op, secret-tool, systemd-creds, gdbus |
/usr/bin, /bin and /usr/local, never ~/.local |
| Host-login clients | codex, pi, opencode |
/usr, /bin and ~/.local, looked up in /usr/bin, /bin, /usr/local/bin and ~/.local/bin. Pi may also resolve into ~/.pi. |
| Host-login helpers | node (Codex), sqlite3 (OpenCode) |
/usr and /bin only, never ~/.local |
| Engine | smolvm |
See below |
Host-managed logins refuse clients installed under nvm, asdf, nodenv, volta, fnm, mise or n/versions. Install the pinned client in a trusted system directory or in ~/.local. See Host-managed login.
Required system tools
These must exist at fixed paths. abx never searches PATH.
| Tool | Path | Needed for |
|---|---|---|
sqlite3 |
/usr/bin/sqlite3 |
Every command that uses a VM (including ls, net and image build), and OpenCode host login |
git 2.39 or newer |
/usr/bin/git |
Commands that work on a Git workspace |
timeout |
/usr/bin/timeout |
Commands that work on a Git workspace: every host Git command runs under it |
mkfifo, rm |
/usr/bin/mkfifo, /bin/rm |
abx land |
sleep |
/bin/sleep |
abx auth verify and the credential renewal worker |
sha256sum |
/usr/bin/sha256sum |
Image pack verification (run, shell, diff, land, rm, image build, auth verify, auth refresh) |
Install sqlite3 with sudo apt install sqlite3, sudo dnf install sqlite or sudo zypper install sqlite3, and the coreutils programs with the coreutils package. Optional tools: e2fsprogs for mkfs.ext4, an ncurses package for infocmp, pass for pass://, and libsecret-tools (or libsecret) for secret-tool. A missing required tool fails commands with host-dependency-missing.
smolvm installation
On Linux, abx validates the smolvm launcher and its whole install tree before it runs even smolvm --version. The launcher must be named smolvm under ~/.local/bin, /usr/local/bin, ~/.smolvm or /opt/smolvm, and it must resolve to the unmodified smolvm 1.38.2 wrapper under ~/.smolvm or /opt/smolvm. The tree must have no foreign owners or unauthorized writers. A failure reads:
Unsafe or incomplete smolvm installation: <path> (...)abx status marks the requirement unsafe. Repair the named path, or reinstall smolvm 1.38.2 from the release tarball into ~/.smolvm and link ~/.local/bin/smolvm to it (the layout the abx status install hint uses when smolvm is missing). If you set ABX_SMOLVM, it is used alone and must still pass these checks.
Other Linux messages
abx: Git scratch is on tmpfs. Bundles use memory. Set TMPDIR to a disk-backed directory to avoid this. Your TMPDIR (or /tmp) is on tmpfs, so Git bundle transfers use RAM. Point TMPDIR at a directory on disk.
version 'GLIBC_2.xx' not found. The Linux release binaries are built on Ubuntu 24.04 runners, and the release workflow measures the glibc version each one needs. For 0.1.0 both Linux archives require GLIBC_2.38 or newer; each release lists its minimum in the release notes. On an older glibc, build from source on that host. musl distributions such as Alpine are not supported.
An unlocked desktop Secret Service is unavailable. A headless host has no Secret Service. Use --from pass://... or --from sops://...; see Secret providers.
For renewing host-managed logins after an SSH logout, see Host-managed login.