Cant start any snap application on Xenial

Bug #1639284 reported by Björn Michaelsen
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapd
Fix Released
High
Zygmunt Krynicki

Bug Description

On my Xenial machine I dont succeed to start any snap application.

steps to reproduce:
1/ sudo snap install hello-world
2/ /snap/bin/hello-world

expected behaviour:
prints "hello world"

actual behaviour:
cannot bind mount nvidia driver /usr/lib/nvidia-340 -> /tmp/snap.rootfs_AmrBLJ/var/lib/snapd/lib/gl. errmsg: No such file or directory

The same happens when I try to start the LibreOffice snap, so I expect it to be a general problem.

Before this happened, I aborted an libreoffice snap download -- which apparently left snapd in a broken state. Thus I ran:

 https://github.com/zyga/devtools/blob/master/reset-state

Which on first look seemed to have fixed things: I could again install snaps. However it (still? or because of 'reset-state'/something breaking by the aborted download) does not run any snap app.
Versions:
 snapd 2.16ubuntu3
 uname -a
 Linux XXX 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

description: updated
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Did you install or remove your nvidia driver lately?

Changed in snappy:
importance: Undecided → High
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Dear reporter, can you please try "snap-confine" 1.0.44 from xenial-proposed?

Changed in snappy:
status: New → Incomplete
assignee: nobody → Zygmunt Krynicki (zyga)
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

can you please tell me the output of "snap list"?

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I'm boarding a plane now but I suspect that you don't have a working core snap. I'll work with you on figuring out the problem next week.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Zygmunt,

I have the exact same problem here:

    $ hello-world.env
    cannot bind mount nvidia driver /usr/lib/nvidia-340 -> /tmp/snap.rootfs_UfGDpF/var/lib/snapd/lib/gl. errmsg: No such file or directory

snap-confine 1.0.44-0ubuntu1~16.04 from proposed changes nothing. The output of snap list follows:

    $ snap list
    Name Version Rev Developer Notes
    hello-world 6.3 27 canonical -
    ubuntu-core 16.04.1 1111 canonical -

Changed in snappy:
status: Incomplete → Confirmed
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Note that the 1111 was the edge channel for ubuntu core. Same problem on stable, where snap list shows this:

    $ snap list
    Name Version Rev Developer Notes
    hello-world 6.3 27 canonical -
    ubuntu-core 16.04.1 423 canonical -

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Note that I also used the reset-state script, after which this happened. It worked before that.

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

Alright, I just purged snapd and snap-confine and reinstalled. Things are working again.

Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

FWIW, snaps work again for me too on xenial. Cant pinpoint when that happened.

Changed in snappy:
status: Confirmed → Incomplete
affects: snappy → snapd
Zygmunt Krynicki (zyga)
Changed in snapd:
status: Incomplete → 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.