The container doesn't start because there is an error in the logs Kernel does not support pidfds

Hello!

The lxc container stopped running. In logs:

lxc-start test-slave 20200821073534.203 ERROR utils - utils.c:lxc_can_use_pidfd:1834 - Kernel does not support pidfds
lxc-start test-slave 20200821073534.256 ERROR start - start.c:print_top_failing_dir:97 - Permission denied - Could not access /home/jenkins/.local. Please grant it x access, or add an ACL for the container root
lxc-start test-slave 20200821073534.256 ERROR sync - sync.c:__sync_wait:41 - An error occurred in another process (expected sequence number 3)
lxc-start test-slave 20200821073534.256 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:852 - Received container state “ABORTING” instead of “RUNNING”
lxc-start test-slave 20200821073534.257 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start test-slave 20200821073534.257 ERROR lxc_start - tools/lxc_start.c:main:311 - To get more details, run the container in foreground mode
lxc-start test-slave 20200821073534.257 ERROR start - start.c:__lxc_start:1952 - Failed to spawn container “test-slave”
lxc-start test-slave 20200821073534.257 ERROR lxc_start - tools/lxc_start.c:main:314 - Additional information can be obtained by setting the --logfile and --logpriority options

I’m not sure I understand why that would be a problem for you.

That’s not the issue, the next error is your issue.

Thanks. I found a further solution here https://www.kubos.cz/2018/07/20/ubuntu-unprivileged-lxc