metad needs to bind port 80, so it should really startup as root. Note
that this should ideally be fixed, either by changing the port to an
unprivileged one, or by dropping root privileges after binding the port.
The latter solution is the preferred one, since using port 80 is
mandated in the design document.

Signed-off-by: Apollon Oikonomopoulos <[email protected]>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 4aa371d..27bc693 100644
--- a/configure.ac
+++ b/configure.ac
@@ -301,7 +301,7 @@ AC_ARG_WITH([user-prefix],
     [ to change the default)]
   )],
   [user_masterd="${withval}masterd";
-   user_metad="${withval}metad";
+   user_metad="$user_default";
    user_rapi="${withval}rapi";
    user_confd="${withval}confd";
    user_wconfd="${withval}masterd";
-- 
2.1.0

Reply via email to