After updating my ubuntu 18.04 with
sudo apt update && sudo apt upgrade I have problems with snaps, if I try to run them I got cannot create /sys/fs/bpf/snap directory: No such file or directory
if i run in debug with
SNAPD_DEBUG=1 snap run todoist
I get
2022/01/26 12:36:53.910244 tool_linux.go:204: DEBUG: restarting into “/snap/core/current/usr/bin/snap” 2022/01/26 12:36:53.929929 cmd_run.go:433: DEBUG: SELinux not enabled 2022/01/26 12:36:53.930654 tracking.go:46: DEBUG: creating transient scope snap.todoist.todoist 2022/01/26 12:36:53.931439 tracking.go:186: DEBUG: using session bus 2022/01/26 12:36:53.932269 tracking.go:319: DEBUG: create transient scope job: /org/freedeskto /systemd1/job/293 2022/01/26 12:36:53.932453 tracking.go:419: DEBUG: job result is “done” 2022/01/26 12:36:53.932462 tracking.go:426: DEBUG: transient scope snap.todoist.todoist.b346bb34-9805-4e14-9c76-d4ac701e8c90.scope created 2022/01/26 12:36:53.932718 tracking.go:146: DEBUG: waited 1.207513ms for tracking DEBUG: umask reset, old umask was 02 DEBUG: security tag: snap.todoist.todoist DEBUG: executable: /usr/lib/snapd/snap-exec DEBUG: confinement: non-classic DEBUG: base snap: core18 DEBUG: ruid: 1000, euid: 0, suid: 0 DEBUG: rgid: 1000, egid: 1000, sgid: 1000 DEBUG: apparmor label on snap-confine is: /snap/core/12603/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/todoist.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 todoist, uid 0) DEBUG: sanity timeout reset and disabled DEBUG: initializing mount namespace: todoist DEBUG: setting up device cgroup DEBUG: cannot find current tags symbol: /lib/x86_64-linux-gnu/libudev.so.1: undefined symbol: udev_device_has_current_tag DEBUG: no current tags support present DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes) cannot create /sys/fs/bpf/snap directory: No such file or directory
The output of
sudo journalctl --no-pager | tail -100
is
Jan 26 12:27:39 smith org.debian.apt[700]: 12:27:39 AptDaemon [INFO]: UpdateCache() was called Jan 26 12:27:39 smith AptDaemon.Trans[4651]: INFO: Queuing transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:39 smith org.debian.apt[700]: 12:27:39 AptDaemon.Trans [INFO]: Queuing transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:39 smith AptDaemon.Worker[4651]: INFO: Simulating trans: /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:39 smith org.debian.apt[700]: 12:27:39 AptDaemon.Worker [INFO]: Simulating trans: /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:39 smith AptDaemon.Worker[4651]: INFO: Processing transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:39 smith org.debian.apt[700]: 12:27:39 AptDaemon.Worker [INFO]: Processing transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:40 smith AptDaemon.Worker[4651]: INFO: Updating cache Jan 26 12:27:40 smith org.debian.apt[700]: 12:27:40 AptDaemon.Worker [INFO]: Updating cache Jan 26 12:27:44 smith AptDaemon.Worker[4651]: INFO: Finished transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:44 smith org.debian.apt[700]: 12:27:44 AptDaemon.Worker [INFO]: Finished transaction /org/debian/apt/transaction/6d7e0def5bd84ccdb25db785382fb635 Jan 26 12:27:48 smith gnome-software[2578]: Only 0 apps for recent list, hiding Jan 26 12:27:48 smith gnome-software[2578]: failed to call gs_plugin_add_updates on fwupd: ignoring OptiPlex 3040 TPM 1.2 [17767aff36e478e69d7b885646f23e0b939e6ab8] as not updatable Jan 26 12:27:48 smith gnome-software[2578]: tried overwriting io.snapcraft.spotify-pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7 key GnomeSoftware::FeatureTile-css from border-color: #000000; text-shadow: 0 1px 1px rgba(255,255,255,0.5); color: #000000; outline-offset: 0; outline-color: alpha(#ffffff, 0.75); outline-style: dashed; outline-offset: 2px; background: url(‘/home/abettati/.cache/gnome-software/cssresource/d41109772367d9176255aae48ada07072724beca-banner-icon_WaLCF17.png’) left center / auto 100% no-repeat, url(‘/home/abettati/.cache/gnome-software/cssresource/49fefcf8aa37528235d9e84184b84e8ffac44ea7-banner_dSwF9EF.png’) center / cover no-repeat;; to border-color: #000000; text-shadow: 0 1px 1px rgba(255,255,255,0.5); color: #000000; outline-offset: 0; outline-color: alpha(#ffffff, 0.75); outline-style: dashed; outline-offset: 2px; background: url(‘https://dashboard.snapcraft.io/site_media/appmedia/2017/12/banner-icon_WaLCF17.png’) left center / auto 100% no-repeat, url(‘https://dashboard.snapcraft.io/site_media/appmedia/2017/12/banner_dSwF9EF.png’) center / cover no-repeat;; Jan 26 12:27:49 smith PackageKit[1816]: resolve transaction /2418_adeedcbc from uid 1000 finished with success after 596ms Jan 26 12:27:49 smith PackageKit[1816]: search-file transaction /2419_daecbdac from uid 1000 finished with success after 587ms Jan 26 12:27:49 smith gnome-software[2578]: Failed to find one package for mplab.desktop, /usr/share/applications/mplab.desktop, [0] Jan 26 12:27:50 smith PackageKit[1816]: search-file transaction /2420_abaacbcd from uid 1000 finished with success after 567ms Jan 26 12:27:50 smith gnome-software[2578]: Failed to find one package for mplab_ipe.desktop, /usr/share/applications/mplab_ipe.desktop, [0] Jan 26 12:27:50 smith PackageKit[1816]: get-details transaction /2421_aceeebac from uid 1000 finished with success after 492ms Jan 26 12:27:57 smith polkitd(authority=local)[785]: Operator of unix-session:2 FAILED to authenticate to gain authorization for action com.ubuntu.release-upgrader.release-upgrade for unix-process:4639:80577 [/bin/sh -c /usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3] (owned by unix-user:abettati) Jan 26 12:27:57 smith pkexec[5413]: abettati: Error executing command as another user: Request dismissed [USER=root] [TTY=unknown] [CWD=/home/abettati] [COMMAND=/usr/bin/do-release-upgrade --frontend=DistUpgradeViewGtk3] Jan 26 12:27:57 smith update-manager.desktop[4639]: Error executing command as another user: Request dismissed Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Activating service name=‘org.gnome.Nautilus’ requested by ‘:1.21’ (uid=1000 pid=2113 comm=“/usr/bin/gnome-shell " label=“unconfined”) Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Activating service name=‘org.gnome.Boxes.SearchProvider’ requested by ‘:1.21’ (uid=1000 pid=2113 comm=”/usr/bin/gnome-shell " label=“unconfined”) Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Activating service name=‘org.gnome.clocks’ requested by ‘:1.21’ (uid=1000 pid=2113 comm="/usr/bin/gnome-shell " label=“unconfined”) Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Successfully activated service ‘org.gnome.Boxes.SearchProvider’ Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Successfully activated service ‘org.gnome.clocks’ Jan 26 12:28:06 smith dbus-daemon[1998]: [session uid=1000 pid=1998] Successfully activated service ‘org.gnome.Nautilus’ Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:06 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:07 smith gnome-clocks[5436]: g_variant_new_string: assertion ‘string != NULL’ failed Jan 26 12:28:08 smith systemd[1964]: snap.todoist.todoist.b8bd5b9f-d34f-4641-91b8-1d0645f34676.scope: Failed to add PIDs to scope’s control group: Permission denied Jan 26 12:28:08 smith systemd[1964]: snap.todoist.todoist.b8bd5b9f-d34f-4641-91b8-1d0645f34676.scope: Failed with result ‘resources’. Jan 26 12:28:08 smith systemd[1964]: Failed to start snap.todoist.todoist.b8bd5b9f-d34f-4641-91b8-1d0645f34676.scope. Jan 26 12:28:08 smith todoist_todoist.desktop[5537]: internal error, please report: running “todoist” failed: transient scope could not be started, job /org/freedesktop/systemd1/job/284 finished with result failed Jan 26 12:28:13 smith sudo[5556]: abettati : TTY=pts/0 ; PWD=/home/abettati ; USER=root ; COMMAND=/usr/bin/snap refresh todoist Jan 26 12:28:13 smith sudo[5556]: pam_unix(sudo:session): session opened for user root by (uid=0) Jan 26 12:28:13 smith sudo[5556]: pam_unix(sudo:session): session closed for user root Jan 26 12:28:16 smith systemd[1964]: Started snap.todoist.todoist.bca44f4d-fe46-494c-878a-ad5516694639.scope. Jan 26 12:28:25 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:25 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:33 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:33 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:33 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:33 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:35 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:28:35 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:29:13 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:29:13 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:29:18 smith systemd[1]: Starting Cleanup of Temporary Directories… Jan 26 12:29:18 smith systemd[1]: Started Cleanup of Temporary Directories. Jan 26 12:30:46 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:30:46 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:41 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:41 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:55 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:55 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:55 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:55 smith rtkit-daemon[1600]: Supervising 4 threads of 2 processes of 1 users. Jan 26 12:31:55 smith rtkit-daemon[1600]: Successfully made thread 6000 of process 5711 (n/a) owned by ‘1000’ RT at priority 10. Jan 26 12:31:55 smith rtkit-daemon[1600]: Supervising 5 threads of 3 processes of 1 users. Jan 26 12:31:57 smith rtkit-daemon[1600]: Supervising 5 threads of 3 processes of 1 users. Jan 26 12:31:57 smith rtkit-daemon[1600]: Supervising 5 threads of 3 processes of 1 users. Jan 26 12:32:30 smith org.gnome.Shell.desktop[2113]: ###!!! [Parent][MessageChannel] Error: (msgtype=0x6B0008,name=PMessagePort::Msg___delete__) Channel closing: too late to send/recv, messages will be lost Jan 26 12:32:30 smith org.gnome.Shell.desktop[2113]: ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost Jan 26 12:32:31 smith systemd[1964]: Started snap.drawio.drawio.97879367-0947-4a7b-bd36-de6efc1feae9.scope. Jan 26 12:36:53 smith systemd[1964]: Started snap.todoist.todoist.b346bb34-9805-4e14-9c76-d4ac701e8c90.scope. Jan 26 12:38:28 smith sudo[6223]: abettati : TTY=pts/0 ; PWD=/home/abettati ; USER=root ; COMMAND=/bin/journalctl --no-pager Jan 26 12:38:28 smith sudo[6223]: pam_unix(sudo:session): session opened for user root by (uid=0) Jan 26 12:38:39 smith AptDaemon[4651]: INFO: Quitting due to inactivity Jan 26 12:38:39 smith AptDaemon[4651]: INFO: Quitting was requested Jan 26 12:38:39 smith org.debian.apt[700]: 12:38:39 AptDaemon [INFO]: Quitting due to inactivity Jan 26 12:38:39 smith org.debian.apt[700]: 12:38:39 AptDaemon [INFO]: Quitting was requested
any idea?
Best, Andrea