Incus, OCI and s6

Hi I was just playing around with the newly introduced OCI compatibility feature, pulled a couple of Linuxserver images only to realise they all pretty much fail across the board. The common ground for what appears to be most, if not all, linuxserver images is that they use s6 overlay and based on the logs things aren’t looking too happy. Errors ranging from pid1 to being unable to get file descriptors (get_state).

incus info --show-log

lxc 20240727101924.680 ERROR    af_unix - ../src/lxc/af_unix.c:lxc_abstract_unix_recv_fds_iov:218 - Connection reset by peer - Failed to receive response
lxc 20240727101924.680 ERROR    commands - ../src/lxc/commands.c:lxc_cmd_rsp_recv_fds:128 - Failed to receive file descriptors for command "get_state"

--console

Error: Failed running forkconsole: "container is not running: \"willing-deer\""
Error: stat /proc/-1: no such file or directory

Have your read this thread Incus unable to start/run (docker) container natively: ‘Error: stat /proc/-1: no such file or directory’?

The issue is known, there is a workaround and with the next stable release 6.4 it will be working out of the box. OCI support is still in early stages.

1 Like

nope, searched for s6 nothing came up so here we are.

thanks for the heads up, much appreciated!