LXC do not work after installation until reboot is performed
The lxc-start
service has reboot job that has to be performed to allow LXC to work. The clean install of LXC does not trigger that and reboot has to be performed or /etc/init.d/lxc-start boot
. We should use condition [ "$PKG_UPGRADE" = 0 ]
to trigger /etc/init.d/lxc-start boot
in postinst script.