Can't start LXC after force stop


I’m having this

lxc t1 20240207151245.758 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc t1 20240207151245.759 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc t1 20240207151245.769 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3621 - newuidmap binary is missing
lxc t1 20240207151245.770 WARN     conf - ../src/src/lxc/conf.c:lxc_map_ids:3627 - newgidmap binary is missing
lxc t1 20240207151245.194 ERROR    start - ../src/src/lxc/start.c:start:2197 - No such file or directory - Failed to exec "/sbin/init"
lxc t1 20240207151245.194 ERROR    sync - ../src/src/lxc/sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 7)
lxc t1 20240207151245.201 WARN     network - ../src/src/lxc/network.c:lxc_delete_network_priv:3631 - Failed to rename interface with index 0 from "eth0" to its initial name "veth57ef955d"
lxc t1 20240207151245.201 ERROR    lxccontainer - ../src/src/lxc/lxccontainer.c:wait_on_daemonized_start:878 - Received container state "ABORTING" instead of "RUNNING"
lxc t1 20240207151245.201 ERROR    start - ../src/src/lxc/start.c:__lxc_start:2107 - Failed to spawn container "t1"
lxc t1 20240207151245.201 WARN     start - ../src/src/lxc/start.c:lxc_abort:1036 - No such process - Failed to send SIGKILL via pidfd 17 for process 3730019
lxc 20240207151245.275 ERROR    af_unix - ../src/src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20240207151245.275 ERROR    commands - ../src/src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_init_pid"

when I try lxc start t1 after lxc stop t1 --force

I’ve tried to stop and start lxd (snap installed) and to reboot machine, but nothing helps.

I think it should be some kind of “cache” of similar. How can I clean/reset this?

Can you please provide the result of:

lxc config show t1 --expanded

and then

lxc storage show <pool>

where <pool> is the pool you see used in the root: section of the instance please. Thanks.

Hello and thank you for your response.

Finally I imported an old backup of the container, and restored a good backup of my data. All is working now.