Um, we can do that. But I think there's a problem with containers and compatibility in forwarding messages over the socket (think new container, old host).
I wonder if /proc/sys/kernel/core_pattern is per-namespace too. If it is, that would be great. If not, a new host with old containers would break too: The containers would not understand the arguments. Specifically, containers need to get the host_pid in sys.argv[5], they do not care about the other arguments, so these could be -- options like that:
Um, we can do that. But I think there's a problem with containers and compatibility in forwarding messages over the socket (think new container, old host).
I wonder if /proc/sys/ kernel/ core_pattern is per-namespace too. If it is, that would be great. If not, a new host with old containers would break too: The containers would not understand the arguments. Specifically, containers need to get the host_pid in sys.argv[5], they do not care about the other arguments, so these could be -- options like that:
--pid=%p --signal=%s --core-size=%c --dump-mode=%d %P
but we could not add more options then either, because the forwarding only works with 6 arguments.