This is what was happening at snapd level (adding more debug):
tool_linux.go:93: DEBUG: snap (at "/snap/core/current") is older ("2.58.3") than distribution package ("2.58.3+23.04ubuntu1") autostart.go:261: DEBUG: autostart desktop file ubuntu-software-service.desktop autostart.go:269: DEBUG: snap name: "snap-store" autostart.go:161: DEBUG: Autostart desktop file is ubuntu-software-service.desktop, matching ubuntu-software-service.desktop (snap-store . usr/bin/snap-store) autostart.go:179: DEBUG: exec line: snap-store.ubuntu-software --gapplication-service autostart.go:196: DEBUG: Command to launch is /snap/bin/snap-store --gapplication-service
While in one hacked version of snapd, where we do not break at the first desktop file and we've more debugging bits:
tool_linux.go:93: DEBUG: snap (at "/snap/core/current") is older ("2.58.3") than distribution package ("2.58.3+23.04ubuntu1") autostart.go:261: DEBUG: autostart desktop file ubuntu-software-service.desktop autostart.go:269: DEBUG: snap name: "snap-store" autostart.go:161: DEBUG: Autostart desktop file is ubuntu-software-service.desktop, matching ubuntu-software-service.desktop (snap-store . usr/bin/snap-store) autostart.go:161: DEBUG: Autostart desktop file is ubuntu-software-service.desktop, matching ubuntu-software-service.desktop (ubuntu-software . usr/bin/snap-store) autostart.go:161: DEBUG: Autostart desktop file is , matching ubuntu-software-service.desktop (ubuntu-software-local-file . usr/bin/snap-store) autostart.go:179: DEBUG: exec line: snap-store.ubuntu-software --gapplication-service autostart.go:196: DEBUG: Command to launch is /snap/bin/snap-store.ubuntu-software --gapplication-service
This is what was happening at snapd level (adding more debug):
tool_linux.go:93: DEBUG: snap (at "/snap/ core/current" ) is older ("2.58.3") than distribution package ("2.58. 3+23.04ubuntu1" ) software- service. desktop software- service. desktop, matching ubuntu- software- service. desktop (snap-store . usr/bin/snap-store) ubuntu- software --gapplication- service snap-store --gapplication- service
autostart.go:261: DEBUG: autostart desktop file ubuntu-
autostart.go:269: DEBUG: snap name: "snap-store"
autostart.go:161: DEBUG: Autostart desktop file is ubuntu-
autostart.go:179: DEBUG: exec line: snap-store.
autostart.go:196: DEBUG: Command to launch is /snap/bin/
While in one hacked version of snapd, where we do not break at the first desktop file and we've more debugging bits:
tool_linux.go:93: DEBUG: snap (at "/snap/ core/current" ) is older ("2.58.3") than distribution package ("2.58. 3+23.04ubuntu1" ) software- service. desktop software- service. desktop, matching ubuntu- software- service. desktop (snap-store . usr/bin/snap-store) software- service. desktop, matching ubuntu- software- service. desktop (ubuntu-software . usr/bin/snap-store) software- service. desktop (ubuntu- software- local-file . usr/bin/snap-store) ubuntu- software --gapplication- service snap-store. ubuntu- software --gapplication- service
autostart.go:261: DEBUG: autostart desktop file ubuntu-
autostart.go:269: DEBUG: snap name: "snap-store"
autostart.go:161: DEBUG: Autostart desktop file is ubuntu-
autostart.go:161: DEBUG: Autostart desktop file is ubuntu-
autostart.go:161: DEBUG: Autostart desktop file is , matching ubuntu-
autostart.go:179: DEBUG: exec line: snap-store.
autostart.go:196: DEBUG: Command to launch is /snap/bin/