Error: Failed to retrieve PID of executing child process

I am seeing this error quite frequently these days when doing ‘lxc exec container bash’. After a reboot this error goes away and the container shell is accessible.

I suspect this started with 4.12. Is there any fix for this?


Which distro and kernel are you on?

I think that this:

fixes it.

1 Like

I am using Archlinux using Kernel 5.10.22-2-lts and systemd 247.3-1

The patch above should fix this!