Repository navigation
Description
User Story
I rely on the OpenShell Release Canary to validate published installation artifacts. I encountered the Ubuntu snap canary failing before installation completed and need to restore reliable release smoke coverage while investigating Ubuntu 26.04 compatibility.
Problem Statement
The OpenShell snap fails to install on the GitHub-hosted Ubuntu 26.04 runner when a second systemd user manager is running. The same snap revision installs on Ubuntu 26.04 without the extra user manager, and on Ubuntu 24.04 in both configurations.
@olivercalder, could you investigate the snapd/systemd user-bus failure? Your earlier snap user-service work in #4615 looks relevant.
Impact / Why This Matters
The positive snap canary fails before gateway, prover, and sandbox checks run. Pinning this lane to Ubuntu 24.04 preserves its multi-user coverage while we investigate, but leaves the Ubuntu 26.04 failure unresolved. Whether this also affects ordinary Ubuntu 26.04 hosts remains to be established.
Acceptance Criteria
- Identify why OpenShell snap installation fails with a second active user manager on Ubuntu 26.04, including the relevant snapd/systemd behavior.
- Determine whether the failure affects ordinary Ubuntu 26.04 installations or is specific to the CI runner environment.
- Implement or document the appropriate fix or upstream resolution, and demonstrate successful installation with both user managers active on Ubuntu 26.04.
- Validate the full snap canary on Ubuntu 26.04 before restoring that runner.
Reproduction Steps
-
Use a fresh GitHub-hosted
ubuntu-26.04runner with system Docker and snapd. -
Start the runner user's systemd user manager and create an additional user manager, as the release canary does:
sudo useradd --create-home openshell-canary-other other_uid=$(id -u openshell-canary-other) sudo loginctl enable-linger openshell-canary-other sudo systemctl start "user@${other_uid}.service" sudo snap install openshell --revision=2730
-
Observe snap installation fail during service registration.
The four-job diagnostic is in draft PR #5923 and ran in 45292072355:
| Runner | Extra user manager absent | Extra user manager active |
|---|---|---|
| Ubuntu 24.04 | Pass | Pass |
| Ubuntu 26.04 | Pass | Fail |
All four jobs installed the same amd64 snap revision, 2730. This isolates snap installation and does not assert gateway or sandbox health.
Environment
- OpenShell snap:
0.1.10-dev.93-gee8457d89, revision 2730, amd64. - Ubuntu 26.04: snapd reports
2.78+ubuntu26.04; systemd259.9-0ubuntu0.1. - Ubuntu 24.04 comparison: snapd reports
2.78+ubuntu24.04; systemd255.4-1ubuntu8.18. - Original failing canary: 45270869616.
- The snap lane uses
ubuntu-latest, with no explicit change to 26.04. October 21's passing canary used 24.04; October 29's failing canary used 26.04 and showed this same error.
Logs
Make snap "openshell" (2730) available to the system
cannot reload daemon: systemctl command [--user daemon-reload] failed with exit status 1
Failed to connect to user scope bus via local transport: Operation not permitted
The matrix identifies an OS/multi-user interaction; it does not yet establish which component is responsible.
Activity
TaylorMutch commentedon Nov 24, 2026
FYI @olivercalder