I am attempting to run darling on arch linux with kernel version 4.18.0 and when… I run darling it gives me this error:
```
[znet@Znet build]$ darling shell
Cannot mount overlay: No such device
Cannot open mnt namespace file: No such file or directory
```
When I run strace -u root -f darling shell I get this
```
execve("/usr/local/bin/darling", ["darling", "shell"], 0x7ffca22e1a00 /* 18 vars */) = 0
brk(NULL) = 0x55c2c687d000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc98b54780) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=271766, ...}) = 0
mmap(NULL, 271766, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fed36450000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libutil.so.1", 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 \20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14144, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed364c7000
mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed36448000
mmap(0x7fed36449000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fed36449000
mmap(0x7fed3644a000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fed3644a000
mmap(0x7fed3644b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fed3644b000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/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\0\20A\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2136640, ...}) = 0
mmap(NULL, 1848896, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed36280000
mprotect(0x7fed362a2000, 1671168, PROT_NONE) = 0
mmap(0x7fed362a2000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fed362a2000
mmap(0x7fed363ed000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16d000) = 0x7fed363ed000
mmap(0x7fed3643a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b9000) = 0x7fed3643a000
mmap(0x7fed36440000, 13888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed36440000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed364c4000
arch_prctl(ARCH_SET_FS, 0x7fed364c4740) = 0
mprotect(0x7fed3643a000, 16384, PROT_READ) = 0
mprotect(0x7fed3644b000, 4096, PROT_READ) = 0
mprotect(0x55c2c5d6a000, 4096, PROT_READ) = 0
mprotect(0x7fed364c1000, 4096, PROT_READ) = 0
munmap(0x7fed36450000, 271766) = 0
geteuid() = 0
getuid() = 0
getgid() = 0
setuid(0) = 0
setgid(0) = 0
brk(NULL) = 0x55c2c687d000
brk(0x55c2c689e000) = 0x55c2c689e000
openat(AT_FDCWD, "/proc/modules", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "darling_mach 524288 0 - Live 0xf"..., 1024) = 510
close(3) = 0
getcwd("/home/znet/darling/build", 4096) = 25
stat("/root/.darling", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/root/.darling", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/root/.darling/.init.pid", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
read(3, "30715", 4096) = 5
read(3, "", 4096) = 0
close(3) = 0
kill(30715, SIG_0) = -1 ESRCH (No such process)
unlink("/root/.darling/.init.pid") = 0
unlink("/root/.darling/var/run/shellspawn.sock") = -1 ENOENT (No such file or directory)
stat("/root/.darling.workdir", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
pipe([3, 4]) = 0
unshare(CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWPID) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fed364c4a10) = 31717
strace: Process 31717 attached
[pid 31716] close(4) = 0
[pid 31717] close(3 <unfinished ...>
[pid 31716] read(3, <unfinished ...>
[pid 31717] <... close resumed> ) = 0
[pid 31717] unshare(CLONE_NEWNS) = 0
[pid 31717] mount(NULL, "/", NULL, MS_REC|MS_SLAVE, NULL) = 0
[pid 31717] umount2("/dev/shm", 0) = 0
[pid 31717] mount("tmpfs", "/dev/shm", "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC, NULL) = 0
[pid 31717] mount("overlay", "/root/.darling", "overlay", 0, "lowerdir=/usr/local/libexec/darl"...) = -1 ENODEV (No such device)
[pid 31717] write(2, "Cannot mount overlay: No such de"..., 37Cannot mount overlay: No such device
) = 37
[pid 31717] exit_group(1) = ?
[pid 31716] <... read resumed> "", 1) = 0
[pid 31717] +++ exited with 1 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31717, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
close(3) = 0
setresuid(-1, 0, -1) = 0
setresgid(-1, 0, -1) = 0
openat(AT_FDCWD, "/root/.darling/.init.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
setresuid(-1, 0, -1) = 0
setresgid(-1, 0, -1) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(3, "31717", 5) = 5
close(3) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
openat(AT_FDCWD, "/proc/31717/ns/mnt", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Cannot open mnt namespace file: "..., 58Cannot open mnt namespace file: No such file or directory
) = 58
exit_group(1) = ?
+++ exited with 1 +++
execve("/usr/local/bin/darling", ["darling", "shell"], 0x7ffca22e1a00 /* 18 vars */) = 0
brk(NULL) = 0x55c2c687d000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc98b54780) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=271766, ...}) = 0
mmap(NULL, 271766, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fed36450000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/libutil.so.1", 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 \20\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14144, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed364c7000
mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed36448000
mmap(0x7fed36449000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fed36449000
mmap(0x7fed3644a000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fed3644a000
mmap(0x7fed3644b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fed3644b000
close(3) = 0
openat(AT_FDCWD, "/usr/lib/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\0\20A\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2136640, ...}) = 0
mmap(NULL, 1848896, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed36280000
mprotect(0x7fed362a2000, 1671168, PROT_NONE) = 0
mmap(0x7fed362a2000, 1355776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fed362a2000
mmap(0x7fed363ed000, 311296, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16d000) = 0x7fed363ed000
mmap(0x7fed3643a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b9000) = 0x7fed3643a000
mmap(0x7fed36440000, 13888, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed36440000
close(3) = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed364c4000
arch_prctl(ARCH_SET_FS, 0x7fed364c4740) = 0
mprotect(0x7fed3643a000, 16384, PROT_READ) = 0
mprotect(0x7fed3644b000, 4096, PROT_READ) = 0
mprotect(0x55c2c5d6a000, 4096, PROT_READ) = 0
mprotect(0x7fed364c1000, 4096, PROT_READ) = 0
munmap(0x7fed36450000, 271766) = 0
geteuid() = 0
getuid() = 0
getgid() = 0
setuid(0) = 0
setgid(0) = 0
brk(NULL) = 0x55c2c687d000
brk(0x55c2c689e000) = 0x55c2c689e000
openat(AT_FDCWD, "/proc/modules", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "darling_mach 524288 0 - Live 0xf"..., 1024) = 510
close(3) = 0
getcwd("/home/znet/darling/build", 4096) = 25
stat("/root/.darling", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/root/.darling", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/root/.darling/.init.pid", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=5, ...}) = 0
read(3, "30715", 4096) = 5
read(3, "", 4096) = 0
close(3) = 0
kill(30715, SIG_0) = -1 ESRCH (No such process)
unlink("/root/.darling/.init.pid") = 0
unlink("/root/.darling/var/run/shellspawn.sock") = -1 ENOENT (No such file or directory)
stat("/root/.darling.workdir", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
pipe([3, 4]) = 0
unshare(CLONE_NEWUTS|CLONE_NEWIPC|CLONE_NEWPID) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fed364c4a10) = 31717
strace: Process 31717 attached
[pid 31716] close(4) = 0
[pid 31717] close(3 <unfinished ...>
[pid 31716] read(3, <unfinished ...>
[pid 31717] <... close resumed> ) = 0
[pid 31717] unshare(CLONE_NEWNS) = 0
[pid 31717] mount(NULL, "/", NULL, MS_REC|MS_SLAVE, NULL) = 0
[pid 31717] umount2("/dev/shm", 0) = 0
[pid 31717] mount("tmpfs", "/dev/shm", "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC, NULL) = 0
[pid 31717] mount("overlay", "/root/.darling", "overlay", 0, "lowerdir=/usr/local/libexec/darl"...) = -1 ENODEV (No such device)
[pid 31717] write(2, "Cannot mount overlay: No such de"..., 37Cannot mount overlay: No such device
) = 37
[pid 31717] exit_group(1) = ?
[pid 31716] <... read resumed> "", 1) = 0
[pid 31717] +++ exited with 1 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=31717, si_uid=0, si_status=1, si_utime=0, si_stime=0} ---
close(3) = 0
setresuid(-1, 0, -1) = 0
setresgid(-1, 0, -1) = 0
openat(AT_FDCWD, "/root/.darling/.init.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
setresuid(-1, 0, -1) = 0
setresgid(-1, 0, -1) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(3, "31717", 5) = 5
close(3) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
access("/root/.darling/var/run/shellspawn.sock", F_OK) = -1 ENOENT (No such file or directory)
nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffc98b53680) = 0
openat(AT_FDCWD, "/proc/31717/ns/mnt", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Cannot open mnt namespace file: "..., 58Cannot open mnt namespace file: No such file or directory
) = 58
exit_group(1) = ?
+++ exited with 1 +++
```