After I did an upgrade from Ubuntu 20.04 to Ubuntu 22.04 I’ve noticed that my chromium-browser doesn’t start anymore. I’ve stared investigation and debugging and I narrowed it down that all snap application has just stopped working. I tried to remove all, but now I cannot even install chromium anymore, cause of the hooks invoked during the snap installation. The version reported to me is
$ snap --version
snap 2.56.2+22.04ubuntu1
snapd 2.56.2+22.04ubuntu1
series 16
ubuntu 22.04
kernel 5.15.0-46-generic
The only suspicious log from dmesg is:
[Mon Aug 22 15:57:30 2022] audit: type=1400 audit(1661198247.850:679): apparmor="DENIED" operation="capable" profile="/usr/lib/snapd/snap-confine" pid=1244425 comm="snap-confine" capability=4 capname="fsetid"
But even if I add that capability in the snap-confine profile and the error is not shown anymore the problem persists (I’ve found on the forums that this error can be ignored anyway).
Please, help cause I don’t have any idea what to debug or try anymore.
I’m currently testing with hello-work with debug options:
$ SNAPD_DEBUG=1 snap run hello-world
2022/08/22 15:57:27.537505 tool_linux.go:93: DEBUG: snap (at "/snap/snapd/current") is older ("2.56.2") than distribution package ("2.56.2+22.04ubuntu1")
2022/08/22 15:57:27.545386 cmd_run.go:1035: DEBUG: executing snap-confine from /usr/lib/snapd/snap-confine
2022/08/22 15:57:27.546849 cmd_run.go:438: DEBUG: SELinux not enabled
2022/08/22 15:57:27.546908 tracking.go:46: DEBUG: creating transient scope snap.hello-world.hello-world
2022/08/22 15:57:27.547952 tracking.go:186: DEBUG: using session bus
2022/08/22 15:57:27.550386 tracking.go:319: DEBUG: create transient scope job: /org/freedesktop/systemd1/job/20480
2022/08/22 15:57:27.552285 tracking.go:419: DEBUG: job result is "done"
2022/08/22 15:57:27.552299 tracking.go:426: DEBUG: transient scope snap.hello-world.hello-world.3b6af5b2-24e5-4660-93e8-32ee6785caf9.scope created
2022/08/22 15:57:27.662111 tracking.go:146: DEBUG: waited 114.046751ms for tracking
2022/08/22 15:57:27.662141 tracking.go:148: DEBUG: systemd could not associate process 1244425 with transient scope snap.hello-world.hello-world.3b6af5b2-24e5-4660-93e8-32ee6785caf9.scope
2022/08/22 15:57:27.662154 cmd_run.go:1222: DEBUG: snapd cannot track the started application
2022/08/22 15:57:27.662167 cmd_run.go:1223: DEBUG: snap refreshes will not be postponed by this process
DEBUG: umask reset, old umask was 02
DEBUG: security tag: snap.hello-world.hello-world
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 1000, sgid: 1000
DEBUG: apparmor label on snap-confine is: /usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: releasing lock 5
DEBUG: opened snap-update-ns executable as file descriptor 5
DEBUG: opened snap-discard-ns executable as file descriptor 6
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/hello-world.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope hello-world, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: hello-world
DEBUG: setting up device cgroup
DEBUG: libudev has current tags support
DEBUG: no devices tagged with snap_hello-world_hello-world, skipping device cgroup setup
DEBUG: forked support process 1244445
DEBUG: unsharing the mount namespace (per-snap)
DEBUG: changing apparmor hat to mount-namespace-capture-helper
DEBUG: helper process waiting for command
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: scratch directory for constructing namespace: /tmp/snap.rootfs_dcRMZa
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening file describing nvidia driver version
DEBUG: looking for nvidia canary file /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: nvidia library detected at path /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: mounting tmpfs at /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libEGL_nvidia.so.0 -> libEGL_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libEGL_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv1_CM_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv2_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX_nvidia.so.0 -> libGLX_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-cfg.so -> libnvidia-cfg.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-cfg.so.1 -> libnvidia-cfg.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-cfg.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-compiler.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-eglcore.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-egl-wayland.so.1 -> libnvidia-egl-wayland.so.1.1.9
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-egl-wayland.so.1.1.9 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-egl-wayland.so.1.1.9
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-encode.so -> libnvidia-encode.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-encode.so.1 -> libnvidia-encode.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-encode.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-encode.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-fbc.so -> libnvidia-fbc.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-fbc.so.1 -> libnvidia-fbc.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-fbc.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-glcore.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-glsi.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-glvkspirv.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ml.so -> libnvidia-ml.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ml.so.1 -> libnvidia-ml.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ml.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-ml.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-opencl.so.1 -> libnvidia-opencl.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-opencl.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-opticalflow.so.1 -> libnvidia-opticalflow.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-opticalflow.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-ptxjitcompiler.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-rtcore.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvidia-tls.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvoptix.so.1 -> libnvoptix.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvoptix.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvoptix.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/vdpau/libvdpau_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libcuda.so -> libcuda.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libcuda.so.1 -> libcuda.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libcuda.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libcuda.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvcuvid.so -> libnvcuvid.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvcuvid.so.1 -> libnvcuvid.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libnvcuvid.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libnvcuvid.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libEGL.so -> libEGL.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libEGL.so.1 -> libEGL.so.1.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libEGL.so.1.1.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGL.so -> libGL.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGL.so.1 -> libGL.so.1.7.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGL.so.1.7.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libOpenGL.so.0 -> libOpenGL.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libOpenGL.so.0.0.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libOpenGL.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv2.so.2 -> libGLESv2.so.2.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLESv2.so.2.1.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLESv2.so.2.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX_indirect.so.0 -> libGLX_mesa.so.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX.so -> libGLX.so.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX.so.0 -> libGLX.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLX.so.0.0.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLdispatch.so.0.0.0 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLU.so -> libGLU.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLU.so.1 -> libGLU.so.1.3.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl/libGLU.so.1.3.1 -> /var/lib/snapd/hostfs/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1
DEBUG: remounting tmpfs as read-only /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl
DEBUG: opening file describing nvidia driver version
DEBUG: looking for nvidia canary file /usr/lib/i386-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: nvidia library detected at path /usr/lib/i386-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: mounting tmpfs at /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libEGL_nvidia.so.0 -> libEGL_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libEGL_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libEGL_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLESv1_CM_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGLESv1_CM_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLESv2_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGLESv2_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLX_nvidia.so.0 -> libGLX_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLX_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGLX_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-compiler.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-compiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-eglcore.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-eglcore.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-encode.so -> libnvidia-encode.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-encode.so.1 -> libnvidia-encode.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-encode.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-encode.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-fbc.so -> libnvidia-fbc.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-fbc.so.1 -> libnvidia-fbc.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-fbc.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-fbc.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-glcore.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-glcore.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-glsi.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-glsi.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-glvkspirv.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-glvkspirv.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ml.so -> libnvidia-ml.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ml.so.1 -> libnvidia-ml.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ml.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-ml.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-opencl.so.1 -> libnvidia-opencl.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-opencl.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-opencl.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-opticalflow.so.1 -> libnvidia-opticalflow.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-opticalflow.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-opticalflow.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-ptxjitcompiler.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvidia-tls.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvidia-tls.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.515.65.01
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/vdpau/libvdpau_nvidia.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/vdpau/libvdpau_nvidia.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libcuda.so -> libcuda.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libcuda.so.1 -> libcuda.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libcuda.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libcuda.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvcuvid.so -> libnvcuvid.so.1
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvcuvid.so.1 -> libnvcuvid.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libnvcuvid.so.515.65.01 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libnvcuvid.so.515.65.01
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libEGL.so.1 -> libEGL.so.1.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libEGL.so.1.1.0 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libEGL.so.1.1.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGL.so.1 -> libGL.so.1.7.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGL.so.1.7.0 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGL.so.1.7.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLX_indirect.so.0 -> libGLX_mesa.so.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLX.so.0 -> libGLX.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLX.so.0.0.0 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGLX.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLdispatch.so.0 -> libGLdispatch.so.0.0.0
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32/libGLdispatch.so.0.0.0 -> /var/lib/snapd/hostfs/usr/lib/i386-linux-gnu/libGLdispatch.so.0.0.0
DEBUG: remounting tmpfs as read-only /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/gl32
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: mounting tmpfs at /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/vulkan
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json -> /var/lib/snapd/hostfs/usr/share/vulkan/icd.d/nvidia_icd.json
DEBUG: remounting tmpfs as read-only /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/vulkan
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: mounting tmpfs at /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/glvnd
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: creating symbolic link /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/glvnd/egl_vendor.d/10_nvidia.json -> /var/lib/snapd/hostfs/usr/share/glvnd/egl_vendor.d/10_nvidia.json
DEBUG: remounting tmpfs as read-only /tmp/snap.rootfs_dcRMZa/var/lib/snapd/lib/glvnd
DEBUG: performing operation: pivot_root /tmp/snap.rootfs_dcRMZa /tmp/snap.rootfs_dcRMZa//var/lib/snapd/hostfs
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: rmdir /var/lib/snapd/hostfs//tmp/snap.rootfs_dcRMZa
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: performing operation: (disabled) use debug build to see details
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: calling snapd tool snap-update-ns
DEBUG: waiting for snapd tool snap-update-ns to terminate
DEBUG: requesting changing of apparmor profile on next exec to snap-update-ns.hello-world
common.go:60: DEBUG: locking mount namespace of snap "hello-world"
common.go:81: DEBUG: freezing processes of snap "hello-world"