I tried both head, and pull request #3, each fail in similar but (to me) cryptic ways. Any suggestions would be appreciated!
I'm running under Ubuntu 18.03 (under WSL2, if that's relevant).
Head:
$ docker run --rm -it xena/docker-uml
[WARN tini (8)] Tini is not running as PID 1 and isn't registered as a child subreaper.
Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
Core dump limits :
soft - 0
hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking environment variables for a tempdir.../chroot
Checking if /chroot is on tmpfs...no
Warning: tempdir /chroot is not on tmpfs
Checking PROT_EXEC mmap in /chroot...OK
Adding 1368064 bytes to physical memory to account for exec-shield gap
kmsg_dump:
<5>Linux version 4.19.57-cadey (root@550e990ec8f2) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #1 Sun Jul 7 19:25:25 UTC 2019
<0>Kernel panic - not syncing: out of memory
Pull Request 3:
$ docker run --rm -it docker-uml bash
Core dump limits :
soft - 0
hard - NONE
Checking that ptrace can change system call numbers...OK
Checking syscall emulation patch for ptrace...OK
Checking advanced syscall emulation patch for ptrace...OK
Checking environment variables for a tempdir.../chroot
Checking if /chroot is on tmpfs...no
Warning: tempdir /chroot is not on tmpfs
Checking PROT_EXEC mmap in /chroot...OK
Adding 21442560 bytes to physical memory to account for exec-shield gap
kmsg_dump:
<5>Linux version 5.10.47-cadey (root@806838b61f53) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 Fri Aug 6 20:20:18 UTC 2021
<6>Zone ranges:
<6> Normal [mem 0x0000000000000000-0x0000000069472fff]
<6>Movable zone start for each node
<6>Early memory node ranges
<6> node 0: [mem 0x0000000000000000-0x0000000009472fff]
<6>Initmem setup node 0 [mem 0x0000000000000000-0x0000000009472fff]
<7>On node 0 totalpages: 38003
<4>irq 0, desc: (____ptrval____), depth: 1, count: 0, unhandled: 0
<4>->handle_irq(): (____ptrval____), handle_bad_irq+0x0/0x40
<4>->irq_data.chip(): 0000000000000000, 0x0
<4>->action(): 0000000000000000
<4>
<6>Pid: 0, comm: swapper Not tainted 5.10.47-cadey
<6>RIP: 0033:[<000000006031bbdc>]
<6>RSP: 00000000603fae10 EFLAGS: 00010246
<6>RAX: 0000000000000000 RBX: 000000006047b540 RCX: 000000006031b3aa
<6>RDX: c0000000ffffefff RSI: 0000000000000000 RDI: 00000000603b3210
<6>RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
<6>R10: 0000000000000001 R11: 0000000000000001 R12: 000000006031b3aa
<6>R13: 00000000603fbae8 R14: 00000000603fae70 R15: 0000000000000000
<0>Kernel panic - not syncing: Segfault with no mm
<4>CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.47-cadey #1
<4>Stack:
<4> 6048dad8 0000000a 00000000 6006ca28
<4> 00000000 00000000 00000000 6001aaa4
<4> 7fbde8c16b00 0000001c 603fbbf0 6002d4a2
<4>Call Trace:
<4> [<6006ca28>] ? generic_handle_irq+0x38/0x50
<4> [<6001aaa4>] ? do_IRQ+0x34/0x50
<4> [<6002d4a2>] ? sig_handler_common+0x62/0xe0
<4> [<6002db70>] ? sig_handler+0x70/0x90
<4> [<6002d5b5>] ? hard_handler+0x95/0xe0
I tried both head, and pull request #3, each fail in similar but (to me) cryptic ways. Any suggestions would be appreciated!
I'm running under Ubuntu 18.03 (under WSL2, if that's relevant).
Head: $ docker run --rm -it xena/docker-uml [WARN tini (8)] Tini is not running as PID 1 and isn't registered as a child subreaper. Zombie processes will not be re-parented to Tini, so zombie reaping won't work. To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1. Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Checking environment variables for a tempdir.../chroot Checking if /chroot is on tmpfs...no Warning: tempdir /chroot is not on tmpfs Checking PROT_EXEC mmap in /chroot...OK Adding 1368064 bytes to physical memory to account for exec-shield gap kmsg_dump:
<5>Linux version 4.19.57-cadey (root@550e990ec8f2) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) #1 Sun Jul 7 19:25:25 UTC 2019 <0>Kernel panic - not syncing: out of memory Pull Request 3: $ docker run --rm -it docker-uml bash Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Checking environment variables for a tempdir.../chroot Checking if /chroot is on tmpfs...no Warning: tempdir /chroot is not on tmpfs Checking PROT_EXEC mmap in /chroot...OK Adding 21442560 bytes to physical memory to account for exec-shield gap kmsg_dump: <5>Linux version 5.10.47-cadey (root@806838b61f53) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1 Fri Aug 6 20:20:18 UTC 2021 <6>Zone ranges: <6> Normal [mem 0x0000000000000000-0x0000000069472fff] <6>Movable zone start for each node <6>Early memory node ranges <6> node 0: [mem 0x0000000000000000-0x0000000009472fff] <6>Initmem setup node 0 [mem 0x0000000000000000-0x0000000009472fff] <7>On node 0 totalpages: 38003 <4>irq 0, desc: (____ptrval____), depth: 1, count: 0, unhandled: 0 <4>->handle_irq(): (____ptrval____), handle_bad_irq+0x0/0x40 <4>->irq_data.chip(): 0000000000000000, 0x0 <4>->action(): 0000000000000000 <4> <6>Pid: 0, comm: swapper Not tainted 5.10.47-cadey <6>RIP: 0033:[<000000006031bbdc>] <6>RSP: 00000000603fae10 EFLAGS: 00010246 <6>RAX: 0000000000000000 RBX: 000000006047b540 RCX: 000000006031b3aa <6>RDX: c0000000ffffefff RSI: 0000000000000000 RDI: 00000000603b3210 <6>RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 <6>R10: 0000000000000001 R11: 0000000000000001 R12: 000000006031b3aa <6>R13: 00000000603fbae8 R14: 00000000603fae70 R15: 0000000000000000 <0>Kernel panic - not syncing: Segfault with no mm <4>CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.47-cadey #1 <4>Stack: <4> 6048dad8 0000000a 00000000 6006ca28 <4> 00000000 00000000 00000000 6001aaa4 <4> 7fbde8c16b00 0000001c 603fbbf0 6002d4a2 <4>Call Trace: <4> [<6006ca28>] ? generic_handle_irq+0x38/0x50 <4> [<6001aaa4>] ? do_IRQ+0x34/0x50 <4> [<6002d4a2>] ? sig_handler_common+0x62/0xe0 <4> [<6002db70>] ? sig_handler+0x70/0x90 <4> [<6002d5b5>] ? hard_handler+0x95/0xe0