[lxc-users] LXC autostart fails

Serge Hallyn serge.hallyn at ubuntu.com
Mon Nov 23 13:04:17 UTC 2015


Quoting Viktor Trojanovic (viktor at troja.ch):
> Hi list,
> 
> I just noticed that my (only) LX container is not starting up anymore,
> although autostart is set to yes and it starts just fine if done
> manually (using lxc-start -n container -d).
> 
> I checked the logs. There is nothing in the system journal itself, and
> just two error messages in the lxc-log but they seem to appear even
> when I manually start the container.
> 
>       lxc-start 1448201368.805 ERROR    lxc_utils -
> utils.c:setproctitle:1461 - Invalid argument - setting cmdline failed
>       lxc-start 1448201368.983 ERROR    lxc_utils -
> utils.c:open_without_symlink:1626 - No such file or directory - Error
> examining fuse in /usr/lib/lxc/rootfs/sys/fs/fuse/connections

Oh, interesting - does it help if you add fuse.service to the
Wants in /lib/systemd/system/lxc.service Wants ?

> (off-topic: why does the lxc log not show any times?)
> 
> I didn't reboot the server in a while so I don't exactly know since
> when the autostart is being ignored but I did update LXC since the
> last reboot to version 1.1.5. Could that be the culprit?
> 
> I'm on Arch Linux, 4.2.5, LXC 1.1.5
> 
> Viktor
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list