Commit c93daaa9 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

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() { ...@@ -240,6 +240,12 @@ start() {
--user ${usergroup%:*} \ --user ${usergroup%:*} \
$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