From b611a3fb47e0e71a1309867bc4f261dee0f5401f Mon Sep 17 00:00:00 2001 From: Ryota Ozaki Date: Thu, 29 Jul 2010 23:21:17 +0900 Subject: [PATCH] lxc: Fix 'autostart' doesn't take effect actually lxcStartup forgot to call lxcAutostartConfigs. Fix it. This patch should fix https://bugzilla.redhat.com/show_bug.cgi?id=589863 . --- src/lxc/lxc_driver.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index 4fc1ecd17a..b286692894 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -1928,6 +1928,9 @@ static int lxcStartup(int privileged) virHashForEach(lxc_driver->domains.objs, lxcReconnectVM, lxc_driver); lxcDriverUnlock(lxc_driver); + + lxcAutostartConfigs(lxc_driver); + return 0; cleanup: