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() {
echo "@GNTMASTERUSER@:@GNTMASTERDGROUP@"
;;
confd)
echo "@GNTCONFDUSER@:@GNTCONFDGROUP@"
echo "@GNTCONFDUSER@:@GNTDAEMONSGROUP@"
;;
rapi)
echo "@GNTRAPIUSER@:@GNTRAPIGROUP@"
......@@ -253,11 +253,6 @@ start() {
$daemonexec $args "$@"
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
......
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