Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"snap install" fails with error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory #2374

Closed
mi-hol opened this issue Jul 27, 2017 · 68 comments
Labels

Comments

@mi-hol
Copy link

mi-hol commented Jul 27, 2017

Windows build number: Microsoft Windows [Version 10.0.16251.0]

  • What you're doing and what's happening:
    Any snap command fails!
    Example:
    snap download anbox-installer
    2017/07/27 13:28:51.061146 main.go:220: WARNING: cannot create syslog logger
    Fetching snap "anbox-installer"
    Fetching assertions for "anbox-installer"

  • What's wrong / what should be happening instead:
    download should complete

  • Strace of the failing command, if applicable:
    many strace.tx files exist, copied latest below
    Please let me know if more are needed

root@DESKTOP-D08QRG3:~# ls
anbox-installer_17.assert strace.txt.365 strace.txt.367 strace.txt.369 strace.txt.371 strace.txt.373
anbox-installer_17.snap strace.txt.366 strace.txt.368 strace.txt.370 strace.txt.372

root@DESKTOP-D08QRG3:~# cat strace.txt.373
set_robust_list(0x7fcc327c09e0, 24) = 0
sigaltstack(NULL, {ss_sp=NULL, ss_flags=SS_DISABLE, ss_size=0}) = 0
sigaltstack({ss_sp=0xc8201cc000, ss_flags=0, ss_size=32672}, NULL) = 0
gettid() = 373
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
futex(0x7fcc3c1c5c28, FUTEX_WAKE, 1) = 0
futex(0x7fcc3c1c5b50, FUTEX_WAKE, 1) = 1
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {57061, 366965000}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 370655000}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 372815000}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 376306000}) = 0
futex(0x7fcc3c1c5c00, FUTEX_WAIT, 0, {0, 100000}) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {57061, 376888000}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 377184000}) = 0
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
futex(0xc820480108, FUTEX_WAKE, 1) = 1
futex(0xc82005e508, FUTEX_WAKE, 1) = 1
futex(0x7fcc3c1c5e10, FUTEX_WAIT, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {57061, 384888000}) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 216861900}) = 0
epoll_wait(6, [], 128, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 385849000}) = 0
futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {57061, 388162000}) = 0
futex(0x7fcc3c1cae40, FUTEX_WAKE, 1) = 1
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = 0
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
futex(0x7fcc3c1cae40, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
sched_yield() = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 437927000}) = 0
futex(0x7fcc3c1cae40, FUTEX_WAKE, 1) = 0
futex(0x7fcc3c1e3198, FUTEX_WAKE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {57061, 439470000}) = 0
select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout)
futex(0xc82005e508, FUTEX_WAKE, 1) = 1
clock_gettime(CLOCK_REALTIME, {1501155366, 280694300}) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 282703000}) = 0
socket(PF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 9
setsockopt(9, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0
connect(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, 16) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 284549600}) = 0
epoll_ctl(6, EPOLL_CTL_ADD, 9, {EPOLLIN|EPOLLOUT|EPOLLRDHUP|EPOLLET, {u32=990998440, u64=140515141054376}}) = 0
getsockname(9, {sa_family=AF_INET, sin_port=htons(59083), sin_addr=inet_addr("192.168.0.234")}, [16]) = 0
getpeername(9, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("80.69.96.12")}, [16]) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 287166600}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 456210000}) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 288305300}) = 0
clock_gettime(CLOCK_MONOTONIC, {57061, 457255000}) = 0
clock_gettime(CLOCK_REALTIME, {1501155366, 289155800}) = 0
write(9, "A\277\1\0\0\1\0\0\0\0\0\0\nassertions\6ubuntu\3c"..., 39) = 39
read(9, 0xc820120000, 512) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [], 128, 0) = 0
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [{EPOLLOUT, {u32=990998440, u64=140515141054376}}], 128, 0) = 1
epoll_wait(6, [{EPOLLOUT, {u32=990998440, u64=140515141054376}}], 128, -1) = 1
epoll_wait(6, [{EPOLLOUT, {u32=990998440, u64=140515141054376}}], 128, -1) = 1
epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1
clock_gettime(CLOCK_MONOTONIC, {57061, 589195000}) = 0
futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1
read(8, "\26\3\3\0]\2\0\0Y\3\3m\10v\236c\343\251\352\272\24\335x<\35\271\254\347\274&\320\6"..., 1024) = 1024
read(8, "p0n0$\6\10+\6\1\5\5\0070\1\206\30http://ocsp.dig"..., 3170) = 2879
clock_gettime(CLOCK_REALTIME, {1501155366, 423912200}) = 0
getrandom("\337\26\241\17v-\317\353\340\36\354\10"\3038\24\367\320\227pLn\232\256b\304X\226Y\10\330\376", 32, 0) = 32
write(8, "\26\3\3\0F\20\0\0BA\4\352\4\345\217\314\261l\227W\224\362\314\247\275\275\210\205\212\236\213o"..., 75) = 75
write(8, "\24\3\3\0\1\1", 6) = 6
write(8, "\26\3\3\0(\0\0\0\0\0\0\0\0l\10\311\21Y\243\26\225_\251\177 \24\274\200\333\216d\36"..., 45) = 45
read(8, 0xc8201b1000, 4096) = -1 EAGAIN (Resource temporarily unavailable)
epoll_wait(6, [], 128, 0) = 0
epoll_wait(6, [{EPOLLIN, {u32=990998440, u64=140515141054376}}], 128, -1) = 1
clock_gettime(CLOCK_MONOTONIC, {57061, 629679000}) = 0
futex(0x7fcc3c1c5c10, FUTEX_WAKE, 1) = 1
read(8, "\24\3\3\0\1\1\26\3\3\0(IRu\26\212\333\324\i\327i\262\320z\226\343Qj\316(i"..., 4096) = 51
futex(0x7fcc3c1c67c8, FUTEX_WAKE, 1) = 1
read(8, 0xc820134000, 1024) = -1 EAGAIN (Resource temporarily unavailable)
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [], 128, 0) = 0
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
epoll_wait(6, [], 128, 0) = 0
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [], 128, 0) = 0
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [], 128, 0) = 0
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
futex(0xc82011c108, FUTEX_WAIT, 0, NULL) = 0
epoll_wait(6, [], 128, 0) = 0
futex(0xc82044c508, FUTEX_WAKE, 1) = 1
epoll_wait(6, [], 128, 0) = 0
select(0, NULL, NULL, NULL, {0, 100}) = 0 (Timeout)
futex(0xc82011c108, FUTEX_WAIT, 0, NULL <unfinished ...>
+++ exited with 0 +++

See our contributing instructions for assistance.

@mi-hol
Copy link
Author

mi-hol commented Jul 27, 2017

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, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\0\0\0\0\0\0"..., 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, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 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, "128\n", 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-D08QRG3\n", 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, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\0\0\0\2\0\0\0\0"..., 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.conf\n#\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, "eO\1\0\0\1\0\0\0\0\0\0\6search\4apps\6ubuntu\3"..., 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, "\24\3\3\0\1\1\26\3\3\0(\3705\235\32\23\353\230\261\337\321\326b\371X\315\307\267\2028\0031"..., 4096) = 51 futex(0xc820480108, FUTEX_WAKE, 1) = 1 read(5, 0xc820135400, 1024) = -1 EAGAIN (Resource temporarily unavailable) write(5, "\27\3\3\2\353\0\0\0\0\0\0\0\1]gE\375@\16Q\244[&\1771\277\3109\30\21l]"..., 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, "\27\3\3\1\27\3705\235\32\23\353\230\264\345n\212\335\325\327\305r]\257zV\343S\370\230\2\257d"..., 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, "\27\3\3\1\207\0\0\0\0\0\0\0\3\340\323L\300\35\245\221\262c_\226\233\25\222\244\36\350p\37"..., 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, "\211\336\1\0\0\1\0\0\0\0\0\0\n068ed04f23\4site\vint"..., 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("\302\207\254\"i\364\35C0\355H\235\310E\10\27?b\177r\tQ'{\244\241\211U|\211\205\256", 32, 0) = 32 write(7, "\26\3\1\0\275\1\0\0\271\3\3\302\207\254\"i\364\35C0\355H\235\310E\10\27?b\177r\t"..., 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\\\201\200\0\1\0\0\0\1\0\0\nassertions\6ubuntu\3c"..., 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, "A\277\201\200\0\1\0\2\0\0\0\0\nassertions\6ubuntu\3c"..., 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("\377\335\311.\2161K\202Ly\310\1RnL\313\340\354\213\3006\t\231\27\366\0101m\210~\275\254", 32, 0) = 32 write(8, "\26\3\1\0\263\1\0\0\257\3\3\377\335\311.\2161K\202Ly\310\1RnL\313\340\354\213\3006"..., 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, "\27\3\3\1\317\0\0\0\0\0\0\0\1\305\311\257\361g\31\t\272\n\0\315\221\273'\221\226\313\231M"..., 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, "\27\3\3\1ZIRu\26\212\333\324]\256\213\255A\327\7\356\352\0332\32i\325V\276\356\214r\324"..., 1024) = 1024 futex(0xc82011c108, FUTEX_WAKE, 1) = 1 read(8, "\7x\3344\204a\326\321\0269\237\375m/\316+\231\230-\34\326P\3702\343\227P\205o\301\264\24"..., 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, "\27\3\3\1\265\0\0\0\0\0\0\0\2Q\217\6nD\275\274\364G@\342JL<\232\10<o\240"..., 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, "\27\3\3\1ZIRu\26\212\333\324_\272\225S\336U\240\263\311\317\366\252G\33\\\2OT\366\333"..., 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, "\27\3\3\1\251\0\0\0\0\0\0\0\3\3\276\247\"Ocb\r/\220\n\221\317U9\211\261T\374"..., 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, "\27\3\3\1ZIRu\26\212\333\324a\32\256\35\350\32d\344e\214\377[\f\250\251$\360\370\6\246"..., 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, "\27\3\3\1\315\0\0\0\0\0\0\0\4'\236RJ?\316\265bP\303N\246\21\263\341\354\230+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, "\27\3\3\1IRu\26\212\333\324c\257@E\302\356p\216\341\20f\356\211\254\356\224\221\353\nv"..., 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-key\nauthority-id: "..., 2452) = 2452
clock_gettime(CLOCK_REALTIME, {1501155366, 624923200}) = 0
write(3, "\n", 1) = 1
write(3, "type: account\nauthority-id: cano"..., 1002) = 1002
clock_gettime(CLOCK_REALTIME, {1501155366, 627987500}) = 0
write(3, "\n", 1) = 1
write(3, "type: snap-declaration\nauthority"..., 1020) = 1020
clock_gettime(CLOCK_REALTIME, {1501155366, 631225200}) = 0
write(3, "\n", 1) = 1
write(3, "type: snap-revision\nauthority-id"..., 1093) = 1093
close(3) = 0
exit_group(0) = ?
+++ exited with 0 +++

@mi-hol mi-hol changed the title snap fails after ´´main.go:220: WARNING: cannot create syslog logger snap installer fails after ´´main.go:220: WARNING: cannot create syslog logger" Jul 27, 2017
@benhillis
Copy link
Member

@mi-hol - Is the snap install command actually failing? The output is only a warning.

@mi-hol
Copy link
Author

mi-hol commented Jul 27, 2017

@benhillis as written above 'Any snap command fails!'

@mi-hol
Copy link
Author

mi-hol commented Jul 27, 2017

maybe a better example is:
root@DESKTOP-D08QRG3:~ snap download snapweb
2017/07/27 19:10:58.974778 main.go:220: WARNING: cannot create syslog logger
Fetching snap "snapweb"
Fetching assertions for "snapweb"

root@DESKTOP-D08QRG3:~ snap install snapweb
2017/07/27 19:11:24.557319 main.go:220: WARNING: cannot create syslog logger
error: cannot communicate with server: Post http://localhost/v2/snaps/snapweb: dial unix /run/snapd-snap.socket: connect: no such file or directory
root@DESKTOP-D08QRG3:~

@mi-hol
Copy link
Author

mi-hol commented Jul 27, 2017

@benhillis I've tried fix for 'Unable to launch URLs from snapped applications'

from https://snapcraft.io/docs/core/install-ubuntu but issue persists

root@DESKTOP-D08QRG3:~ apt install snapd-xdg-open
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
»snapd-xdg-open« ist bereits die neuste Version (0.0.0~16.04).
Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
snap-confine
Verwenden Sie »apt autoremove«, um es zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

@mi-hol
Copy link
Author

mi-hol commented Feb 22, 2018

@benhillis I was wondering if this issue will get attention of the development team any time soon?

@benhillis
Copy link
Member

@mi-hol - I believe @sunilmut was looking into adding dmsg / /dev/kmsg support.

@therealkenc
Copy link
Collaborator

@benhillis
snapd starts alright in 17101. Put up an sudo -f -o snapd.strace /usr/lib/snapd/snapd here on a sudo snap install hello run for anyone motivated. Amusingly I think it might suffer from #2949, though I didn't look real close. /dev/kmsg aka #1321 and syslog aka #534 would be nice too (as with any daemon nevemind snapd), but I don't think it is blocking.

@mi-hol
Copy link
Author

mi-hol commented Feb 24, 2018

bug seems only partially fixed in Windows build 17107.1000
The error 'main.go:220: WARNING: cannot create syslog logger'
is gone but:
snap install anbox
error: cannot communicate with server: Post http://localhost/v2/snaps/anbox: dial unix /run/snapd.socket: connect: no such file or directory
remains.
This prevents 'snap' from being usable 👎

@nunix
Copy link

nunix commented May 16, 2018

with WSL Ubuntu 1804 I initially got the same error, however by launching manuall /usr/lib/snapd/snapd, I could finally search for snaps and download a snap (hello-world in this case).

As I tested it while in a train, the internet speed was quite slow...

do anyone have the same behavior?
image

@nunix
Copy link

nunix commented May 16, 2018

ok, and here is the follow-up error:
image

@therealkenc
Copy link
Collaborator

System has not been booted with systemd as init system (PID 1)

They're right. It hasn't.

@WSLUser
Copy link

WSLUser commented May 16, 2018

I asked @tara-raj about this a few days ago and they're working with the distro partners to get this working. Glad to see it's progressed this far. @therealkenc Since you appear to have a working systemd per #994 , how does it look for you?

@mi-hol mi-hol changed the title snap installer fails after ´´main.go:220: WARNING: cannot create syslog logger" snap fails with error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory Jul 22, 2018
@mi-hol
Copy link
Author

mi-hol commented Jul 22, 2018

with latest version snapd (2.33.1+18.04ubuntu2) the error during install now changes to:
error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory

what works is:
snap download powershell-preview
Fetching snap "powershell-preview"
Fetching assertions for "powershell-preview"
Install the snap with:
snap ack powershell-preview_6.assert
snap install powershell-preview_6.snap

the proposed solution to manually start snapd gave the next error. Any further suggestions?

  1. /usr/lib/snapd/snapd
    AppArmor status: apparmor not enabled
    error: cannot start snapd: cannot mount squashfs image using "squashfs": mount: only root can use "--types" option

  2. sudo /usr/lib/snapd/snapd
    AppArmor status: apparmor not enabled
    error: cannot start snapd: cannot mount squashfs image using "squashfs": mount: /tmp/selftest-mountpoint-259341535: mount failed: Operation not permitted.

@mi-hol mi-hol changed the title snap fails with error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory "snap install" fails with error: cannot communicate with server: Post http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory Jul 22, 2018
@therealkenc
Copy link
Collaborator

therealkenc commented Jul 22, 2018

sudo /usr/lib/snapd/snapd
AppArmor status: apparmor not enabled
error: cannot start snapd: cannot mount squashfs image using "squashfs": mount: /tmp/selftest-mountpoint-259341535: mount failed: Operation not permitted.

That is equivalent to (edit, pedantry):

$ mkdir tmp
$ mksquashfs ./tmp tmp.sqsh
[... blah blah mksquashfs success]
$ sudo mount tmp.sqsh ./tmp -t squashfs -o loop
mount: ./tmp: mount failed: Operation not permitted

Any further suggestions?

You could in principle open a UserVoice entry for squashfs support.

@buddha314
Copy link

Also experiencing this error. WSL having upgrade to Ubuntu 18.10

snap list
error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps: dial unix /run/snapd.socket: connect: no such file or directory

@puka-tchou
Copy link

Manually launching snapd daemon with the command sudo /usr/lib/snapd/snapd and after that running snap install [anything] downloads the snap but fails at installation with:

error: cannot communicate with server: Get http://localhost/v2/changes/2: dial unix /run/snapd.socket: connect: no such file or directory

in the shell that launched the install command and:

AppArmor status: apparmor is enabled but some features are missing: dbus
2019/02/20 14:48:03.787045 daemon.go:343: started snapd/2.34.3-5.8 (series 16; classic; devmode) opensuse-tumbleweed/20190215 (amd64) linux/4.20.7-1-default.
2019/02/20 14:48:53.930746 api.go:1046: Installing snap "phpstorm" revision unset
2019/02/20 14:49:39.524241 daemon.go:531: gracefully waiting for running hooks
2019/02/20 14:49:39.524280 daemon.go:533: done waiting for running hooks

in the shell running snapd daemon.

@arseny92
Copy link

Originally posted as https://aka.ms/AA4yrsp

> ver
Microsoft Windows [Version 10.0.18885.1001]
~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:        18.10
Codename:       cosmic

This as of setting Prompt=normal in sudo nano /etc/update-manager/release-upgrades and running sudo do-release-upgrade

Although the release upgrader upgraded the distro from bionic 1804 LTS to cosmic 1810, it failed to upgrade lxd due to not supporting snapd

~$ snap version
snap                         2.38+18.10
snapd                        unavailable
series                       16
Windows Subsystem for Linux  -
kernel                       4.4.0-18885-Microsoft (amd64)

screenshot 2019-04-28 002

~$ snap info lxd
Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only.

Since snapd is not yet supported, this leaves the distro with inability to update packages, because the aborted lxd migration to snap (retrying doesn't help, it can't connect to the snap store) leaves apt in a broken state, requiring to sudo apt --fix-broken install which ends in the same

~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  at-spi2-core emacs25 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libuv1
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  lxd
The following packages will be upgraded:
  lxd
1 upgraded, 0 newly installed, 0 to remove and 221 not upgraded.
1 not fully installed or removed.
Need to get 0 B/11.1 kB of archives.
After this operation, 20.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 54012 files and directories currently installed.)
Preparing to unpack .../archives/lxd_1%3a0.4_all.deb ...
invoke-rc.d: could not determine current runlevel
Stopping Container hypervisor based on LXC: (not running).
=> Installing the LXD snap
==> Checking connectivity with the snap store
===> Unable to contact the store
===> Aborting at user request
dpkg: error processing archive /var/cache/apt/archives/lxd_1%3a0.4_all.deb (--unpack):
 new lxd package pre-installation script subprocess returned error exit status 1
invoke-rc.d: could not determine current runlevel
Errors were encountered while processing:
 /var/cache/apt/archives/lxd_1%3a0.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

By extension, doing a packages update attempt ends in the same request to fix the install, which ends with the same issue with lxd and snapd per above

~$ sudo apt update && sudo apt upgrade
Get:1 http://security.ubuntu.com/ubuntu cosmic-security InRelease [88.7 kB]
Hit:2 http://archive.ubuntu.com/ubuntu cosmic InRelease
Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu cosmic-security/main amd64 Packages [171 kB]
Get:6 http://security.ubuntu.com/ubuntu cosmic-security/main Translation-en [64.2 kB]
Get:7 http://security.ubuntu.com/ubuntu cosmic-security/universe amd64 Packages [158 kB]
Get:8 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 Packages [345 kB]
Get:9 http://archive.ubuntu.com/ubuntu cosmic-updates/main Translation-en [132 kB]
Get:10 http://archive.ubuntu.com/ubuntu cosmic-updates/universe amd64 Packages [655 kB]
Get:11 http://archive.ubuntu.com/ubuntu cosmic-updates/universe Translation-en [177 kB]
Get:12 http://archive.ubuntu.com/ubuntu cosmic-backports/universe amd64 Packages [2888 B]
Fetched 1956 kB in 4s (445 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
222 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 lxd : Depends: lxd-client (= 3.0.3-0ubuntu1~18.04.1) but 1:0.4 is installed
 lxd-client : Depends: lxd (>= 1:0.4) but 3.0.3-0ubuntu1~18.04.1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

@robo360
Copy link

robo360 commented Jul 29, 2019

Manually launching snapd daemon with the command sudo /usr/lib/snapd/snapd and after that running snap install [anything] downloads the snap but fails at installation with:

error: cannot communicate with server: Get http://localhost/v2/changes/2: dial unix /run/snapd.socket: connect: no such file or directory

in the shell that launched the install command and:

AppArmor status: apparmor is enabled but some features are missing: dbus
2019/02/20 14:48:03.787045 daemon.go:343: started snapd/2.34.3-5.8 (series 16; classic; devmode) opensuse-tumbleweed/20190215 (amd64) linux/4.20.7-1-default.
2019/02/20 14:48:53.930746 api.go:1046: Installing snap "phpstorm" revision unset
2019/02/20 14:49:39.524241 daemon.go:531: gracefully waiting for running hooks
2019/02/20 14:49:39.524280 daemon.go:533: done waiting for running hooks

in the shell running snapd daemon.

Any asnwer for this?

@nunix
Copy link

nunix commented Jul 30, 2019

you will need to start dbus first: sudo service dbus start (this should work if you're running 18.04).
Hope this helps
WSLCorsair

@mi-hol
Copy link
Author

mi-hol commented Aug 2, 2019

now instead of giving an error it says:
Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only

mihol@W10D-RS5:~$ sudo service dbus start
[sudo] password for mihol:
 * Starting system message bus dbus                                                                              [ OK ]
mihol@W10D-RS5:~$ snap install anbox-installer_24.snap
Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only.

@iarunpaul
Copy link

Do this:
rm /etc/apt/sources.list.d/yarn.*

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

After that you should be able to do apt-get update && apt-get install -yqq daemonize dbus-user-session fontconfig without error.

yes...it worked...now my distro is up....systemd settled and snap works....Thank you.....You made my day...

@MichaelMancuso
Copy link

@itsmordecai
It also worked for me in Kali Linux. service snapd start

Mee too service snapd start` : )

@lackovic
Copy link

I am having this issue on a freshly installed Ubuntu 20.04 LTS, using WSL2 on Windows 10 2004 build 19041.450:

$ sudo snap install intellij-idea-ultimate --classic
error: cannot communicate with server: Post http://localhost/v2/snaps/intellij-idea-ultimate: dial unix /run/snapd.socket: connect: no such file or directory

The following workarounds did not fix the issue:

$ service snapd start
snapd: unrecognized service

$ systemctl start snapd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down 

@boblitex
Copy link

Following those steps:
https://github.com/damionGans/ubuntu-wsl2-systemd-script

Working on Ubuntu 18.04
snap and snapd are working after this steps (mentioned before):

git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
sudo bash ubuntu-wsl2-systemd-script.sh
# Enter your password and wait until the script has finished
cmd.exe /C setx WSLENV BASH_ENV/u
cmd.exe /C setx BASH_ENV /etc/bash.bashrc

this works like charm

@marc-bouvier
Copy link

marc-bouvier commented Sep 20, 2020

Following those steps:
https://github.com/damionGans/ubuntu-wsl2-systemd-script

Working on Ubuntu 18.04
snap and snapd are working after this steps (mentioned before):

git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
sudo bash ubuntu-wsl2-systemd-script.sh
# Enter your password and wait until the script has finished
cmd.exe /C setx WSLENV BASH_ENV/u
cmd.exe /C setx BASH_ENV /etc/bash.bashrc

It worked also for me with Ubuntu 18.04 on WSL 2

@jambizzle
Copy link

jambizzle commented Sep 23, 2020

As per sunliusi here: #5126 (comment)

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

snap version

EDIT: Forgot to mention, I'm on:
Windows 10
WSL Ubuntu 20.04

@lschulth
Copy link

As per sunliusi here: #5126 (comment)

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

snap version

This worked for me.

Windows 10
WSL Ubuntu 20.04

@kinglionsz
Copy link

As per sunliusi here: #5126 (comment)
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
snap version

This worked for me.

Windows 10
WSL Ubuntu 20.04

Thanks so much!

It's ok now@windows10 wsl2

snap version
snap 2.47.1+20.04
snapd 2.47.1+20.04
series 16
ubuntu 20.04
kernel 4.19.128-microsoft-standard

@bleszerd
Copy link

As per sunliusi here: #5126 (comment)
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
snap version

This worked for me.

Windows 10
WSL Ubuntu 20.04

Thanks, works in W10 v19042.
WSL 2

@mloskot
Copy link

mloskot commented Apr 22, 2021

I have managed to get the systemd and snap working using @DamionGans's script - kudos!

$ git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
$ cd ubuntu-wsl2-systemd-script/
$ bash ubuntu-wsl2-systemd-script.sh
C:\> wsl --shutdown
$ sudo systemctl status snapd.service
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-04-22 15:01:49 BST; 2min 25s ago
TriggeredBy: ● snapd.socket
   Main PID: 840 (snapd)
      Tasks: 21 (limit: 61472)
     Memory: 54.9M
     CGroup: /system.slice/snapd.service
             └─840 /usr/lib/snapd/snapd

$ snap version
snap    2.48.3+20.04
snapd   2.48.3+20.04
series  16
ubuntu  20.04
kernel  5.4.72-microsoft-standard-WSL2

@DamionGans
Copy link

I have managed to get the systemd and snap working using @DamionGans's script - kudos!

$ git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
$ cd ubuntu-wsl2-systemd-script/
$ bash ubuntu-wsl2-systemd-script.sh
C:\> wsl --shutdown
$ sudo systemctl status snapd.service
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2021-04-22 15:01:49 BST; 2min 25s ago
TriggeredBy: ● snapd.socket
   Main PID: 840 (snapd)
      Tasks: 21 (limit: 61472)
     Memory: 54.9M
     CGroup: /system.slice/snapd.service
             └─840 /usr/lib/snapd/snapd

$ snap version
snap    2.48.3+20.04
snapd   2.48.3+20.04
series  16
ubuntu  20.04
kernel  5.4.72-microsoft-standard-WSL2

Glad the script still works. It's no longer maintained though, so don't expect it to keep working after many updates of WSL2.

@therealkenc
Copy link
Collaborator

The cause of the OP error is snapd not running. Repurposing the ticket as a landing zone for more seamless support for snaps on WSL2. This is a bit duplicative of #994 (daemons in general not just snapd) but with WSLg released to the wild, the use-case probably deserves its own home. Running snaps on WSL1 is de-facto not supported.

@arijitdas123student
Copy link

As per sunliusi here: #5126 (comment)

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

snap version

EDIT: Forgot to mention, I'm on:
Windows 10
WSL Ubuntu 20.04

This works for me on Windows 11 with WSL2 Ubuntu 20.04. 🙂

@ghost
Copy link

ghost commented Sep 28, 2021

try
journalctl -xu snapd.service

@ghost
Copy link

ghost commented Sep 28, 2021

journalctl -xu snapd.service

Work for only root users

@mikekosulin
Copy link

As per sunliusi here: #5126 (comment)
sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
snap version
EDIT: Forgot to mention, I'm on:
Windows 10
WSL Ubuntu 20.04

This works for me on Windows 11 with WSL2 Ubuntu 20.04. 🙂

Thanks:)

@synapp009
Copy link

synapp009 commented Oct 17, 2021

For me none of the solutions worked.
So I installed chromium-browser via deb,
see here the instructions.

Worked for me (Win 11, WSL2 Ubuntu 20.04)

@dianaarnos
Copy link

As per sunliusi here: #5126 (comment)

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

snap version

EDIT: Forgot to mention, I'm on: Windows 10 WSL Ubuntu 20.04

Worked for me on Win 11, Ubuntu 20.04

@ryantheleach
Copy link

#5126 (comment)

Resulted in snap version working, but installing anything resulted in

error: too early for operation, device not yet seeded or device model not acknowledged

@lackovic
Copy link

lackovic commented Feb 24, 2022

$ sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
$ sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
$ exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME

This workaround only works until the terminal is closed, using WSL2 Ubuntu 20.04 on Windows 10 21H2.

Up until I close the terminal I could run snap version, install and run Chromium:

$ snap version
snap    2.54.3+20.04.1ubuntu0.2
snapd   2.54.3+20.04.1ubuntu0.2
series  16
ubuntu  20.04
kernel  5.10.16.3-microsoft-standard-WSL2

$ sudo snap install chromium
$ chromium

After closing the terminal and opening another one, snap version looks broken and I get an error when trying to run Chromium:

$ snap version
snap    2.54.3+20.04.1ubuntu0.2
snapd   unavailable
series  -

$ chromium
internal error, please report: running "chromium" failed: cannot find installed snap "chromium" at revision 1899: missing file /snap/chromium/1899/meta/snap.yaml 

@lackovic
Copy link

$ service snapd start
snapd: unrecognized service

$ systemctl start snapd
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down 

Ubuntu 22.04 LTS is also affected by this issue.

@paul-schroeder-msft
Copy link

This may be of interest to those reading this issue:

Microsoft and Canonical jointly announced today that systemd now works within Windows Subsystem for Linux (WSL2). WSL can now run systemd inside of WSL Linux distributions for managing of services. Applications dependent upon systemd for use or simply for easy management can now run easier under this WSL environment on Windows 10/11.

For details on this and how to enable the functionality see:

https://ubuntu.com//blog/ubuntu-wsl-enable-systemd

@ningacoding
Copy link

ningacoding commented Oct 6, 2022

sudo snap list
error: access denied (see 'snap help login')

after login with snap login

same error occurs

error: access denied (see 'snap help login')

anyone have the same issue?

@mi-hol
Copy link
Author

mi-hol commented Oct 10, 2022

This may be of interest to those reading this issue:

Microsoft and Canonical jointly announced today that systemd now works within Windows Subsystem for Linux (WSL2). WSL can now run systemd inside of WSL Linux distributions for managing of services. Applications dependent upon systemd for use or simply for easy management can now run easier under this WSL environment on Windows 10/11.

For details on this and how to enable the functionality see:

https://ubuntu.com//blog/ubuntu-wsl-enable-systemd

this new release closes the issue

@mi-hol mi-hol closed this as completed Oct 10, 2022
@SheyiB
Copy link

SheyiB commented Nov 2, 2022

Your snapd is probably not running

try this

To Start snapd service

sudo systemctl start snapd.service

To Start snapd anytime system boots

sudo systemctl enable snapd.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests