Merge pull request #5420 from OpenDZ/tixxdz/namespace-fixes-v2
Namespace: RootImage= RootDirectory= and MountAPIVFS fixes
This commit is contained in:
+1
-1
@@ -1670,7 +1670,7 @@ static bool exec_needs_mount_namespace(
|
||||
context->protect_control_groups)
|
||||
return true;
|
||||
|
||||
if (context->mount_apivfs)
|
||||
if (context->mount_apivfs && (context->root_image || context->root_directory))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user