diff --git a/Makefile.am b/Makefile.am index d50d472bd03959179d1c2ab5e7f6eb250d036230..b0990f83c817ac720e3bd7c1ac89dfc8ed59a1d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -714,6 +714,7 @@ lib/_autoconf.py: Makefile vcs-version | lib/.dir echo "CONFD_USER = '$(CONFD_USER)'"; \ echo "CONFD_GROUP = '$(CONFD_GROUP)'"; \ echo "NODED_USER = '$(NODED_USER)'"; \ + echo "NODED_GROUP = '$(NODED_GROUP)'"; \ echo "VCS_VERSION = '$$VCSVER'"; \ echo "DISK_SEPARATOR = '$(DISK_SEPARATOR)'"; \ } > $@ diff --git a/configure.ac b/configure.ac index 41d2d8f2ffb8e5e16cc7b569efed50398c85c2da..856772951ef0de9c32e73595c1ddbb54192ab0fe 100644 --- a/configure.ac +++ b/configure.ac @@ -164,16 +164,19 @@ AC_ARG_WITH([group-prefix], group_admin="${withval}admin"; group_confd="${withval}confd"; group_masterd="${withval}masterd"; + group_noded="root"; group_daemons="${withval}daemons";], [group_rapi="root"; group_admin="root"; group_confd="root"; group_masterd="root"; + group_noded="root"; group_daemons="root"]) AC_SUBST(RAPI_GROUP, $group_rapi) AC_SUBST(ADMIN_GROUP, $group_admin) AC_SUBST(CONFD_GROUP, $group_confd) AC_SUBST(MASTERD_GROUP, $group_masterd) +AC_SUBST(NODED_GROUP, $group_noded) AC_SUBST(DAEMONS_GROUP, $group_daemons) # Print the config to the user diff --git a/lib/constants.py b/lib/constants.py index d26507345b0660c5f35e2d71a055ec97cf734c87..1de0ed5986ddaf6e664fd9553f778571356779a5 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -96,6 +96,7 @@ RAPI_GROUP = _autoconf.RAPI_GROUP CONFD_USER = _autoconf.CONFD_USER CONFD_GROUP = _autoconf.CONFD_GROUP NODED_USER = _autoconf.NODED_USER +NODED_GROUP = _autoconf.NODED_GROUP # Wipe