Hello,
after running:
incus config set instances.lxcfs.per_instance=true
all containers fail to restart.
I tried to restart 2 containers, both of them give the same error.
Here is the restart output and the relevant log:
[root@HOST ~]# incus restart MYCONTAINER
Error: Failed to run: /usr/libexec/incus/incusd forkstart MYCONTAINER /var/lib/incus/containers /run/incus/MYCONTAINER/lxc.conf: exit status 1
Try `incus info --show-log MYCONTAINER` for more info
[root@HOST ~]# incus info --show-log MYCONTAINER
Name: MYCONTAINER
Status: STOPPED
Type: container
Architecture: x86_64
Created: 2024/05/16 13:38 EEST
Last Used: 2024/11/03 03:48 EET
Log:
lxc MYCONTAINER 20241103014831.669 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 32
lxc MYCONTAINER 20241103014831.669 ERROR conf - ../src/lxc/conf.c:lxc_setup_rootfs_prepare_root:3492 - Failed to run pre-mount hooks
lxc MYCONTAINER 20241103014831.669 ERROR conf - ../src/lxc/conf.c:lxc_setup:3871 - Failed to setup rootfs
lxc MYCONTAINER 20241103014831.669 ERROR start - ../src/lxc/start.c:do_start:1273 - Failed to setup container "MYCONTAINER"
lxc MYCONTAINER 20241103014831.669 ERROR sync - ../src/lxc/sync.c:sync_wait:34 - An error occurred in another process (expected sequence number 3)
lxc MYCONTAINER 20241103014831.673 WARN network - ../src/lxc/network.c:lxc_delete_network_priv:3674 - Failed to rename interface with index 0 from "eth0" to its initial name "veth718c9335"
lxc MYCONTAINER 20241103014831.677 WARN network - ../src/lxc/network.c:lxc_delete_network_priv:3674 - Failed to rename interface with index 0 from "eth1" to its initial name "veth4d688e5d"
lxc MYCONTAINER 20241103014831.677 ERROR lxccontainer - ../src/lxc/lxccontainer.c:wait_on_daemonized_start:837 - Received container state "ABORTING" instead of "RUNNING"
lxc MYCONTAINER 20241103014831.677 ERROR start - ../src/lxc/start.c:__lxc_start:2114 - Failed to spawn container "MYCONTAINER"
lxc MYCONTAINER 20241103014831.677 WARN start - ../src/lxc/start.c:lxc_abort:1037 - No such process - Failed to send SIGKILL via pidfd 17 for process 2603808
lxc 20241103014831.821 ERROR af_unix - ../src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20241103014831.821 ERROR commands - ../src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_init_pid"
By making lxcfs.per_instance=false
again (the default), the containers were started without an error.
This is incus 6.6 on Fedora 40 (package version “6.6-0.1.fc40”).
Thank you.
Any ideas?
Thank you.