internal error with any command using ubuntu-core snap on classic

Bug #1689332 reported by Federico Gimenez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Undecided
Zygmunt Krynicki

Bug Description

On an up to date xenial, installing the ubuntu-core snap which ships 2.25 makes all the snap commands fail with "internal error, please report: running "<invoked-command>" failed: no such file or directory":

ubuntu@autopkgtest:~$ snap list
Name Version Rev Developer Notes
ubuntu-core 16-2 2109 canonical -
ubuntu@autopkgtest:~$ snap changes
ID Status Spawn Ready Summary
1 Done 2017-05-08T15:27:08Z 2017-05-08T15:27:08Z Initialize system state
2 Done 2017-05-08T15:27:23Z 2017-05-08T15:28:29Z Install "ubuntu-core" snap from "beta" channel

ubuntu@autopkgtest:~$ snap version
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.4.0-67-generic
ubuntu@autopkgtest:~$ sudo snap install test-snapd-tools
test-snapd-tools 1.0 from 'canonical' installed
ubuntu@autopkgtest:~$ /snap/bin/test-snapd-tools.echo hello!
internal error, please report: running "test-snapd-tools.echo" failed: no such file or directory

summary: - internal error on any command due to missing snap-confine
+ internal error with any command using ubuntu-core snap on classic
Zygmunt Krynicki (zyga)
affects: snappy → snapd
Zygmunt Krynicki (zyga)
Changed in snapd:
assignee: nobody → Zygmunt Krynicki (zyga)
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This is caused by current snapd code hardcoding "core" as the location of the snap that contains snap-confine and other internal tools.

Revision history for this message
Michael Vogt (mvo) wrote :

I think we should simply not allow installing ubuntu-core anymore: https://github.com/snapcore/snapd/pull/3289

People with existing installs with auto-transition on refresh.

Changed in snapd:
status: New → In Progress
Michael Vogt (mvo)
Changed in snapd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.