I have been using LXD for a while now, and not had any major issues. Recently (a few months now), I have been having the below error
Error: Failed to retrieve PID of executing child process
but haven’t spent time collecting logs or debug until now (rebooting my host or lxc stop/start has normally resolved it for me). I have looked through the forums, and seems there are a few people who had similar issues, but doesn’t seem like any of the resolutions seem to help with mine.
lxc exec debug
ubuntu@pi01:~$ lxc exec ldap bash Error: Failed to retrieve PID of executing child process
Below are the versions of lxc/lxd for info
ubuntu@pi01:~$ lxc version Client version: 4.15 Server version: 4.15 ubuntu@pi01:~$ lxd version 4.15 ubuntu@pi01:~$ sudo snap list | grep lxd lxd 4.15 20811 latest/stable canonical* - ubuntu@pi01:~$ cat /etc/issue Ubuntu 21.04 \n \l ubuntu@pi01:~$ uname -a Linux pi01 5.11.0-1009-raspi #10-Ubuntu SMP PREEMPT Fri May 14 14:49:24 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
Any thoughts on this would be appreciated?