Starting confd as a member of the daemons group allows the RAPI daemon to access
the LUXI socket.
Fixes Issue 477.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
echo "@GNTMASTERUSER@:@GNTMASTERDGROUP@"
;;
confd)
- echo "@GNTCONFDUSER@:@GNTCONFDGROUP@"
+ echo "@GNTCONFDUSER@:@GNTDAEMONSGROUP@"
;;
rapi)
echo "@GNTRAPIUSER@:@GNTRAPIGROUP@"
$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