From: Dominick Grift Date: Fri, 12 Apr 2019 18:15:35 +0000 (+0200) Subject: nspawn: Fix volatile SELinux label X-Git-Tag: v243-rc1~554 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f1ed04ad6646aeb1f2f28d485b17110c084de5b;p=thirdparty%2Fsystemd.git nspawn: Fix volatile SELinux label nspawn should associate the specified nspawn container apifs object label instead of the nspawn container process label with the volatile tmpfs --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index e05fa3dbf2e..0f64aa68f32 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -3262,7 +3262,7 @@ static int outer_child( arg_userns_mode != USER_NAMESPACE_NO, arg_uid_shift, arg_uid_range, - arg_selinux_context); + arg_selinux_apifs_context); if (r < 0) return r;