Namespaces in operation, part 4: more on PID namespaces
Namespaces in operation, part 4: more on PID namespaces
Posted Feb 12, 2019 6:30 UTC (Tue) by ywchang (guest, #130070)Parent article: Namespaces in operation, part 4: more on PID namespaces
However, for the last part, I am thinking, it probably also should work if there is no `-f` option for the `ns_run` command.
If there is no `-f`, that means, the `ns_run` process itself will first update pid namespace, and then run the `./orphan` itself. Then the forked child will show up in the new pid namespace, while `ns_run` will die. The forked child process should also be reaped by the init process in the new pid namespace, right?
I tried and it didn't work as I described. Anyone shed some light please? Thanks in advance.
