From a9d89f8ee0023bb0ed0bda366181fa6478c6215d Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 8 Sep 2007 18:29:51 +0000 Subject: [PATCH 1/1] Fix portmap running now as nobody (#2317) SVN-Revision: 8693 --- net/portmap/Makefile | 1 + net/portmap/files/portmap.init | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/portmap/Makefile b/net/portmap/Makefile index 0ba46c6a9f..9c8ddf0523 100644 --- a/net/portmap/Makefile +++ b/net/portmap/Makefile @@ -35,6 +35,7 @@ endef MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -DHOSTS_ACCESS -DFACILITY=LOG_DAEMON -DIGNORE_SIGCHLD" \ + RPCUSER="nobody" \ WRAP_LIB="-L$(STAGING_DIR)/usr/lib -lwrap" \ all diff --git a/net/portmap/files/portmap.init b/net/portmap/files/portmap.init index f42eabb366..3bbfb573f8 100644 --- a/net/portmap/files/portmap.init +++ b/net/portmap/files/portmap.init @@ -7,7 +7,7 @@ DEFAULT=/etc/default/$BIN start() { [ -f $DEFAULT ] && . $DEFAULT - $BIN -u 0 -g 0 $OPTIONS + $BIN $OPTIONS } stop() { -- 2.30.2