openwrt-packages/utils/lxc/files
Rafał Miłecki 90fef036fe lxc: set RUNTIME_PATH define to the /var/run path
The default runtime directory used by LXC is /run which doesn't exist
in OpenWrt. It causes errors like:

Failed to create lock for foo
lxc-create: foo: tools/lxc_create.c: main: 260 Failed to create lxc container

There has been workaround for that in the lxc-auto.init but it requires
installing "lxc-auto" package. Replacing that "ln -s" workaround with
Makefile specifying RUNTIME_PATH define allows using pure "lxc" in
OpenWrt (without the "lxc-auto").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-05-11 18:23:23 +03:00
..
lxc-auto.config utils/lxc: Add working autostart for OpenWrt 2016-03-12 19:01:59 -05:00
lxc-auto.init lxc: set RUNTIME_PATH define to the /var/run path 2023-05-11 18:23:23 +03:00
lxc-unprivileged.defaults lxc: add lxc-unprivileged helper package for unprivileged containers 2017-12-12 13:02:15 +01:00
lxc.conf lxc: Use more FSH compliant /srv/lxc instead of new root dir 2016-05-30 09:04:26 +02:00