From 437d710546e20c9ccabc7866dd9f57de3c0f2b9d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Mar 2015 10:13:08 +0000 Subject: lldpd: add option to disable privilege separation Helpful to disable when debugging lldpd crashes (when working on it). When privilege separation is on, some crashes are stack-traced to some privilege separation code. Signed-off-by: Alexandru Ardelean SVN-Revision: 44967 --- package/network/services/lldpd/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/network/services/lldpd/Makefile') diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index ff367f1..d80840e 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -85,9 +85,11 @@ define Package/lldpd/conffiles endef CONFIGURE_ARGS += \ + $(if $(CONFIG_LLDPD_WITH_PRIVSEP), \ --with-privsep-user=lldp \ --with-privsep-group=lldp \ --with-privsep-chroot=/var/run/lldp \ + ,--disable-privsep) \ --with-readline=no \ --with-embedded-libevent=no \ $(if $(CONFIG_LLDPD_WITH_CDP),,--disable-cdp) \ -- cgit v1.1