Fix bug on LXC container start. Fixes #5718 Upstream-commit: 243eaac8b62e4f4ea277b91658b8783496789469 Component: engine