Commit c93daaa9 authored by Helga Velroyen's avatar Helga Velroyen

Adjusting permissions after confd start

This is a workaround for issue 477. Confd resets the
permissions of the query socket in a wrong way. This
patch fixes them after the start of confd.
Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
parent 8526052d
......@@ -240,6 +240,12 @@ start() {
--user ${usergroup%:*} \
$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