Created
June 28, 2021 09:27
-
-
Save RSATom/f47ce32339f1bfacc971cbaa6d2ba035 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~ $ sudo snap install hello-world | |
2021-06-28T10:24:59+01:00 INFO Waiting for restart... | |
hello-world 6.4 from Canonical✓ installed | |
Channel latest/stable for hello-world is closed; temporarily forwarding to stable. | |
pi@raspberrypi:~ $ SNAPD_DEBUG=1 snap run hello-world | |
2021/06/28 10:26:03.933666 cmd_linux.go:212: DEBUG: restarting into "/snap/core/current/usr/bin/snap" | |
2021/06/28 10:26:05.630251 cmd_run.go:410: DEBUG: SELinux not enabled | |
2021/06/28 10:26:05.631293 tracking.go:44: DEBUG: creating transient scope snap.hello-world.hello-world | |
2021/06/28 10:26:05.723237 tracking.go:173: DEBUG: using session bus | |
2021/06/28 10:26:05.748912 tracking.go:305: DEBUG: created transient scope as object: /org/freedesktop/systemd1/job/106 | |
2021/06/28 10:26:05.749612 tracking.go:135: DEBUG: systemd could not associate process 1260 with transient scope snap.hello-world.hello-world.0a02f24b-12a9-41b9-85f9-6b9381e3cd1a.scope | |
2021/06/28 10:26:05.749785 cmd_run.go:1170: DEBUG: snapd cannot track the started application | |
2021/06/28 10:26:05.749897 cmd_run.go:1171: DEBUG: snap refreshes will not be postponed by this process | |
DEBUG: umask reset, old umask was 022 | |
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 is available on the system but has been disabled at boot | |
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: no devices tagged with snap_hello-world_hello-world, skipping device cgroup setup | |
DEBUG: forked support process 1279 | |
DEBUG: unsharing the mount namespace (per-snap) | |
DEBUG: scratch directory for constructing namespace: /tmp/snap.rootfs_dtpHl6 | |
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: helper process waiting for command | |
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: sanity timeout initialized and set for 30 seconds | |
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: performing operation: pivot_root /tmp/snap.rootfs_dtpHl6 /tmp/snap.rootfs_dtpHl6//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_dtpHl6 | |
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 | |
common.go:60: DEBUG: locking mount namespace of snap "hello-world" | |
common.go:81: DEBUG: freezing processes of snap "hello-world" | |
common.go:89: DEBUG: unlocking mount namespace of snap "hello-world" | |
common.go:91: DEBUG: thawing processes of snap "hello-world" | |
DEBUG: snap-update-ns finished successfully | |
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes) | |
DEBUG: saved mount namespace meta-data to /run/snapd/ns/snap.hello-world.info | |
DEBUG: sending command 1 to helper process (pid: 1279) | |
DEBUG: waiting for response from helper | |
DEBUG: sanity timeout reset and disabled | |
DEBUG: helper process received command 1 | |
DEBUG: capturing per-snap mount namespace | |
DEBUG: mount namespace of process 1260 preserved as hello-world.mnt | |
DEBUG: helper process waiting for command | |
DEBUG: DEBUG: joining preserved per-user mount namespace | |
sanity timeout initialized and set for 30 secondsDEBUG: | |
unsharing the mount namespace (per-user) | |
DEBUG: sc_setup_user_mounts: hello-world | |
DEBUG: NOT preserving per-user mount namespace | |
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: moved process 1260 to cgroup hierarchy /sys/fs/cgroup/freezer/snap.hello-world | |
DEBUG: releasing lock 7 | |
DEBUG: sending command 0 to helper process (pid: 1279) | |
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 to values in sync with core snap | |
DEBUG: set_effective_identity uid:1000 (change: yes), gid:1000 (change: yes) | |
DEBUG: creating user data directory: /home/pi/snap/hello-world/29 | |
DEBUG: ruid: 1000, euid: 1000, suid: 0 | |
DEBUG: setting capabilities bounding set | |
DEBUG: regaining SYS_ADMIN | |
DEBUG: loading bpf program for security tag snap.hello-world.hello-world | |
DEBUG: read 3224 bytes from /var/lib/snapd/seccomp/bpf//snap.hello-world.hello-world.bin | |
DEBUG: read 152 bytes from /var/lib/snapd/seccomp/bpf/global.bin | |
DEBUG: clearing SYS_ADMIN | |
DEBUG: execv(/usr/lib/snapd/snap-exec, /usr/lib/snapd/snap-exec...) | |
DEBUG: argv[1] = hello-world | |
DEBUG: umask restored to 022 | |
DEBUG: working directory restored to /home/pi | |
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. | |
Hello World! | |
pi@raspberrypi:~ $ cat /etc/os-release | |
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" | |
NAME="Raspbian GNU/Linux" | |
VERSION_ID="10" | |
VERSION="10 (buster)" | |
VERSION_CODENAME=buster | |
ID=raspbian | |
ID_LIKE=debian | |
HOME_URL="http://www.raspbian.org/" | |
SUPPORT_URL="http://www.raspbian.org/RaspbianForums" | |
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment