So i updated incus to version 0.5.1 from 0.4.x and now I can’t start any new container. They can be created but starting throws an error saying
Error: Failed to run: /opt/incus/bin/incusd forkstart test-container /var/lib/incus/containers /run/incus/test-container/lxc.conf: exit status 1
Try `incus info --show-log test-container` for more info
Incus info says:
lxc test-container 20240201201059.510 ERROR conf - ../src/lxc/conf.c:lxc_map_ids:3701 - newuidmap failed to write mapping "newuidmap: write to uid_map failed: Invalid argument": newuidmap 342550 0 165536 10000001 0 10165537 1000000000
lxc test-container 20240201201059.510 ERROR start - ../src/lxc/start.c:lxc_spawn:1788 - Failed to set up id mapping.
lxc test-container 20240201201059.510 ERROR lxccontainer - ../src/lxc/lxccontainer.c:wait_on_daemonized_start:878 - Received container state "ABORTING" instead of "RUNNING"
lxc test-container 20240201201059.511 ERROR start - ../src/lxc/start.c:__lxc_start:2107 - Failed to spawn container "test-container"
lxc test-container 20240201201059.511 WARN start - ../src/lxc/start.c:lxc_abort:1036 - Нет такого процесса - Failed to send SIGKILL via pidfd 17 for process 342550
lxc 20240201201059.573 ERROR af_unix - ../src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Соединение разорвано другой стороной - Failed to receive response
lxc 20240201201059.573 ERROR commands - ../src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_init_pid"
My distro is Debian 12, container distro is also Debian 12.