[lxc-devel] [PATCH RFC] install lxc-user-nic with setuid bit set
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Nov 6 15:31:35 UTC 2013
It's worthless without it. However it's a scary thing to do. Before
acking this, reviewers may want to take another close look at
lxc-user-nic itself :)
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
src/lxc/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index 8baf169..d210472 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -237,6 +237,7 @@ install-exec-local: install-soPROGRAMS
cd $(DESTDIR)$(libdir); \
ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
+ chmod u+s $(DESTDIR)$(bindir)/lxc-user-nic
uninstall-local:
$(RM) $(DESTDIR)$(libdir)/liblxc.so*
--
1.8.1.2
More information about the lxc-devel
mailing list