From 7b744befac2049eb6372a7f0c5420c740aa0a4ea Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 10 Aug 2014 17:15:05 -0500 Subject: [PATCH] bootmisc: do not run the clean_run function in an LXC container --- init.d/bootmisc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 3e56ebcb..2ec075f3 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -117,7 +117,7 @@ migrate_to_run() clean_run() { - [ "$RC_SYS" = VSERVER ] && return 0 + [ "$RC_SYS" = VSERVER -o "$RC_SYS" = LXC ] && return 0 local dir dir=$(mktemp -d) mount --bind / $dir