And here is result of run if snapd_2.63+24.04ubuntu0.1_amd64.deb
is installed:
SNAPD_DEBUG=1 snap run hello
2025/10/10 15:10:57.893348 logger.go:93: DEBUG: restarting into
"/snap/snapd/current/usr/bin/snap"
2025/10/10 15:10:57.928489 logger.go:289: DEBUG: -- snap startup
{"stage":"start", "time":"1760094657.928485"}
2025/10/10 15:10:57.928770 apparmor.go:906: DEBUG: checking internal
apparmor_parser candidate at /snap/snapd/25202/usr/lib/snapd/apparmor_parser
2025/10/10 15:10:57.931737 cmd_run.go:1390: DEBUG: executing snap-confine from
/snap/snapd/25202/usr/lib/snapd/snap-confine
2025/10/10 15:10:57.932755 cmd_run.go:512: DEBUG: SELinux not enabled
2025/10/10 15:10:57.933842 tracking.go:48: DEBUG: creating transient scope
snap.hello.hello
2025/10/10 15:10:57.933864 tracking.go:220: DEBUG: session bus is not
available: cannot find session bus
2025/10/10 15:10:57.933869 tracking.go:222: DEBUG: falling back to system bus
2025/10/10 15:10:57.934393 tracking.go:227: DEBUG: using system bus now,
session bus was not available
2025/10/10 15:10:57.935625 tracking.go:350: DEBUG: create transient scope job:
/org/freedesktop/systemd1/job/9023
2025/10/10 15:10:57.944354 tracking.go:450: DEBUG: job result is "done"
2025/10/10 15:10:57.944376 tracking.go:457: DEBUG: transient scope
snap.hello.hello-96f4b6ba-f58e-406f-830e-8b289918516a.scope created
2025/10/10 15:10:57.944594 tracking.go:153: DEBUG: waited 10.164801ms for
tracking
2025/10/10 15:10:57.944614 logger.go:289: DEBUG: -- snap startup {"stage":"snap
to snap-confine", "time":"1760094657.944612"}
DEBUG: -- snap startup {"stage":"snap-confine enter",
"time":"1760094657.945448"}
DEBUG: caps at startup:
cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin,cap_sys_resource,cap_bpf=ep
DEBUG: ruid: 0, euid: 0, suid: 0
DEBUG: rgid: 0, egid: 0, sgid: 0
DEBUG: apparmor label on snap-confine is:
/snap/snapd/25202/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: initial caps:
cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_admin,cap_sys_resource,cap_bpf=ep
DEBUG: after setting privileged caps:
cap_chown,cap_dac_override,cap_sys_admin=eip
cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_resource,cap_bpf+ep
DEBUG: the user is member of root group
DEBUG: SNAP_MOUNT_DIR (probed): /snap
DEBUG: security tag: snap.hello.hello
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core20
DEBUG: umask reset, old umask was 022
DEBUG: -- snap startup {"stage":"snap-confine mount namespace start",
"time":"1760094657.945839"}
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
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: 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: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/hello.lock
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope hello, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: hello
DEBUG: device cgroup not required due to base core20
DEBUG: setting up device cgroup, mode "optional"
DEBUG: libudev has current tags support
DEBUG: no devices tagged with snap_hello_hello, skipping device cgroup setup
DEBUG: forked support process 9709
DEBUG: caps on join: cap_chown,cap_dac_override,cap_sys_admin=eip
cap_dac_read_search,cap_fowner,cap_setgid,cap_setuid,cap_sys_chroot,cap_sys_ptrace,cap_sys_resource,cap_bpf+ep
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: block device of snap core20, revision 2669 is 7:5
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: joining preserved mount namespace for inspection
DEBUG: found base snap device 7:5 on /usr
DEBUG: sanity timeout reset and disabled
DEBUG: preserved mount is not stale, reusing
DEBUG: joined preserved mount namespace hello
DEBUG: releasing lock 7
DEBUG: sending command 0 to helper process (pid: 9709)
DEBUG: waiting for response from helper
DEBUG: sanity timeout reset and disabled
DEBUG: helper process received command 0
DEBUG: helper process exiting
DEBUG: waiting for the helper process to exit
DEBUG: helper process exited normally
DEBUG: resetting PATH and SHELL to values in sync with core snap
DEBUG: -- snap startup {"stage":"snap-confine mount namespace finish",
"time":"1760094657.947643"}
DEBUG: dropping caps
DEBUG: after dropping effective caps: cap_dac_override,cap_sys_admin=p
DEBUG: creating user data directory: /root/snap/hello/42
DEBUG: requesting changing of apparmor profile on next exec to snap.hello.hello
DEBUG: SELinux not enabled
DEBUG: setting capabilities bounding set
DEBUG: drop caps as non-root? no
DEBUG: before seccomp: cap_sys_admin=ep cap_dac_override+p
DEBUG: loading bpf program for security tag snap.hello.hello
DEBUG: restore subset of capabilities for root
DEBUG: before exec to application: cap_dac_override=ep
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...)
DEBUG: argv[1] = hello.hello
DEBUG: umask restored to 022
DEBUG: working directory restored to /home/dm
DEBUG: -- snap startup {"stage":"snap-confine to snap-exec",
"time":"1760094657.948417"}
2025/10/10 15:10:57.950471 logger.go:289: DEBUG: -- snap startup
{"stage":"snap-exec to app", "time":"1760094657.950469"}
Hello, world!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2127224
Title:
all snaps fail to run
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2127224/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs