If I try to run snap under a gitlab-CI pipeline, installing the most simple package, it fails with:
$ snap install hello-world
error: cannot communicate with server: Post
http://localhost/v2/snaps/hello-world: dial unix /run/snapd.socket:
connect: no such file or directory
The gitlab-ci yml configuration file is the simplest ever:
image: ubuntu:18.04
before_script:
- apt-get update -qq
test:
script:
- apt-get install -y snapd
- snap version
- snap install hello-world
- hello-world
What’s going on?
asked Apr 23, 2019 at 4:15
In my case it is solved by starting the snapd
service:
systemctl start snapd.service
Simon
4,1612 gold badges24 silver badges34 bronze badges
answered Jan 29, 2021 at 18:53
1
Unfortunately, snaps use many of the underlying security tech used by docker, and they don’t play very nicely. Installing a snap also requires snapd to be running, which it’s not in docker (hence the error). I’m afraid you simply cannot reliably install snaps in docker containers today.
Note that there are other non-docker-based CI systems. You can, with a little custom work, use LXD as the backend for your GitLab CI runner, which handle snaps fine. You can also use GitHub Actions, which seem so be based on a Azure VM, which also handles snaps fine.
answered Apr 23, 2019 at 5:40
kyrofakyrofa
1,7391 gold badge14 silver badges19 bronze badges
0
Seems GithubActionsCI doesn’t use Docker so I’m using this now instead of GitLabCI, to build and test snap packages.
Just note:
- You need sudo to install snap with apt-get, and also to install any snap package with the snap command.
- If you want to run the
snapcraft
(to build packages, not just test them), getting it viaapt-get
works, but gives a version that is a bit old (e.g. it doesn’t support layouts). If you want a newer version, you can install it via snap withsnap install snapcraft
but you need some workarounds to make it run, such assudo chown root:root /
and to pass the--destructive-mode
flag (see https://forum.snapcraft.io/t/permissions-problem-using-snapcraft-in-azure-pipelines/13258/16).
answered Dec 20, 2019 at 7:58
knocteknocte
16.7k11 gold badges77 silver badges121 bronze badges
I am trying to install heroku cli using
sudo snap install heroku --classic
The command line says
error: cannot communicate with server: Post http://localhost/v2/apps: dial unix /run/snapd.socket: connect: no such file or directory
I tried systemctl status snapd.service
this is the result :
snapd.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
I tried systemctl restart snapd.service
it says:
Failed to restart snapd.service: Unit snapd.service is masked.
Any help on above problem in appreciated. Thanks.
the first file:
cat strace.txt.365
execve(«/usr/bin/snap», [«snap», «download», «anbox-installer»], [/* 15 vars */]) = 0
brk(NULL) = 0x7fffefac4000
access(«/etc/ld.so.nohwcap», F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b1d0000
access(«/etc/ld.so.preload», R_OK) = -1 ENOENT (No such file or directory)
open(«/etc/ld.so.cache», O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=20599, …}) = 0
mmap(NULL, 20599, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcc3b1db000
close(3) = 0
access(«/etc/ld.so.nohwcap», F_OK) = -1 ENOENT (No such file or directory)
open(«/lib/x86_64-linux-gnu/libpthread.so.0», O_RDONLY|O_CLOEXEC) = 3
read(3, «177ELF2113>1260"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0 mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc3abe0000 mprotect(0x7fcc3abf8000, 2093056, PROT_NONE) = 0 mmap(0x7fcc3adf7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcc3adf7000 mmap(0x7fcc3adf9000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc3adf9000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "177ELF21133>1Pt2"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0 mmap(NULL, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc3a810000 mprotect(0x7fcc3a9cf000, 2097152, PROT_NONE) = 0 mmap(0x7fcc3abcf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7fcc3abcf000 mmap(0x7fcc3abd5000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc3abd5000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b1c0000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b1b0000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b1a0000 arch_prctl(ARCH_SET_FS, 0x7fcc3b1b0700) = 0 mprotect(0x7fcc3abcf000, 16384, PROT_READ) = 0 mprotect(0x7fcc3adf7000, 4096, PROT_READ) = 0 mprotect(0x7fcc3bcf7000, 4902912, PROT_READ) = 0 mprotect(0x7fcc3b025000, 4096, PROT_READ) = 0 munmap(0x7fcc3b1db000, 20599) = 0 set_tid_address(0x7fcc3b1b09d0) = 365 set_robust_list(0x7fcc3b1b09e0, 24) = 0 rt_sigaction(SIGRTMIN, {0x7fcc3abe5b50, [], SA_RESTORER|SA_SIGINFO, 0x7fcc3abf1390}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7fcc3abe5be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fcc3abf1390}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0 brk(NULL) = 0x7fffefac4000 brk(0x7fffefae5000) = 0x7fffefae5000 sched_getaffinity(0, 8192, [f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...]) = 64 mmap(0xc000000000, 65536, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000 munmap(0xc000000000, 65536) = 0 mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b160000 mmap(0xc820000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc820000000 mmap(0xc81fff8000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc81fff8000 mmap(0xc000000000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc000000000 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b150000 clock_gettime(CLOCK_MONOTONIC, {57060, 272072000}) = 0 rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 272366000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 272459000}) = 0 sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0 sigaltstack({ss_sp=0xc820002000, ss_flags=0, ss_size=32672}, NULL) = 0 gettid() = 365 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigaction(SIGHUP, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGHUP, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGINT, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGINT, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGQUIT, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGILL, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGILL, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGTRAP, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGTRAP, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGABRT, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGBUS, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGFPE, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGUSR1, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGUSR1, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGSEGV, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGUSR2, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGUSR2, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGPIPE, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGALRM, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGALRM, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGTERM, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGSTKFLT, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGSTKFLT, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f180f2654b0}, 8) = 0 rt_sigaction(SIGCHLD, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGURG, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGURG, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGXCPU, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGXCPU, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGXFSZ, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGXFSZ, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGVTALRM, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGVTALRM, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGPROF, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGPROF, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGWINCH, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGIO, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGIO, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGPWR, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGPWR, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGSYS, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f98850254b0}, 8) = 0 rt_sigaction(SIGSYS, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRTMIN, NULL, {0x7fcc3abe5b50, [], SA_RESTORER|SA_SIGINFO, 0x7fcc3abf1390}, 8) = 0 rt_sigaction(SIGRTMIN, NULL, {0x7fcc3abe5b50, [], SA_RESTORER|SA_SIGINFO, 0x7fcc3abf1390}, 8) = 0 rt_sigaction(SIGRTMIN, {0x7fcc3abe5b50, [], SA_RESTORER|SA_STACK|SA_SIGINFO, 0x7fcc3abf1390}, NULL, 8) = 0 rt_sigaction(SIGRT_1, NULL, {0x7fcc3abe5be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fcc3abf1390}, 8) = 0 rt_sigaction(SIGRT_1, NULL, {0x7fcc3abe5be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7fcc3abf1390}, 8) = 0 rt_sigaction(SIGRT_1, {0x7fcc3abe5be0, [], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3abf1390}, NULL, 8) = 0 rt_sigaction(SIGRT_2, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_2, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_3, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_3, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_4, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_4, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_5, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_5, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_6, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_6, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_7, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_7, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_8, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_8, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_9, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_9, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_10, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_10, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_11, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_11, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_12, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_12, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_13, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_13, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_14, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_14, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_15, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_15, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_16, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_16, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_17, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_17, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_18, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_18, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_19, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_19, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_20, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_20, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_21, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_21, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_22, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_22, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_23, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_23, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_24, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_24, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_25, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_25, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_26, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_26, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_27, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_27, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_28, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_28, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_29, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_29, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_30, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_30, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_31, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_31, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 rt_sigaction(SIGRT_32, NULL, {SIG_DFL, [], SA_RESTORER, 0x7f237c6654b0}, 8) = 0 rt_sigaction(SIGRT_32, {0x7fcc3b6c5c90, ~[], SA_RESTORER|SA_STACK|SA_RESTART|SA_SIGINFO, 0x7fcc3b6c5cb0}, NULL, 8) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 284165000}) = 0 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fcc3a000000 mprotect(0x7fcc3a000000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fcc3a7ffff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fcc3a8009d0, tls=0x7fcc3a800700, child_tidptr=0x7fcc3a8009d0) = 366 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc3b110000 clock_gettime(CLOCK_MONOTONIC, {57060, 286391000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 286648000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 286911000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287171000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287454000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287594000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287731000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287869000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 287996000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 288245000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 288534000}) = 0 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fcc397f0000 mprotect(0x7fcc397f0000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fcc39fefff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fcc39ff09d0, tls=0x7fcc39ff0700, child_tidptr=0x7fcc39ff09d0) = 367 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 292320000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 292598000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 292878000}) = 0 futex(0xc820028908, FUTEX_WAKE, 1) = 0 rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0 mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fcc38fe0000 mprotect(0x7fcc38fe0000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fcc397dfff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fcc397e09d0, tls=0x7fcc397e0700, child_tidptr=0x7fcc397e09d0) = 368 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 130793900}) = 0 stat("/usr/share/locale-langpack/de_DE/LC_MESSAGES/snappy.mo", 0xc82006ced8) = -1 ENOENT (No such file or directory) stat("/usr/share/locale/de_DE/LC_MESSAGES/snappy.mo", 0xc82006cfa8) = -1 ENOENT (No such file or directory) stat("/usr/share/locale-langpack/de/LC_MESSAGES/snappy.mo", 0xc82006d078) = -1 ENOENT (No such file or directory) stat("/usr/share/locale/de/LC_MESSAGES/snappy.mo", 0xc82006d148) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/proc/sys/net/core/somaxconn", O_RDONLY|O_CLOEXEC) = 3 read(3, "128n", 4096) = 4 read(3, "", 4092) = 0 close(3) = 0 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 close(3) = 0 socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0 bind(3, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 4 setsockopt(4, SOL_IPV6, IPV6_V6ONLY, [0], 4) = 0 bind(4, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 close(4) = 0 close(3) = 0 openat(AT_FDCWD, "/etc/os-release", O_RDONLY|O_CLOEXEC) = 3 read(3, "NAME="Ubuntu"nVERSION="16.04.2 L"..., 4096) = 298 read(3, "", 3798) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 307712000}) = 0 mmap(0xc820100000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc820100000 mmap(0xc81fff0000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc81fff0000 clock_gettime(CLOCK_MONOTONIC, {57060, 308577000}) = 0 futex(0xc82005e108, FUTEX_WAKE, 1) = 1 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xc82005e108, FUTEX_WAKE, 1) = 1 openat(AT_FDCWD, "/dev/tty", O_RDONLY|O_CLOEXEC) = 4 uname({sysname="Linux", nodename="DESKTOP-D08QRG3", ...}) = 0 openat(AT_FDCWD, "/proc/sys/kernel/hostname", O_RDONLY|O_CLOEXEC) = 5 read(5, "DESKTOP-D08QRG3n", 512) = 16 close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 144185700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 144907400}) = 0 socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = -1 EINVAL (Invalid argument) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 146939200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 147432700}) = 0 socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = -1 EINVAL (Invalid argument) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 149479200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 149999900}) = 0 socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = -1 EINVAL (Invalid argument) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 151889400}) = 0 futex(0xc820028d08, FUTEX_WAKE, 1) = 1 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_REALTIME, {1501155365, 153609200}) = 0 socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(5, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 11) = -1 ENOENT (No such file or directory) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 156071700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 156609500}) = 0 socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(5, {sa_family=AF_LOCAL, sun_path="/var/run/syslog"}, 18) = -1 ENOENT (No such file or directory) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 159177000}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 159687200}) = 0 socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(5, {sa_family=AF_LOCAL, sun_path="/var/run/log"}, 15) = -1 ENOENT (No such file or directory) close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 162054900}) = 0 openat(AT_FDCWD, "/etc/localtime", O_RDONLY) = 5 read(5, "TZif222"..., 4096) = 1073 read(5, "", 4096) = 0 close(5) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 164668100}) = 0 write(2, "2017/07/27 13:36:05.162054 main."..., 77) = 77 readlinkat(AT_FDCWD, "/proc/self/exe", "/usr/bin/snap", 128) = 13 stat("/snap/core/current/usr/bin/snap", 0xc82006de48) = -1 ENOENT (No such file or directory) stat("/snap/ubuntu-core/current/usr/bin/snap", 0xc82006df18) = -1 ENOENT (No such file or directory) lstat("/snap/bin/snap", 0xc82013c038) = -1 ENOENT (No such file or directory) write(2, "Fetching snap "anbox-installer"n", 32) = 32 stat(".", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0 stat("/root", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 170707600}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 171233200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 171700400}) = 0 futex(0xc820028d08, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155365, 172324100}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 172614600}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 341282000}) = 0 futex(0xc820028d08, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155365, 174011000}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 174429200}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 343167000}) = 0 openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 5 read(5, "# /etc/nsswitch.confn#n# Example"..., 1024) = 497 read(5, "", 1024) = 0 close(5) = 0 openat(AT_FDCWD, "/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 5 read(5, "# This file was automatically ge"..., 4096) = 196 read(5, "", 3900) = 0 read(5, "", 4096) = 0 close(5) = 0 stat("/etc/mdns.allow", 0xc82013cd38) = -1 ENOENT (No such file or directory) clock_gettime(CLOCK_REALTIME, {1501155365, 180939100}) = 0 stat("/etc/hosts", {st_mode=S_IFREG|0644, st_size=424, ...}) = 0 openat(AT_FDCWD, "/etc/hosts", O_RDONLY|O_CLOEXEC) = 5 read(5, "# This file is automatically gen"..., 4096) = 424 read(5, "", 3672) = 0 read(5, "", 4096) = 0 close(5) = 0 stat("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=196, ...}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 186089100}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 186599700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 187082700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 187567000}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 188086500}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 188586600}) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 5 setsockopt(5, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(5, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, 16) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 190699400}) = 0 epoll_create1(EPOLL_CLOEXEC) = 6 epoll_ctl(6, EPOLL_CTL_ADD, 5, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990999016, u64=140515141054952}}) = 0 getsockname(5, {sa_family=AF_INET, sin_port=htons(59063), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0 getpeername(5, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, [16]) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 193260000}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 362150000}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 194267800}) = 0 clock_gettime(CLOCK_MONOTONIC, {57060, 363208000}) = 0 futex(0x7fcc3c1c56b8, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155365, 195805200}) = 0 write(5, "eO116search4apps6ubuntu3"..., 40) = 40 read(5, 0xc820121600, 512) = -1 EAGAIN (Resource temporarily unavailable) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 futex(0x7fcc3c1c5e48, FUTEX_WAKE, 1) = 0 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998824, u64=140515141054760}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57060, 754740000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(5, "2433112633(37052353223353230261337321326b371X3153072672028031"..., 4096) = 51 futex(0xc820480108, FUTEX_WAKE, 1) = 1 read(5, 0xc820135400, 1024) = -1 EAGAIN (Resource temporarily unavailable) write(5, "273323531]gE375@16Q244[&177127731093021l]"..., 752) = 752 futex(0xc82044c508, FUTEX_WAKE, 1) = 1 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 epoll_wait(6, [], 128, 0) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0xc82005e508, FUTEX_WAKE, 1) = 1 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998824, u64=140515141054760}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57060, 928194000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(5, "273312737052353223353230264345n212335325327305r]257zV343S3702302257d"..., 4096) = 915 futex(0xc82044c508, FUTEX_WAKE, 1) = 1 read(5, 0xc820135400, 1024) = -1 EAGAIN (Resource temporarily unavailable) stat("/root", {st_mode=S_IFDIR|0700, st_size=512, ...}) = 0 openat(AT_FDCWD, "/root/anbox-installer_17.snap.partial", O_RDWR|O_CREAT|O_CLOEXEC, 0644) = 3 lseek(3, 0, SEEK_END) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 765431400}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 765939500}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 766441200}) = 0 write(5, "273312073340323L30035245221262c_2262332522224436350p37"..., 396) = 396 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0xc820480108, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155365, 889270700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 889779600}) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 7 setsockopt(7, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(7, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, 16) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 891999100}) = 0 epoll_ctl(6, EPOLL_CTL_ADD, 7, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990999016, u64=140515141054952}}) = 0 getsockname(7, {sa_family=AF_INET, sin_port=htons(59068), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0 getpeername(7, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, [16]) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 894151900}) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 63075000}) = 0 clock_gettime(CLOCK_REALTIME, {1501155365, 895197100}) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 64160000}) = 0 futex(0x7fcc3c1c56b8, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155365, 896719500}) = 0 write(7, "21133611n068ed04f234sitevint"..., 49) = 49 read(7, 0xc8200d6200, 512) = -1 EAGAIN (Resource temporarily unavailable) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0xc820480108, FUTEX_WAKE, 1) = 1 getrandom("302207254"i36435C0355H235310E1027?b177rtQ'{244241211U|211205256", 32, 0) = 32 write(7, "2631275127133302207254"i36435C0355H235310E1027?b177rt"..., 194) = 194 read(7, 0xc8202afc00, 1024) = -1 EAGAIN (Resource temporarily unavailable) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLOUT, {u32=990998632, u64=140515141054568}}], 128, -1) = 1 epoll_wait(6, [{EPOLLOUT, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 epoll_wait(6, [{EPOLLIN, {u32=990998632, u64=140515141054568}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 469315000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(8, "10\20120011nassertions6ubuntu3c"..., 512) = 100 epoll_ctl(6, EPOLL_CTL_DEL, 8, 0xc82004fa2c) = 0 close(8) = 0 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 484997000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(9, "A27720120012nassertions6ubuntu3c"..., 512) = 71 epoll_ctl(6, EPOLL_CTL_DEL, 9, 0xc8204e9a2c) = 0 close(9) = 0 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 8 setsockopt(8, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(8, {sa_family=AF_INET, sin_port=htons(9), sin_addr=inet_addr("162.213.33.202")}, 16) = 0 epoll_ctl(6, EPOLL_CTL_ADD, 8, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990998440, u64=140515141054376}}) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(59084), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0 getpeername(8, {sa_family=AF_INET, sin_port=htons(9), sin_addr=inet_addr("162.213.33.202")}, [16]) = 0 epoll_ctl(6, EPOLL_CTL_DEL, 8, 0xc8200f99c4) = 0 close(8) = 0 socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 8 setsockopt(8, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(8, {sa_family=AF_INET, sin_port=htons(9), sin_addr=inet_addr("162.213.33.203")}, 16) = 0 epoll_ctl(6, EPOLL_CTL_ADD, 8, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990998440, u64=140515141054376}}) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(59085), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0 getpeername(8, {sa_family=AF_INET, sin_port=htons(9), sin_addr=inet_addr("162.213.33.203")}, [16]) = 0 epoll_ctl(6, EPOLL_CTL_DEL, 8, 0xc8200f99c4) = 0 close(8) = 0 futex(0xc82044c508, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155366, 327763900}) = 0 socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 8 setsockopt(8, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 connect(8, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("162.213.33.202")}, 16) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 clock_gettime(CLOCK_REALTIME, {1501155366, 361194100}) = 0 epoll_ctl(6, EPOLL_CTL_ADD, 8, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990998440, u64=140515141054376}}) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(50020), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0 getpeername(8, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("162.213.33.202")}, [16]) = 0 setsockopt(8, SOL_TCP, TCP_NODELAY, [1], 4) = 0 setsockopt(8, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 setsockopt(8, SOL_TCP, TCP_KEEPINTVL, [30], 4) = 0 setsockopt(8, SOL_TCP, TCP_KEEPIDLE, [30], 4) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 534593000}) = 0 futex(0xc82044c508, FUTEX_WAKE, 1) = 1 getrandom("377335311.2161K202Ly3101RnL3133403542133006t23127366101m210~275254", 32, 0) = 32 write(8, "2631263125733377335311.2161K202Ly3101RnL3133403542133006"..., 184) = 184 read(8, 0xc820134000, 1024) = -1 EAGAIN (Resource temporarily unavailable) futex(0x7fcc3c1c67c8, FUTEX_WAIT, 0, NULL) = 0 epoll_wait(6, [], 128, 0) = 0 select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout) futex(0xc82044c508, FUTEX_WAKE, 1) = 1 write(8, "273313171305311257361g31t272n315221273'221226313231M"..., 468) = 468 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 666497000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(8, "27331ZIRu26212333324]256213255A327735635233232i325V276356214r324"..., 1024) = 1024 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 read(8, "7x3344204a326321269237375m/316+231230-34326P3702343227P205o30126424"..., 3423) = 449 read(8, 0xc8201b1000, 4096) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_REALTIME, {1501155366, 501476900}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 502010200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 502530200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 502968200}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 503442300}) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 672361000}) = 0 write(8, "273312652Q2176nD275274364G@342JL<23210<o240"..., 442) = 442 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 708207000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(8, "27331ZIRu26212333324_272225S336U240263311317366252G33\2OT366333"..., 4096) = 1400 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 read(8, 0xc820380800, 2048) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_REALTIME, {1501155366, 542086900}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 542566300}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 543009600}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 543496700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 544026800}) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 713009000}) = 0 write(8, "2733125133276247"Ocbr/220n221317U9211261T374"..., 430) = 430 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 747207000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(8, "27331ZIRu26212333324a322563535032d344e214377[f250251$3603706246"..., 2048) = 1382 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 read(8, 0xc8201b1000, 4096) = -1 EAGAIN (Resource temporarily unavailable) clock_gettime(CLOCK_REALTIME, {1501155366, 581130700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 581590100}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 582008700}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 582478400}) = 0 clock_gettime(CLOCK_REALTIME, {1501155366, 582917200}) = 0 clock_gettime(CLOCK_MONOTONIC, {57061, 751802000}) = 0 write(8, "273313154'236RJ?316265bP303N24621263341354230+F"..., 466) = 466 epoll_wait(6, [], 128, 0) = 0 epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1 clock_gettime(CLOCK_MONOTONIC, {57061, 784728000}) = 0 futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1 read(8, "27331
IRu26212333324c257@E302356p21634120f356211254356224221353nv»…, 4096) = 2937
futex(0xc82011c108, FUTEX_WAKE, 1) = 1
read(8, 0xc8201b1000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1501155366, 618774700}) = 0
write(3, «», 0) = 0
write(3, «type: account-keynauthority-id: «…, 2452) = 2452
clock_gettime(CLOCK_REALTIME, {1501155366, 624923200}) = 0
write(3, «n», 1) = 1
write(3, «type: accountnauthority-id: cano»…, 1002) = 1002
clock_gettime(CLOCK_REALTIME, {1501155366, 627987500}) = 0
write(3, «n», 1) = 1
write(3, «type: snap-declarationnauthority»…, 1020) = 1020
clock_gettime(CLOCK_REALTIME, {1501155366, 631225200}) = 0
write(3, «n», 1) = 1
write(3, «type: snap-revisionnauthority-id»…, 1093) = 1093
close(3) = 0
exit_group(0) = ?
+++ exited with 0 +++
[SOLVED / FIXED ] snapd error: cannot communicate with server: Post http://localhost/v2/snaps/core
Error:
error: cannot communicate with server: Post http://localhost/v2/snaps/core
Solution / Fix:
To fix that check if snap is running by
systemctl status snapd
If below is the result:
● snapd.service - Snap Daemon
Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-04-14 06:50:30 +04; 1 day 14h ago
Process: 4577 ExecStart=/usr/lib/snapd/snapd (code=killed, signal=TERM)
Main PID: 4577 (code=killed, signal=TERM)
That means it has stopped due to some reason
to fix that just restart the snap again.
systemctl start snapd
Posted
in
Technical Solutions on Apr 15, 2022