Skip to content

bug: OpenShell snap canary fails on Ubuntu 26.04 with multiple user managers #5924

Backlog

Description

@TaylorMutch

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

  1. Use a fresh GitHub-hosted ubuntu-26.04 runner with system Docker and snapd.

  2. 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
  3. 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; systemd 259.9-0ubuntu0.1.
  • Ubuntu 24.04 comparison: snapd reports 2.78+ubuntu24.04; systemd 255.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

  1. TaylorMutch commented on Nov 24, 2026

    @TaylorMutch
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions