Error receiving reply from shellsession: No such file or directory
MagicalTux opened this issue · comments
Expected Result
DPREFIX=/tmp/darling /pkg/main/app-emulation.darling.core/bin/darling shell echo hello world
hello world
Actual Result
$ DPREFIX=/tmp/darling /pkg/main/app-emulation.darling.core/bin/darling shell echo hello world
Setting up a new Darling prefix at /tmp/darling
Bootstrapping the container with launchd...
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate
Error connecting to shellspawn session
Error receiving reply from shellsession: No such file or directory
Retrying while darlingserver is launched:
$ DPREFIX=/tmp/darling /pkg/main/app-emulation.darling.core/bin/darling shell echo hello world
Error receiving reply from shellsession: Success
Steps To Reproduce
This is likely related to the built I made (see #1441) but I'm not sure what is causing this and it doesn't seem like there are much documented ways to debug darling.
This can be reproduced in docker using the azusa image:
docker run --rm -it --privileged --cap-add SYS_ADMIN --cap-add MKNOD azusaos/azusa:latest /bin/bash -i
But just having some pointers on how to debug darling would allow me to investigate more and find out what's happening.
strace
Output
Run sudo strace -f -u $USER darling shell
, what is the output?
If running after killing darlingserver, it will output way too much stuff and darling will print some Authorization required, but no authorization protocol specified
. If run while daringserver is running it just seem to not be getting a response.
dmesg
Output
Run dmesg | grep 'overlay\|darling'
[ 1813.571883] overlayfs: "xino" feature enabled using 2 upper inode bits.
[ 1837.464703] overlayfs: "xino" feature enabled using 2 upper inode bits.
[ 1907.322907] overlayfs: "xino" feature enabled using 2 upper inode bits.
[278443.449670] overlayfs: "xino" feature enabled using 2 upper inode bits.
[282632.259246] overlayfs: "xino" feature enabled using 2 upper inode bits.
[282826.297302] overlayfs: "xino" feature enabled using 2 upper inode bits.
[283159.591827] overlayfs: "xino" feature enabled using 2 upper inode bits.
[283224.589090] overlayfs: "xino" feature enabled using 2 upper inode bits.
System Information
What system are you running?
Software | Version |
---|---|
Linux Kernel | 6.5.8 |
Darling | 7b2aa57 |
I tried to strace shellsession
directly and it looks like it's failing with this:
strace -f -p 11819
strace: Process 11819 attached
accept(3, {sa_family=AF_UNIX}, [2]) = 4
fcntl(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
getcpu([3], NULL, NULL) = 0
mmap(0x1000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f53b5b00000
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
getcpu([3], NULL, NULL) = 0
clone(child_stack=NULL, flags=SIGCHLD) = 51
strace: Process 11889 attached
[pid 11889] close(1023) = 0
[pid 11889] socket(AF_UNIX, SOCK_DGRAM, 0) = 5
[pid 11889] dup2(5, 1023) = 1023
[pid 11889] close(5) = 0
[pid 11889] fcntl(1023, F_GETFD) = 0
[pid 11889] fcntl(1023, F_SETFD, FD_CLOEXEC) = 0
[pid 11889] bind(1023, {sa_family=AF_UNIX}, 2 <unfinished ...>
[pid 11819] getpid( <unfinished ...>
[pid 11889] <... bind resumed>) = 0
[pid 11819] <... getpid resumed>) = 5
[pid 11819] gettid() = 5
[pid 11819] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="\v\0\0\0\5\0\0\0\5\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0 <unfinished ...>
[pid 11889] getpid( <unfinished ...>
[pid 11819] <... sendmsg resumed>) = 16
[pid 11889] <... getpid resumed>) = 51
[pid 11819] recvmsg(1023, <unfinished ...>
[pid 11889] gettid() = 51
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="\1\0\0\0003\0\0\0003\0\0\0\2\0\0\0\1\373\337\377\377\177\0\0\f\373\337\377\377\177\0\0"..., iov_len=40}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 40
[pid 11889] recvmsg(1023, <unfinished ...>
[pid 11819] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\v\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11819] close(4 <unfinished ...>
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], <unfinished ...>
[pid 11819] <... close resumed>) = 0
[pid 11889] <... rt_sigprocmask resumed>[HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11819] accept(3, <unfinished ...>
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="!\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="!\0\0\0\0\0\0\0\3\1\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="$\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="$\0\0\0\0\0\0\0\3\2\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="#\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="#\0\0\0\0\0\0\0\3\3\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="$\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="$\0\0\0\0\0\0\0\3\4\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] gettid() = 51
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="\10\0\0\0003\0\0\0003\0\0\0\2\0\0\0\200.\261\266S\177\0\0\0000\261\266S\177\0\0", iov_len=32}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\10\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="\"\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\0\0\0\0\3\5\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\330\372\337\377\377\177\0\0\3\0\0\0$\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\330\372\337\377\377\177\0\0\3\0\0\0(\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="'\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\1\0\0\3\5\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 24
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="'\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="!\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="!\0\0\0\0\0\0\0\3\1\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], [], 8) = 0
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="!\0\0\0003\0\0\0003\0\0\0\2\0\0\0", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="!\0\0\0\0\0\0\0\3\1\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
[pid 11889] rt_sigprocmask(SIG_SETMASK, [], [HUP INT QUIT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS], 8) = 0
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\330\372\337\377\377\177\0\0\3\0\0\0$\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] close(3) = 0
[pid 11889] fcntl(4, F_SETFD, FD_CLOEXEC) = 0
[pid 11889] read(4, "\350\3\0\0\350\3\0\0", 8) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellsession.running.1000", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 11889] openat(AT_FDCWD, "/tmp/darling/var/run/shellsession.running.1000", O_RDONLY|O_CREAT|O_EXCL, 0644) = -1 EEXIST (File exists)
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc2a8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 3
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(3, 0x7fffffdfc570 /* 0 entries */, 4096) = 0
[pid 11889] close(3) = 0
[pid 11889] faccessat(AT_FDCWD, "/tmp/darling/var/run/shellspawn.sock.1000", F_OK) = -1 ENOENT (No such file or directory)
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base="&\0\0\0003\0\0\0003\0\0\0\2\0\0\0\334\365\337\377\377\177\0\0\3\0\0\0\30\0\0\0"..., iov_len=56}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 56
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="&\0\0\0\0\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] getpid() = 51
[pid 11889] gettid() = 51
[pid 11889] sendmsg(1023, {msg_name={sa_family=AF_UNIX, sun_path="/tmp/darling/.darlingserver.sock"}, msg_namelen=110, msg_iov=[{iov_base=">\0\0\0003\0\0\0003\0\0\0\2\0\0\0\3\7\0\0\1\0\0\0\0\0\0\0", iov_len=28}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 28
[pid 11889] recvmsg(1023, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=">\0\0\0001\0\0\0", iov_len=48}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
[pid 11889] socket(AF_UNIX, SOCK_STREAM, 0) = 3
[pid 11889] lstat("/tmp/darling/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 11889] lstat("/tmp/darling/var/run/shellspawn.sock.1000", 0x7fffffdfc1b8) = -1 ENOENT (No such file or directory)
[pid 11889] open("/tmp/darling/var/run", O_RDONLY) = 5
[pid 11889] getdents64(5, 0x7fffffdfc480 /* 7 entries */, 4096) = 248
[pid 11889] getdents64(5, 0x7fffffdfc480 /* 0 entries */, 4096) = 0
[pid 11889] close(5) = 0
[pid 11889] connect(3, {sa_family=AF_UNIX, sun_path="/tmp/darling/var/run/shellspawn.sock.1000"}, 43) = -1 ENOENT (No such file or directory)
[pid 11889] close(3) = 0
[pid 11889] close(4) = 0
[pid 11889] exit_group(0) = ?
[pid 11889] +++ exited with 0 +++
<... accept resumed>0x7fffffdffb9e, [2]) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=51, si_uid=1000, si_status=0, si_utime=0, si_stime=0} ---
accept(3, ^Cstrace: Process 11819 detached
<detached ...>
Directory contents:
$ ls /tmp/darling/var/run/
memberd.pid shellsession.running.1000 shellsession.sock utmpx
Checking if this could be linked to commit 9980fa0 by building a previous commit
Confirmed build 47c204a works.
This means this issue does not come from my build env but from a bug introduced this month.
$ DPREFIX=/tmp/darling /pkg/main/app-emulation.darling.core.0.1.20231004/bin/darling shell
Setting up a new Darling prefix at /tmp/darling
Bootstrapping the container with launchd...
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI2: failed to authenticate
cp: /System/Library/User Template/Library: unable to copy extended attributes to /Users/magicaltux/Library: Operation not supported on socket
cp: /System/Library/User Template/Library/Application Support: unable to copy extended attributes to /Users/magicaltux/Library/Application Support: Operation not supported on socket
cp: /System/Library/User Template/Library/Assistants: unable to copy extended attributes to /Users/magicaltux/Library/Assistants: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio: unable to copy extended attributes to /Users/magicaltux/Library/Audio: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/MIDI Drivers: unable to copy extended attributes to /Users/magicaltux/Library/Audio/MIDI Drivers: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Plug-Ins: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Plug-Ins: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Plug-Ins/Components: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Plug-Ins/Components: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Plug-Ins/Digidesign: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Plug-Ins/Digidesign: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Plug-Ins/VST: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Plug-Ins/VST: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Sounds: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Sounds: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Sounds/Alerts: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Sounds/Alerts: Operation not supported on socket
cp: /System/Library/User Template/Library/Audio/Sounds/Banks: unable to copy extended attributes to /Users/magicaltux/Library/Audio/Sounds/Banks: Operation not supported on socket
cp: /System/Library/User Template/Library/Autosave Information: unable to copy extended attributes to /Users/magicaltux/Library/Autosave Information: Operation not supported on socket
cp: /System/Library/User Template/Library/Caches: unable to copy extended attributes to /Users/magicaltux/Library/Caches: Operation not supported on socket
cp: /System/Library/User Template/Library/ColorPickers: unable to copy extended attributes to /Users/magicaltux/Library/ColorPickers: Operation not supported on socket
cp: /System/Library/User Template/Library/Colors: unable to copy extended attributes to /Users/magicaltux/Library/Colors: Operation not supported on socket
cp: /System/Library/User Template/Library/Compositions: unable to copy extended attributes to /Users/magicaltux/Library/Compositions: Operation not supported on socket
cp: /System/Library/User Template/Library/Compositions/.localized: could not copy extended attributes to /Users/magicaltux/Library/Compositions/.localized: Operation not supported on socket
cp: /System/Library/User Template/Library/Favorites: unable to copy extended attributes to /Users/magicaltux/Library/Favorites: Operation not supported on socket
cp: /System/Library/User Template/Library/Favorites/.localized: could not copy extended attributes to /Users/magicaltux/Library/Favorites/.localized: Operation not supported on socket
cp: /System/Library/User Template/Library/Fonts: unable to copy extended attributes to /Users/magicaltux/Library/Fonts: Operation not supported on socket
cp: /System/Library/User Template/Library/Input Methods: unable to copy extended attributes to /Users/magicaltux/Library/Input Methods: Operation not supported on socket
cp: /System/Library/User Template/Library/Input Methods/.localized: could not copy extended attributes to /Users/magicaltux/Library/Input Methods/.localized: Operation not supported on socket
cp: /System/Library/User Template/Library/Internet Plug-Ins: unable to copy extended attributes to /Users/magicaltux/Library/Internet Plug-Ins: Operation not supported on socket
cp: /System/Library/User Template/Library/Keyboard Layouts: unable to copy extended attributes to /Users/magicaltux/Library/Keyboard Layouts: Operation not supported on socket
cp: /System/Library/User Template/Library/Logs: unable to copy extended attributes to /Users/magicaltux/Library/Logs: Operation not supported on socket
cp: /System/Library/User Template/Library/PreferencePanes: unable to copy extended attributes to /Users/magicaltux/Library/PreferencePanes: Operation not supported on socket
cp: /System/Library/User Template/Library/Preferences: unable to copy extended attributes to /Users/magicaltux/Library/Preferences: Operation not supported on socket
cp: /System/Library/User Template/Library/Preferences/.GlobalPreferences.plist: could not copy extended attributes to /Users/magicaltux/Library/Preferences/.GlobalPreferences.plist: Operation not supported on socket
cp: /System/Library/User Template/Library/Preferences/com.apple.scheduler.plist: could not copy extended attributes to /Users/magicaltux/Library/Preferences/com.apple.scheduler.plist: Operation not supported on socket
cp: /System/Library/User Template/Library/Preferences/com.apple.screensaver.plist: could not copy extended attributes to /Users/magicaltux/Library/Preferences/com.apple.screensaver.plist: Operation not supported on socket
cp: /System/Library/User Template/Library/Printers: unable to copy extended attributes to /Users/magicaltux/Library/Printers: Operation not supported on socket
cp: /System/Library/User Template/Library/Screen Savers: unable to copy extended attributes to /Users/magicaltux/Library/Screen Savers: Operation not supported on socket
cp: /System/Library/User Template/Library/Services: unable to copy extended attributes to /Users/magicaltux/Library/Services: Operation not supported on socket
cp: /System/Library/User Template/Library/Sounds: unable to copy extended attributes to /Users/magicaltux/Library/Sounds: Operation not supported on socket
cp: /System/Library/User Template/Library/Spelling: unable to copy extended attributes to /Users/magicaltux/Library/Spelling: Operation not supported on socket
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
Darling [/Volumes/SystemRoot/home/magicaltux]$
Darling [/Volumes/SystemRoot/home/magicaltux]$
Darling [/Volumes/SystemRoot/home/magicaltux]$ uname
Darwin
Same issue here with Arch linux (x86_64):
$ darling --version
darling master @ 98c5c8abf
Copyright (C) 2012-2023 Lubos Dolezel
$ darling shell
Bootstrapping the container with launchd...
libEGL warning: DRI2: failed to authenticate
Error connecting to shellspawn session
Error receiving reply from shellsession: No such file or directory
Thank you for testing @MagicalTux; I've temporarily reverted the problematic commit on the master branch. Feel free to use the updated master branch; however, if you could, I would appreciate it if you would switch to the launchd-session
branch and help me debug this, as I haven't been able to reproduce this myself (this goes for anyone that is experiencing this bug).
If you decide to help me debug this, please create /private/var/db/.launchd_log_debug
within the prefix as an empty file before launching Darling. Then, run Darling normally, and afterwards run darling shutdown
. There should be a log file now present in /private/var/log/com.apple.launchd.peruser.<YOUR-UID>/launchd-debug.<YOUR-USERNAME>.log
. Please post the contents of that log here.
Will be testing with commit 141c24a
Will be testing with commit 141c24a
works.
Confirmed fixed in 203af1f