Skip to content

fix: resolve issue #146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run - #148174

Merged
fuller-stack-dev merged 8 commits into
openclaw:mainfrom
xydigitLybnnnn:fix/146088-bug-the-most-recent-linux-appi
Sep 15, 2026
Merged

fuller-stack-dev merged 8 commits into
openclaw:mainfrom
xydigitLybnnnn:fix/146088-bug-the-most-recent-linux-appi

Conversation

@xydigitLybnnnn

@xydigitLybnnnn xydigitLybnnnn commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Current maintainer verification

Merged: db08d8a79ec868543776aaefeb4ea0d30447bc5a. Exact-head CI and native preparation passed.

Exact integrated head: bc5ea8fbd0169fe8522a692a7fd46f31bf7aaab2. Fresh native red/green, repeat repair, healthy discovery and no-override control: proof with before/after screenshots. Independent exact-head source review passed. Full Gateway readiness is not claimed in isolated HOME. Contributor ancestry and original one-file correction are preserved.

What Problem This Solves

Issue #146088: [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run

On the affected AppImage (2026.8.2) under Debian Trixie, first-run setup fails immediately:

Installer exited with exit status: 1
curl: /tmp/.mount_OpenClcbGDIH/usr/lib/libssl.so.3: version `OPENSSL_3.2.0' not found
    (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
curl: /tmp/.mount_OpenClcbGDIH/usr/lib/libssl.so.3: version `OPENSSL_3.3.0' not found
    (required by /usr/lib/x86_64-linux-gnu/libcurl.so.4)
  • Expected: the AppImage installs a self-contained OpenClaw + Node into ~/.openclaw.
  • Actual: the installer exits 1, so setup cannot complete on that host.

Why This Change Was Made

Root cause (from the solution analysis for this issue): this is not an "incomplete packaging" bug but a
mixed-ABI library boundary — the AppImage runtime injects its own usr/lib (Ubuntu 22.04, OpenSSL 3.0)
into the child process library search path, while the host tools the installer drives (curl, wget,
tar, git, downloaded Node) resolve against that older bundled OpenSSL.

  1. The AppImage bundles Ubuntu 22.04's OpenSSL 3.0: squashfs-root/usr/lib/libssl.so.3 defines only
    OPENSSL_3.0.0 (no OPENSSL_3.2.0 / OPENSSL_3.3.0).
  2. The AppImage runtime exports its own usr/lib via LD_LIBRARY_PATH: AppRun.wrapped (the linuxdeploy
    launcher) prepends %s/usr/lib/ before exec'ing usr/bin/openclaw-desktop, so the Tauri process and
    every child it spawns inherit the bundled library directory.
  3. The bundled installer intentionally uses the host curl: scripts/install-cli.sh
    (detect_downloader) picks curl from PATH and executes it directly.
  4. The Tauri host passed the polluted environment through unchanged: installer.rs used
    Command::new("bash") without env_clear / env_remove, so the injected LD_LIBRARY_PATH was inherited.
  5. Debian Trixie's libcurl needs newer OpenSSL symbols: libcurl4t64 8.14.1 requires OPENSSL_3.2.0 and
    OPENSSL_3.3.0. Host libcurl (needs 3.2/3.3) + AppImage libssl (only 3.0.0) → symbol resolution fails →
    curl exits non-zero → the installer exits 1.

This change removes LD_LIBRARY_PATH only for the installer child command
(configure_installer_environment() → command.env_remove("LD_LIBRARY_PATH"), called right after
Command::new("bash")). Host tools then resolve host libraries, while the AppImage's own runtime keeps
using its bundled libraries.

User Impact

  • Before: on newer hosts (reported on Debian Trixie), AppImage first-run setup aborts during the Node
    download step with OPENSSL_3.2.0 not found, and retries fail the same way (every spawn inherits the
    same polluted environment).
  • After: the installer's host tools resolve host libraries, so the download step can complete; the
    AppImage's own runtime is unchanged and still uses its bundled libraries.
  • No UI/UX change is introduced; the change is confined to the installer subprocess environment.

Evidence

Real behavior proof — the companion's installer subprocess environment, patched vs unpatched

Built the actual Linux companion (cargo build --locked) on the CI-matching stack
(ubuntu:22.04, webkit2gtk-4.1 2.50.4, libsoup-3.0 3.0.7) and drove its real first-run UI
headlessly with the repository's own AT-SPI driver (apps/linux/tests/first_run.py), extended to
click Install OpenClaw. The simulated AppImage environment
(LD_LIBRARY_PATH=<AppImage OpenSSL 3.0 libs>) is inherited by the companion process. For every
process the companion spawns whose argv contains install-cli.sh, the harness records
/proc/<pid>/environ.

BEFORE — unpatched main (no configure_installer_environment):

[proof] companion environment LD_LIBRARY_PATH='<appimage-libs>'
[proof] installer child pid=8756 ppid=8624 LD_LIBRARY_PATH='<appimage-libs>'
[proof] installer child pid=8807 ppid=8756 LD_LIBRARY_PATH='<appimage-libs>'
[proof] child pid=8756 inherits_LD_LIBRARY_PATH=True value='<appimage-libs>'
[proof] child pid=8807 inherits_LD_LIBRARY_PATH=True value='<appimage-libs>'

AFTER — this PR:

[proof] companion environment LD_LIBRARY_PATH='<appimage-libs>'
[proof] installer child pid=12829 ppid=12697 LD_LIBRARY_PATH=None
[proof] installer child pid=12844 ppid=12829 LD_LIBRARY_PATH=None
... 23 installer children observed across the run; every one reported LD_LIBRARY_PATH=None ...

Summary: the companion process still receives the AppImage library path, while the installer it
spawns no longer inherits it (0 of 23 children in the A/B run, and 0 of the 15 + 14 + 12 children
observed in the three install-to-completion runs below).

Companion-driven installs run to completion — fresh, then reinstall over the existing ~/.openclaw

The patched companion also drives full first-run installs to completion from its own UI. Same headless
session as above; the Stable channel is picked in the real release-channel popup with pointer input
(the Development channel installs from git and runs a full pnpm install), then Install OpenClaw is
clicked and the run is left until the installer exits:

[proof] release channel committed: 'Stable'
[proof] companion environment LD_LIBRARY_PATH='<appimage-libs>'
[proof] clicked 'Install OpenClaw'
[proof] installer child pid=16025 ppid=15887 LD_LIBRARY_PATH=None argv=bash install-cli.sh --json --no-onboard --prefix <home>/.openclaw --version latest
... 15 installer children observed across the run; every one reported LD_LIBRARY_PATH=None ...
[proof] ---- summary ----
[proof] installer_child_exited: True
[proof] ui text sample: ['Close window', 'Dismiss update notice', 'GATEWAYS ON THIS NETWORK', 'Maximize window', 'Minimize window', 'Open download page', 'OpenClaw', 'Preparing your companion', 'Window controls', 'openclaw-desktop']   # UI moved on to gateway setup after the install
[proof] installed CLI: {'path': '<home>/.openclaw/bin/openclaw', 'returncode': 0, 'stdout': 'OpenClaw 2026.9.4 (3a9d69d)', 'stderr': ''}
Screenshot: after-patched-complete/choices-passed.png

The harness was then run twice against one home that survives the run (INSTALL_PROOF_HOME), so the second
run installs into the state the first one left behind:

# pass 1 — fresh install (after-patched-fresh-home.log)
[proof] reusing home <harness>/reinstall-home
[proof] installer child pid=16590 ppid=16454 LD_LIBRARY_PATH=None argv=bash install-cli.sh --json --no-onboard --prefix <home>/.openclaw --version latest
... 14 installer children, all LD_LIBRARY_PATH=None ...
[proof] installer_child_exited: True
[proof] installed CLI: {'path': '<home>/.openclaw/bin/openclaw', 'returncode': 0, 'stdout': 'OpenClaw 2026.9.4 (3a9d69d)'}
# ... which left ~/.openclaw with bin/, state/, tmp/ and tools/node (node v24.19.0), 751 MB in total

# pass 2 — reinstall over that existing ~/.openclaw (after-patched-reinstall.log)
[proof] reusing home <harness>/reinstall-home
[proof] installer child pid=17498 ppid=17361 LD_LIBRARY_PATH=None argv=bash install-cli.sh --json --no-onboard --prefix <home>/.openclaw --version latest
... 12 installer children, all LD_LIBRARY_PATH=None ...
[proof] installer_child_exited: True
[proof] installed CLI: {'path': '<home>/.openclaw/bin/openclaw', 'returncode': 0, 'stdout': 'OpenClaw 2026.9.4 (3a9d69d)'}
Screenshot: after-patched-reinstall/choices-passed.png

The companion only offers the installer when it cannot discover a CLI (OpenClawCli::discover searches
~/.openclaw/bin and then ~/.openclaw/tools/node/bin), so before the second pass those two CLI entry
points of the existing install were renamed (openclaw → openclaw.pre-reinstall); the node toolchain,
installed packages, state/ and caches stayed in place, which is what a failed or repaired install leaves
behind. The installer re-created bin/openclaw next to the renamed entry point and the CLI runs from the
same prefix again.

So on the patched build: the companion spawned the installer without the AppImage library path in every
run, each install ran to completion (installer exit observed, UI advanced to "Preparing your companion"),
and the CLI left in the prefix the companion passed (--prefix <home>/.openclaw) runs and reports
OpenClaw 2026.9.4 (3a9d69d) — both for a clean home and when installing into an existing one.

Installer completion when invoked directly with the companion's argv

Running the installer the companion invokes, with the companion's exact argv:

=== The bundled installer invoked with the companion\u0027s exact argv ===
argv: bash install-cli.sh --json --no-onboard --prefix /tmp/oc-direct --version latest
host: Ubuntu 22.04.5 LTS / x86_64
curl: curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.20

{"event":"step","name":"node","status":"start","version":"24.19.0"}
{"event":"step","name":"node","status":"ok","version":"24.19.0"}
{"event":"step","name":"git","status":"ok"}
{"event":"step","name":"openclaw","status":"start","version":"latest"}

added 330 packages in 22s
{"event":"step","name":"openclaw","status":"ok","version":"latest"}
{"event":"step","name":"gateway-service","status":"skip","reason":"not-loaded"}
{"event":"done","ok":true,"version":"OpenClaw 2026.9.4 (3a9d69d)"}
installer_exit=0

=== Installed CLI ===
OpenClaw 2026.9.4 (3a9d69d)

What was not tested

  • The same flow on a physical desktop session (these runs are headless Xvfb + AT-SPI, not a real display,
    and the AppImage environment is simulated by pointing LD_LIBRARY_PATH at the AppImage's OpenSSL 3.0
    libraries rather than by mounting the AppImage).
  • An install started from a home whose previous install failed midway through the Node download (the
    existing home used for the reinstall capture had a complete Node toolchain behind it, with only the CLI
    entry points removed so the companion would offer the installer again).

Reproduction evidence (before fix):

  • /media/vdb/AutoDigit/workspace/logs/reproduction/issue-146088-evidence
    (MANIFEST.md, version-info.txt, runtime-repro/, squashfs-root/)

Companion A/B artifacts:

  • /media/vdb/AutoDigit/workspace/logs/real_behavior/issue-146088-evidence/harness/EVIDENCE.md
  • .../harness/before-unpatched-run.log, .../harness/after-patched-run.log
  • .../harness/after-patched/installer-child-*.env.txt (full child environments)
  • .../harness/after-patched-complete.log + .../harness/after-patched-complete/
    (install-proof.json, installer-children.jsonl, installer-child-*.env.txt, choices-passed.png)
    — companion-driven install to completion in a disposable home
  • .../harness/after-patched-fresh-home.log + .../harness/after-patched-fresh-home/ and
    .../harness/after-patched-reinstall.log + .../harness/after-patched-reinstall/
    (install-proof.json, installer-children.jsonl, installer-child-*.env.txt, choices-passed.png)
    — the same kept home installed into twice, fresh and then again over the existing ~/.openclaw
    (.../harness/reinstall-home-before.txt records the state the reinstall started from)
  • .../harness/installer-direct-install.txt
  • .../harness/install_proof.py (driver used, extends apps/linux/tests/first_run.py)

Local validation commands:

# CI install gate: verify pnpm-lock.yaml matches package.json
pnpm install --frozen-lockfile

# Build and typecheck
pnpm build

# Code quality checks (lint, format, typecheck) - incremental by default
pnpm check:changed

# Tests - incremental by default
pnpm test:changed

# Git diff check
git diff --check origin/main...HEAD

# Rust gates for the changed crate
cargo +stable fmt --check
cargo +stable test --locked --all-targets

# Companion build used for the proof
cargo +stable build --locked

Linked context

Closes #146088

Tests and validation

  • Added Rust unit test covering the process-boundary behavior:
    apps/linux/src-tauri/src/installer.rs → installer_child_does_not_inherit_the_appimage_library_path
    (sets LD_LIBRARY_PATH on the command, calls the production helper, spawns a real sh, asserts the
    child sees the variable as unset).
  • cargo +stable fmt --check passes; GitHub Linux App runs cargo +stable test --locked --all-targets.
  • Companion build + headless first-run proof: see Evidence above.

Local CI equivalent check report:

See the checks attached to this PR for the current revision.
The local CI-equivalent report generated for this issue came from an interrupted run (all entries
pending), so it is intentionally not presented as passing evidence.

Risk checklist

  • Did user-visible behavior change? No — no UI/front-end paths changed; the change is confined to the installer child environment.
  • Did config, environment, or migration behavior change? Yes — the installer subprocess environment is modified (LD_LIBRARY_PATH removed) in apps/linux/src-tauri/src/installer.rs; that environment change is the intended fix.
  • Did security, auth, secrets, network, or tool execution behavior change? No — the installer still invokes the same host curl/wget/tar/git; only its inherited library search path changes.
  • What is the highest-risk area? apps/linux installer subprocess environment.
  • How is that risk mitigated? The AppImage's own runtime is untouched; only the spawned installer child loses the inherited LD_LIBRARY_PATH. Verified on the real companion (23/23, 15/15, 14/14 and 12/12 installer children without the variable, with companion-driven installs that complete — fresh and over an existing ~/.openclaw — and leave a runnable CLI) and locked by a unit test.
  • What was not tested? The flow on a physical desktop session, and an install started from a home whose previous install failed midway through the Node download (see Evidence → What was not tested).

Current review state

  • Next action: Review; the companion-driven fresh install and existing-home reinstall captures requested earlier are now attached.
  • What is still waiting on author, maintainer, CI, or external proof? External proof: the same flow on a desktop host with the real AppImage mounted.
  • Which bot or reviewer comments were addressed? ClawSweeper review: real behavior proof was added for the patched companion's installer subprocess (previous revision only had a host-tool probe and a unit test), the companion is now driven through complete installs — fresh and over an existing ~/.openclaw — with the installed CLI verified, the environment-risk answer reports the environment behavior change, and the remaining gaps are stated explicitly.

🤖 AI Participation Disclosure

🤖 AI-assisted: This PR was developed with AI assistance (opencode + auto_fix_bot).

Development Process

  1. Problem Reproduction (Human-led)

    • Human verified the issue against the real AppImage and a Debian Trixie-equivalent host-library
      harness, and collected the evidence set
    • AI analyzed the reproduction and documented the diagnosis
  2. Solution Generation (AI-led, Human-decided)

    • AI analyzed the codebase and issue context and produced solution options with pros/cons
    • Human reviewed the options and selected the approach (remove LD_LIBRARY_PATH at the spawn boundary)
  3. Implementation (AI-led)

    • AI implemented the selected fix and added the covering unit test
  4. Validation (Human-led)

    • Human re-ran the before/after library-boundary comparison and collected post-fix evidence
    • AI built the companion and ran the headless first-run A/B proof described above
    • AI drove the patched companion through full installs to completion — fresh, and again over the
      existing ~/.openclaw — and verified the installed CLI in both

Role Breakdown

Human contributions:

  • Verified reproduction with the real AppImage and collected the evidence set
  • Selected the fix approach from the generated options
  • Ran the after-fix verification and collected the evidence

AI contributions:

  • 🤖 Analyzed the issue and codebase
  • 🤖 Generated solution options with pros/cons
  • 🤖 Implemented the fix and the unit test
  • 🤖 Built the companion and captured the patched-vs-unpatched subprocess proof
  • 🤖 Drove the patched companion through complete installs — fresh and over an existing ~/.openclaw — and verified the installed CLI
  • 🤖 Ran automated checks

Rollback Plan

Risk Level: Low

Rollback command:

git revert HEAD

Observable failure symptoms:

  • Installer child unexpectedly requires the AppImage library path (bundled-tool resolution breaks)
  • Rust test or Linux App workflow failure

Appendix: Evidence Directories

  • Reproduction evidence: /media/vdb/AutoDigit/workspace/logs/reproduction/issue-146088-evidence
  • Post-fix evidence: /media/vdb/AutoDigit/workspace/logs/real_behavior/issue-146088-evidence
  • Companion A/B proof: /media/vdb/AutoDigit/workspace/logs/real_behavior/issue-146088-evidence/harness
  • Solution analysis: /media/vdb/AutoDigit/workspace/logs/opencode/issue-146088-solutions.md

Closes #146088.

The AppImage runtime exports its bundled usr/lib (Ubuntu 22.04, OpenSSL
3.0) through LD_LIBRARY_PATH. The bundled installer drives host tools
(curl, wget, tar, git, and the downloaded Node), so a newer host libcurl
loaded the older bundled libssl and aborted with "OPENSSL_3.2.0 not
found" during first-run setup on Debian Trixie.

Remove the inherited LD_LIBRARY_PATH at the installer subprocess
boundary so host tools resolve host libraries while the app keeps its
bundled runtime. Add a unit test asserting the installer child never
inherits the AppImage library path.

Fixes openclaw#146088
…Image does not ship with the correct versions of libs needed to run
@xydigitLybnnnn
xydigitLybnnnn requested a review from a team as a code owner September 14, 2026 10:18
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Sep 14, 2026
@openclaw-barnacle openclaw-barnacle Bot added triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. size: XS labels Sep 14, 2026
Merge upstream/main (619 commits) so the AppImage installer fix builds
against the latest tree. Also fix two checks that failed on the PR's
CI merge run:

- Drop the non-portable `@pnpm/exe` entry that a local pnpm 12 rewrote
  into pnpm-lock.yaml's packageManagerDependencies. The environment
  lock must stay portable across platforms: pnpm 12 resolves platform
  executables through `pnpm`'s optionalDependencies, and committing a
  host-resolved `@pnpm/exe` breaks test/package-manager-config.test.ts
  ("keeps pnpm 12 environment lock portable across platforms").

- Sync the ClawHub plugin fixture expectation in
  test/scripts/docker-build-helper.test.ts to main's
  `clawhub:@openclaw/plugin-e2e-fixture` (upstream openclaw#148074 renamed the
  fixture but left this assertion at the old kitchen-sink id, so the
  sweep test failed on the merged tree).

Fixes openclaw#146088
@github-actions github-actions Bot removed the dependencies-changed PR changes dependency-related files label Sep 14, 2026
@clawsweeper clawsweeper Bot added P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 3:38 AM ET / 07:38 UTC (Revision 9).

ClawSweeper review

What this changes

The Linux companion removes the AppImage library search path from its installer subprocess so host tools load compatible libraries, and adds a regression test.

Merge readiness

✅ Ready for maintainer review

This remains a useful fix: current main and the latest release retain the faulty environment inheritance. The native before/after evidence supports the correction, and no blocking patch defect was found.

Priority: P0
Reviewed head: bc5ea8fbd0169fe8522a692a7fd46f31bf7aaab2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused correction with strong native before/after and repair evidence, with no blocking correctness or security finding.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Exact-head native Install runs exercise the changed subprocess owner with real Ubuntu22 libraries: installation succeeds after removing the child override, while the companion retains it; repeat repair and no-override controls also pass. Inspected screenshots corroborate failure and CLI installation, without claiming mounted-AppImage or full Gateway readiness.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): Exact-head native Install runs exercise the changed subprocess owner with real Ubuntu22 libraries: installation succeeds after removing the child override, while the companion retains it; repeat repair and no-override controls also pass. Inspected screenshots corroborate failure and CLI installation, without claiming mounted-AppImage or full Gateway readiness.
Evidence reviewed 8 items Verified introduced change: The pinned base-to-head diff matches the host's introduction evidence: only installer environment preparation and its subprocess regression test are added. The helper is called before spawning bash; arguments, output handling, waiting, and error propagation remain intact.
Still necessary on current main: The complete current-main installer launches bash without removing LD_LIBRARY_PATH. The canonical installer selects host curl or wget, so the reported mixed-library mechanism remains present.
Latest release source check: The v2026.9.4 installer source also retains unfiltered library-path inheritance; that release does not establish this correction as shipped.
Findings None None.
Security None None.

How this fits together

The Linux companion's Install action launches the bundled installer to provision Node and OpenClaw in the user's home directory. Installer progress returns to the app before CLI discovery and Gateway preparation.

flowchart TD
 A[Install action and release channel] --> B[Linux companion]
 B --> C[Remove child library override]
 C --> D[Bundled installer]
 D --> E[Host download tools]
 E --> F[Managed Node and OpenClaw]
 D --> G[Progress or failure in app]
 F --> H[CLI discovery and Gateway preparation]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Other +34. Total +34 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 34 0 +34
Total 1 34 0 +34

Review metrics

None.

Technical review

Best possible solution:

Keep library isolation at the installer spawn boundary so the existing Install and Retry actions recover without terminal environment edits.

Do we have a high-confidence way to reproduce the issue?

Yes: current-main source preserves the inherited library path into host curl, and supplied native baseline evidence reproduces the OpenSSL failure through the Install action; this review did not execute current main.

Is this the best way to solve the issue?

Yes: removing the override from the installer child repairs the demonstrated boundary while preserving the app runtime, with native fresh-install, repair, and control evidence supporting compatibility.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 7dcdb14e8435.

Labels

Label justifications:

  • P0: The linked official AppImage failure blocks first-run installation, and retrying in the app repeats the same library error without a working in-product recovery.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): Exact-head native Install runs exercise the changed subprocess owner with real Ubuntu22 libraries: installation succeeds after removing the child override, while the companion retains it; repeat repair and no-override controls also pass. Inspected screenshots corroborate failure and CLI installation, without claiming mounted-AppImage or full Gateway readiness.
  • proof: sufficient: Contributor real behavior proof is sufficient. Exact-head native Install runs exercise the changed subprocess owner with real Ubuntu22 libraries: installation succeeds after removing the child override, while the companion retains it; repeat repair and no-override controls also pass. Inspected screenshots corroborate failure and CLI installation, without claiming mounted-AppImage or full Gateway readiness.

Evidence

What I checked:

  • Verified introduced change: The pinned base-to-head diff matches the host's introduction evidence: only installer environment preparation and its subprocess regression test are added. The helper is called before spawning bash; arguments, output handling, waiting, and error propagation remain intact. (apps/linux/src-tauri/src/installer.rs:66, bc5ea8fbd016)
  • Still necessary on current main: The complete current-main installer launches bash without removing LD_LIBRARY_PATH. The canonical installer selects host curl or wget, so the reported mixed-library mechanism remains present. (apps/linux/src-tauri/src/installer.rs:67, 7dcdb14e8435)
  • Latest release source check: The v2026.9.4 installer source also retains unfiltered library-path inheritance; that release does not establish this correction as shipped. (apps/linux/src-tauri/src/installer.rs:67, 3a9d69db306c)
  • Production entry point and host-tool boundary: The UI invokes install_cli; the native operation calls installer::install before discovery and Doctor. The canonical shell installer selects curl from PATH and executes it with existing HTTPS restrictions. The patch does not change download sources, permissions, persisted settings, or authorization. (apps/linux/src-tauri/src/main.rs:774, bc5ea8fbd016)
  • Native after-fix proof: The supplied member verification at fix: resolve issue #146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run #148174 (comment) records actual companion Install runs on this head: fresh install, repeat repair preserving Node and a user artifact, healthy CLI discovery, and a no-override control. Inspected downloaded before/after screenshots show the OpenSSL symbol failure and subsequent installed-CLI success log. The run used actual Ubuntu22 libraries with an AppImage-like environment, not a mounted AppImage; full Gateway readiness was explicitly excluded. Reported native validation passed 271 tests with 9 existing ignores. No target code was executed in this review. (apps/linux/src-tauri/src/installer.rs:78, bc5ea8fbd016)
  • Captured body identity and previous proof follow-up: The retrieved full body matched captured SHA-256 5df1c3a5840d9221d4323c7f2456c41a28c13a5c140fd18d2c915b31c3d6dbb8. Previously omitted ranges describe successful fresh and existing-home installations, subprocess environment observations, and explicit limitations. The prior review had no findings; the later native qualification supplies additional evidence without changing the patch. (bc5ea8fbd016)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)
  • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (8 earlier review cycles)
  • reviewed 2026-09-14T11:01:38.419Z sha 9c24467 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-14T11:36:08.132Z sha db6b234 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-14T13:35:09.742Z sha 59658f3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-14T14:25:32.656Z sha 59658f3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-14T16:14:11.945Z sha dc4b759 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-15T02:40:42.358Z sha d63f9e4 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-15T02:46:35.275Z sha d63f9e4 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-15T07:29:06.422Z sha bc5ea8f :: needs maintainer review before merge. :: none

Merge the latest upstream main (incl. openclaw#148129, which fixes the ClawHub
sweep expectation upstream; keep its configurable CLAWHUB_PLUGIN_SPEC
assertion over the PR's own hard-coded fixture id). Restores a clean
mergeable state against the current base.

Fixes openclaw#146088
@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Sep 14, 2026
@clawsweeper clawsweeper Bot removed the proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. label Sep 14, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Sep 14, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 14, 2026
The previous run failed in two places this PR cannot affect: a
src/wizard setup-recovery assertion that main has since fixed in
openclaw#148195, and the native inline-browser AT-SPI smoke step, which passes
on other branches. Empty commit to re-run checks against the current base.
@xydigitLybnnnn

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Real behavior proof has been extended in the PR body since the last review: the patched companion now drives complete installs from its own UI, and the same home is installed into twice — fresh, then again over the existing ~/.openclaw — with the installer child environment, the installer exit and the installed CLI (OpenClaw 2026.9.4 (3a9d69d)) recorded in each run. Artifacts are listed under Evidence.

@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 15, 2026
@fuller-stack-dev fuller-stack-dev self-assigned this Sep 15, 2026
@fuller-stack-dev

fuller-stack-dev commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Fresh native qualification — exact integrated head

Verified bc5ea8fbd0169fe8522a692a7fd46f31bf7aaab2 (incoming contributor ancestry preserved), against unchanged main baseline d74277a7c3cc638cebdacb14331dcc9df88aa9a8.

Confirmed failure: the actual companion Install action launches host curl with the AppImage-like Ubuntu22 library directory, producing OPENSSL_3.2.0 not found. Confirmed fix: the installer child and observed descendants have no LD_LIBRARY_PATH override; the companion retains its original library path. Managed CLI installation completes and openclaw --version succeeds.

Real companion scenario Result
Fresh install with Ubuntu22 app libraries Pass; 40 observed installer processes, all without library override
Repeat/repair after removing only task-owned CLI entrypoints Pass; 28 observations; existing Node hash and named user artifact preserved
Healthy installed-CLI discovery Pass; no automatic installer invocation
No-library-override control Pass; 39 observations; CLI succeeds

cargo +stable fmt --check, cargo +stable test --locked --all-targets and cargo +stable build --locked passed: 271 tests passed, 9 existing ignores, 0 failures. Independent exact-head source review found no blockers. Queue/mutex, discovery, channels, process waiting and error propagation are unchanged.

Before

Actual baseline installer failure:

Before: native companion reports host curl OpenSSL ABI mismatch

After

Actual installed-CLI success log. The companion is still preparing; this is not a full Gateway-readiness claim.

After: native companion install log confirms OpenClaw CLI installed

Evidence and limits

  • Fresh owned secretless AWS lease cbx_aeb229ab96e0, no IAM profile/Tailscale/hydration or operator state. Remote run IDs: red run_a90bdc3f0f77; green run_ae182cbee23f; adjacent run_426da2caf8b1.
  • Exact commands, run receipts and limitations · fresh raw result · repair raw result · negative control · baseline raw UI.
  • The red UI failure is confirmed, but the red harness itself remains exit 1: its 30ms process observer missed the short-lived failing child. That gap is not relabeled as a passing harness.
  • This runs the unchanged native Linux binary with actual Ubuntu22 libraries, not a mounted packaged AppImage. The isolated-home service guard intentionally blocks Gateway service management.
  • One additional screenshot-only recovery (run_d1299a93a575) dismissed a late update notice obscuring the earlier capture; no baseline rebuild, candidate rebuild, or extra lease.
  • Images and raw artifacts use the approved artifact store; signed links expire September 22. Original bytes and hashes are retained. GitHub attachment upload returned 201 but its public URLs returned 404, so the verified artifact fallback is embedded here.
  • Exact-head CI passed; native preparation passed without changing the head. Merged as db08d8a79ec868543776aaefeb4ea0d30447bc5a (native completion receipt); verified on canonical main.

Credit: @xydigitLybnnnn authored the retained one-file correction.

@fuller-stack-dev
fuller-stack-dev merged commit db08d8a into openclaw:main Sep 15, 2026
158 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 15, 2026
* commit '0945dabbe487213e95e84a72ad1aae3659e0e000': (115 commits)
  fix: omit automation service aliases from squash coauthors (#148883)
  test: restore services typecheck shard headroom (#148885)
  perf(trajectory): avoid native probes for truncation records (#148870)
  improve(gateway): load cron only when reload requests it (#143500)
  fix: resolve issue #146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run (#148174)
  refactor(theme): share nonvirtual ANSI color lookup (#148717)
  perf(gateway): scope exact session row topology reads (#148836)
  improve(memory): reduce vector replacement overhead (#148201)
  fix(i18n): keep HTTP headers out of native translations (#147119)
  refactor(plugins): share source-root display formatting (#148646)
  fix(cron): reject blank script paths before mutations (#148787)
  refactor(config): share audit positional scanning (#148643)
  fix(test): restore infrastructure typecheck shard headroom (#148861)
  fix(release): harden package validation fallbacks (#148729)
  refactor(config): share leaf and descendant unset pruning (#148216)
  test: reuse prepared runtime for pristine preflight (#148858)
  fix(ui): settle global model drafts across agent switches (#148843)
  fix(queue): avoid repeated scans when cancelling backlogs (#148754)
  fix(logging): orphaned \\\\?\\ path markers corrupt redacted Windows diagnostics (#147542)
  refactor(hooks): share optional reply metadata projection (#148641)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 16, 2026
…Image does not ship with the correct versions of libs needed to run (openclaw#148174)

* fix(linux): keep AppImage installer on host libraries

The AppImage runtime exports its bundled usr/lib (Ubuntu 22.04, OpenSSL
3.0) through LD_LIBRARY_PATH. The bundled installer drives host tools
(curl, wget, tar, git, and the downloaded Node), so a newer host libcurl
loaded the older bundled libssl and aborted with "OPENSSL_3.2.0 not
found" during first-run setup on Debian Trixie.

Remove the inherited LD_LIBRARY_PATH at the installer subprocess
boundary so host tools resolve host libraries while the app keeps its
bundled runtime. Add a unit test asserting the installer child never
inherits the AppImage library path.

Fixes openclaw#146088

* fix: resolve issue openclaw#146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run

* chore(ci): retrigger checks after infra flake

* chore(ci): retrigger CI run

* chore(ci): retrigger CI after unrelated native/node flakes

The previous run failed in two places this PR cannot affect: a
src/wizard setup-recovery assertion that main has since fixed in
openclaw#148195, and the native inline-browser AT-SPI smoke step, which passes
on other branches. Empty commit to re-run checks against the current base.
steipete added a commit that referenced this pull request Oct 26, 2026
…and loads the system OpenSSL (#183661)

* fix(linux): AppImage SSH tunnel fails when the SSH config's ProxyCommand loads the system OpenSSL

AppRun puts the AppImage's usr/lib first in LD_LIBRARY_PATH, and every
program the Linux companion starts inherits it. The SSH tunnel passed it
on to the user's ProxyCommand, so a ProxyCommand that loads the system
OpenSSL aborted with "OPENSSL_3.3.0 not found" and the saved remote
Gateway could not connect.

Give the companion one owner for the environment of the host programs its
own code starts: host_process::use_host_libraries removes LD_LIBRARY_PATH
inside the AppImage, where APPDIR is set, including entries the user set,
and changes nothing outside it. The installer, every OpenClawCli command
and the SSH tunnel call it, and every program they start inherits that
environment. It replaces the installer's own removal from #148174 and the
duplicate in the gateway install.

* fix(linux): keep AppImage libraries out of SSH commands

Use the CLI host-command constructor for the installer and SSH. Preserve the separate bundled-runtime environment cleanup.

Co-authored-by: Demos Ra <[email protected]>

---------

Co-authored-by: Demos Ra <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 26, 2026
…and loads the system OpenSSL (openclaw#183661)

* fix(linux): AppImage SSH tunnel fails when the SSH config's ProxyCommand loads the system OpenSSL

AppRun puts the AppImage's usr/lib first in LD_LIBRARY_PATH, and every
program the Linux companion starts inherits it. The SSH tunnel passed it
on to the user's ProxyCommand, so a ProxyCommand that loads the system
OpenSSL aborted with "OPENSSL_3.3.0 not found" and the saved remote
Gateway could not connect.

Give the companion one owner for the environment of the host programs its
own code starts: host_process::use_host_libraries removes LD_LIBRARY_PATH
inside the AppImage, where APPDIR is set, including entries the user set,
and changes nothing outside it. The installer, every OpenClawCli command
and the SSH tunnel call it, and every program they start inherits that
environment. It replaces the installer's own removal from openclaw#148174 and the
duplicate in the gateway install.

* fix(linux): keep AppImage libraries out of SSH commands

Use the CLI host-command constructor for the installer and SSH. Preserve the separate bundled-runtime environment cleanup.

Co-authored-by: Demos Ra <[email protected]>

---------

Co-authored-by: Demos Ra <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
RomneyDa added a commit that referenced this pull request Oct 28, 2026
…and loads the system OpenSSL (#183661)

* fix(linux): AppImage SSH tunnel fails when the SSH config's ProxyCommand loads the system OpenSSL

AppRun puts the AppImage's usr/lib first in LD_LIBRARY_PATH, and every
program the Linux companion starts inherits it. The SSH tunnel passed it
on to the user's ProxyCommand, so a ProxyCommand that loads the system
OpenSSL aborted with "OPENSSL_3.3.0 not found" and the saved remote
Gateway could not connect.

Give the companion one owner for the environment of the host programs its
own code starts: host_process::use_host_libraries removes LD_LIBRARY_PATH
inside the AppImage, where APPDIR is set, including entries the user set,
and changes nothing outside it. The installer, every OpenClawCli command
and the SSH tunnel call it, and every program they start inherits that
environment. It replaces the installer's own removal from #148174 and the
duplicate in the gateway install.

* fix(linux): keep AppImage libraries out of SSH commands

Use the CLI host-command constructor for the installer and SSH. Preserve the separate bundled-runtime environment cleanup.

Co-authored-by: Demos Ra <[email protected]>

---------

Co-authored-by: Demos Ra <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>

(cherry picked from commit c00352f)

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 39119637c0265e71e909ab90d893076248cc44a3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: linux P0 Emergency: data loss, security bypass, crash loop, or unusable core runtime. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run

2 participants