CT don't start if attached device not there


I have a Zigbee device on the host located on /dev/ttyACM0, that I “attach” to a container, and it works fine on normal conditions. But if never the device is physically not there, the container cannot start any more. Am I missing some options to make the device optional?

An extract of “lxc config show CT” is:

    path: /dev/ttyACM0
    type: unix-char

That’s why there is a config key called required which you can set to false.

There is a required key that can be set to false to make this optional, see https://linuxcontainers.org/lxd/docs/master/instances#type-unix-char

@stgraber , @tomp Thank you to both of you (and my apologies, I didn’t see your answers before).

LXC is so complete, the more I use it, the more I like it !
Great thanks to LXC team and contributors…