Commit 91525dee authored by Michele Tartara's avatar Michele Tartara

Set the correct group for confd

Starting confd as a member of the daemons group allows the RAPI daemon to access
the LUXI socket.

Fixes Issue 477.
Signed-off-by: default avatarMichele Tartara <mtartara@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent c393abbf
...@@ -80,7 +80,7 @@ _daemon_usergroup() { ...@@ -80,7 +80,7 @@ _daemon_usergroup() {
echo "@GNTMASTERUSER@:@GNTMASTERDGROUP@" echo "@GNTMASTERUSER@:@GNTMASTERDGROUP@"
;; ;;
confd) confd)
echo "@GNTCONFDUSER@:@GNTCONFDGROUP@" echo "@GNTCONFDUSER@:@GNTDAEMONSGROUP@"
;; ;;
rapi) rapi)
echo "@GNTRAPIUSER@:@GNTRAPIGROUP@" echo "@GNTRAPIUSER@:@GNTRAPIGROUP@"
...@@ -253,11 +253,6 @@ start() { ...@@ -253,11 +253,6 @@ start() {
$daemonexec $args "$@" $daemonexec $args "$@"
fi fi
# FIXME: This is a workaround for issue 477. Remove this once confd does not
# mess up the permissions anymore.
if [[ "$name" == ganeti-confd ]]; then
@PKGLIBDIR@/ensure-dirs;
fi
} }
# Stops a daemon # Stops a daemon
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment