Public bug reported:

## Description

At session start, `gnome-software` is launched by `gnome-session-service` as a
transient scope and acquires `org.gnome.Software`. The packaged systemd user
unit then tries to start a second `gnome-software --gapplication-service`
instance, cannot acquire the bus name, exits with status 1, and restarts several
times before systemd gives up.

```text
gnome-software[...]: Unable to acquire bus name 'org.gnome.Software'
gnome-software.service: Main process exited, code=exited, status=1/FAILURE
gnome-software.service: Scheduled restart job, restart counter is at 3.
gnome-software.service: Start request repeated too quickly.
```

The working instance is visible as a transient scope:

```text
app-gnome-org.gnome.Software-<pid>.scope
  /usr/bin/gnome-software --gapplication-service
```

## Classification

- Owner rule: packaged systemd unit and XDG autostart are both owned by
  `gnome-software`.
- Component: `gnome-software`.
- Failure is a duplicate launch-path race, not a crash in the running
  application.

## Reproduction

1. Log into a fresh GNOME Wayland session on Ubuntu 26.04.1.
2. Check:
   ```bash
   systemctl --user status gnome-software.service
   journalctl --user -u gnome-software.service -b
   ```
3. Observe `Unable to acquire bus name 'org.gnome.Software'` and the restart
   loop.

Reproduction viability: **Medium** — depends on session startup ordering, but
observed at login in this environment.

## Evidence

- `/usr/lib/systemd/user/gnome-software.service` — package-owned user unit.
- `/etc/xdg/autostart/gnome-software-service.desktop` — package-owned autostart.
- `systemctl --user status gnome-software.service`.
- `journalctl --user -u gnome-software.service -b`.
- `busctl --user status org.gnome.Software` shows the transient-scope process
  owns the bus name.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gnome-software 50.0-1
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 19 17:26:49 2026
InstallationDate: Installed on 2023-04-30 (1299 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
InstalledPlugins:
 gnome-software-plugin-flatpak 50.0-1
 gnome-software-plugin-snap    50.0-1
SourcePackage: gnome-software
UpgradeStatus: Upgraded to resolute on 2026-11-19 (0 days ago)

** Affects: gnome-software (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

** Attachment added: "002-gnome-software-bus-name-race.md"
   
https://bugs.launchpad.net/bugs/2175072/+attachment/6019483/+files/002-gnome-software-bus-name-race.md

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175072

Title:
  gnome-software: user service races with autostart and fails on
  org.gnome.Software

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/2175072/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to