Hello,
run into some issue during network configuration to setup a second interface. I started using type macvlan which does work perfect but has the drawback that other container can’t reach it. So I tried alternatives like routed or ipvlan which both failed in a similar way:
routed device:
devices:
eth1:
ipv4.address: 111.222.333.444
name: eth1
nictype: routed
parent: eth0
type: nic
lxc s6demo 20240808082515.229 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc s6demo 20240808082515.229 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing
lxc s6demo 20240808082515.229 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc s6demo 20240808082515.229 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing
lxc s6demo 20240808082515.692 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
lxc s6demo 20240808082515.692 ERROR start - ../src/lxc/start.c:lxc_spawn:1917 - Failed to run lxc.hook.start-host
lxc s6demo 20240808082515.705 WARN network - ../src/lxc/network.c:lxc_delete_network_priv:3674 - Failed to rename interface with index 0 from "eth0" to its initial name "vethcd1c6e5e"
lxc s6demo 20240808082515.713 WARN network - ../src/lxc/network.c:lxc_delete_network_priv:3674 - Failed to rename interface with index 0 from "eth1" to its initial name "vethe1bfef2f"
lxc s6demo 20240808082515.713 ERROR lxccontainer - ../src/lxc/lxccontainer.c:wait_on_daemonized_start:837 - Received container state "ABORTING" instead of "RUNNING"
lxc s6demo 20240808082515.714 ERROR start - ../src/lxc/start.c:__lxc_start:2114 - Failed to spawn container "s6demo"
lxc s6demo 20240808082515.714 WARN start - ../src/lxc/start.c:lxc_abort:1037 - No such process - Failed to send SIGKILL via pidfd 17 for process 976083
lxc 20240808082515.972 ERROR af_unix - ../src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20240808082515.972 ERROR commands - ../src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_init_pid"
ipvlan device:
devices:
eth1:
ipv4.address: 111.222.333.444
name: eth1
nictype: ipvlan
parent: eth0
type: nic
lxc s6demo 20240808083435.130 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc s6demo 20240808083435.130 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing
lxc s6demo 20240808083435.131 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc s6demo 20240808083435.131 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing
lxc s6demo 20240808083435.511 ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 1
lxc s6demo 20240808083435.511 ERROR start - ../src/lxc/start.c:lxc_spawn:1917 - Failed to run lxc.hook.start-host
lxc s6demo 20240808083435.519 WARN network - ../src/lxc/network.c:lxc_delete_network_priv:3674 - Failed to rename interface with index 0 from "eth0" to its initial name "vethe472eb2b"
lxc s6demo 20240808083435.523 ERROR lxccontainer - ../src/lxc/lxccontainer.c:wait_on_daemonized_start:837 - Received container state "ABORTING" instead of "RUNNING"
lxc s6demo 20240808083435.524 ERROR start - ../src/lxc/start.c:__lxc_start:2114 - Failed to spawn container "s6demo"
lxc s6demo 20240808083435.524 WARN start - ../src/lxc/start.c:lxc_abort:1037 - No such process - Failed to send SIGKILL via pidfd 17 for process 983306
lxc 20240808083435.888 ERROR af_unix - ../src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20240808083435.888 ERROR commands - ../src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_init_pid"
Exact same device setup works with debian/12 or other distributions as a container. Bridged is obviously working
Anyone tested or has an idea how to fix?