From 355ee3b8981ed4990fd069b097dd8ae0f7373920 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 20 Mar 2015 15:26:58 +0100 Subject: nsenter: add -Z to set selinux context The new context is copied from --target . This solution allows to keep SELinux happy when you enter container by nsenter(1). Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1116100 Signed-off-by: Karel Zak --- sys-utils/Makemodule.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-utils/Makemodule.am') diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am index c1d587af1..d538cdad7 100644 --- a/sys-utils/Makemodule.am +++ b/sys-utils/Makemodule.am @@ -358,7 +358,7 @@ if BUILD_NSENTER usrbin_exec_PROGRAMS += nsenter dist_man_MANS += sys-utils/nsenter.1 nsenter_SOURCES = sys-utils/nsenter.c -nsenter_LDADD = $(LDADD) libcommon.la +nsenter_LDADD = $(LDADD) libcommon.la $(SELINUX_LIBS) if HAVE_STATIC_NSENTER usrbin_exec_PROGRAMS += nsenter.static -- cgit v1.2.3-55-g7522