[lxc-devel] lxc-autostart shutdown always all containers
Gianluigi Tiesi
sherpya at netfarm.it
Fri Mar 7 00:04:21 UTC 2014
Hi,
I think lxc-autostart should consider all running containers for
shutdown (maybe even for reboot?), not only the ones with lxc.start.auto = 1
otherwise manually started containers will be killed without proper shutdown
something like:
if (!my_args.shutdown && get_config_integer(c,
"lxc.start.auto") != 1) {
lxc_container_put(c);
continue;
}
instead of:
if (get_config_integer(c, "lxc.start.auto") != 1) {
lxc_container_put(c);
continue;
}
Regards
--
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
Q: Because it reverses the logical flow of conversation.
A: Why is putting a reply at the top of the message frowned upon?
More information about the lxc-devel
mailing list